# ARM Processor iOS (iPhone): Switch statements

Assembler code

```
__text:00003B48                 STR     R3, [R4,#0xE8]
__text:00003B4C                 LDR     R3, [R4,#0x38]
__text:00003B50                 CMP     R3, #0x27       ; switch 40 cases
__text:00003B54                 LDRLS   PC, [PC,R3,LSL#2] ; switch jump
__text:00003B58                 B       def_3B54        ; jumptable 00003B54 default case, cases 2-6,8,11,12,15,16,20-22,27,32-38
__text:00003B58 ; ---------------------------------------------------------------------------
__text:00003B5C jpt_3B54        DCD loc_3C0C            ; jump table for switch statement
__text:00003B5C                 DCD loc_3C0C
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD loc_3C1C
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD loc_3C1C
__text:00003B5C                 DCD loc_3BFC
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD loc_3C24
__text:00003B5C                 DCD loc_3C2C
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD loc_3C14
__text:00003B5C                 DCD loc_3C2C
__text:00003B5C                 DCD loc_3C34
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD loc_3C14
__text:00003B5C                 DCD loc_3C2C
__text:00003B5C                 DCD loc_3C2C
__text:00003B5C                 DCD loc_3C2C
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD loc_3C3C
__text:00003B5C                 DCD loc_3C34
__text:00003B5C                 DCD loc_3C34
__text:00003B5C                 DCD loc_3C34
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD def_3B54
__text:00003B5C                 DCD loc_3BFC
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hex-rays.com/9.0/user-guide/disassembler/disassembly-gallery/arm-processor-ios-iphone-switch-statements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
