	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_switch_statement
_compile_switch_statement:              ## @compile_switch_statement
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, -76(%rbp)
	movl	%r14d, -72(%rbp)
	movl	$0, -68(%rbp)
	movq	8(%rsi), %rsi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_compile_expression
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_43
## %bb.1:
	movq	%rbx, %rdi
	callq	_alloc_label
	movl	%eax, -80(%rbp)
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movq	(%r12), %rax
	xorl	%edx, %edx
	testq	%rax, %rax
	je	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, 16(%rax)
	movq	8(%rax), %rcx
	sbbl	$-1, %edx
	movq	%rcx, %rax
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_4:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	leal	(,%rdx,4), %edi
	callq	_heap_alloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %r13
	testq	%r13, %r13
	je	LBB0_18
## %bb.6:
	xorl	%ebx, %ebx
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movl	%edx, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_18
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rsi
	movl	(%rax), %edx
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_compile_expression
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_OP_case@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_push_instr
	movl	%ebx, %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_13:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %r15d
	jmp	LBB0_43
LBB0_16:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_17:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_18:
	movl	%r15d, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:
	movq	_OP_pop@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_push_instr_uint
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	_OP_jmp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_push_instr
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_23
## %bb.21:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_23
LBB0_22:
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
LBB0_23:
	movl	%r15d, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_free
	jmp	LBB0_43
LBB0_25:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	%r15d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_42
LBB0_27:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_42
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	leaq	8(%rbx), %r12
	movq	8(%rbx), %rax
	testq	%rax, %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_33
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_36
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	%r14d, %eax
	incl	%r14d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_33 Depth=2
	movl	%r14d, %eax
	incl	%r14d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
LBB0_32:                                ##   in Loop: Header=BB0_33 Depth=2
	movl	(%r13), %edx
	movq	%r13, %rdi
	callq	_set_arg_uint
	movq	(%r12), %rbx
	leaq	8(%rbx), %r12
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_29
LBB0_33:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_29
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=2
	cmpq	$0, 16(%rbx)
	jne	LBB0_31
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=2
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	-48(%rbp), %esi                 ## 4-byte Reload
LBB0_37:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	(%r13), %edx
	movq	%r13, %rdi
	callq	_set_arg_uint
	movq	(%rbx), %r13
	testq	%r13, %r13
	leaq	-80(%rbp), %rbx
	je	LBB0_26
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	cmpq	%r13, (%rax)
	je	LBB0_26
LBB0_40:                                ##   in Loop: Header=BB0_38 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_compile_statement
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_26
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=2
	movq	(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_38
	jmp	LBB0_26
LBB0_42:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_free
	movl	%r15d, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_44
LBB0_43:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	xorl	%edi, %edi
	cmpl	-88(%rbp), %r14d                ## 4-byte Folded Reload
	sete	%dil
	callq	_assert
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_46
LBB0_45:
	movl	-80(%rbp), %esi
	movq	%rbx, %rdi
	callq	_label_set_addr
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_46:
	movq	_OP_jmp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-80(%rbp), %edx
	movq	%rbx, %rdi
	callq	_push_instr_uint
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_43
## %bb.47:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_set_arg_uint
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_OP_case,4,2                    ## @OP_case
	.comm	_OP_pop,4,2                     ## @OP_pop
	.comm	_OP_jmp,4,2                     ## @OP_jmp
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_compile_switch_statement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_switch_statement
_compile_switch_statement:              ; @compile_switch_statement
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	stp	w25, w25, [sp, #4]
	str	wzr, [sp, #12]
	ldr	x1, [x1, #8]
Lloh3:
	adrp	x23, _TRUE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_compile_expression
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_41
; %bb.1:
	mov	x0, x19
	bl	_alloc_label
	str	w0, [sp]
	cbz	w0, LBB0_14
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w26, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x8, #8]
	cmp	x9, #0
	cinc	w26, w26, ne
	cbnz	x8, LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w26, #0
LBB0_6:
	lsl	w0, w26, #2
	bl	_heap_alloc
	cbz	x0, LBB0_14
; %bb.7:
	mov	x22, x0
	ldr	x24, [x21]
	cbz	x24, LBB0_17
; %bb.8:
	mov	w27, #0
Lloh5:
	adrp	x28, _OP_case@GOTPAGE
Lloh6:
	ldr	x28, [x28, _OP_case@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x25, x2
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_17
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x24, #16]
	ldr	w2, [x23]
	cbz	x1, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_compile_expression
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x28]
	mov	x0, x19
	bl	_push_instr
	str	w0, [x22, w27, uxtw #2]
	cbz	w0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w27, w27, #1
	ldr	x24, [x24, #8]
	cbnz	x24, LBB0_10
	b	LBB0_17
LBB0_14:
Lloh7:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_15:
	ldr	w20, [x8]
	b	LBB0_41
LBB0_16:
Lloh9:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_17:
	mov	x0, x20
	bl	_SUCCEEDED
	cbz	x0, LBB0_20
; %bb.18:
Lloh12:
	adrp	x8, _OP_pop@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OP_pop@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_push_instr_uint
	mov	x20, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_20
; %bb.19:
Lloh15:
	adrp	x8, _OP_jmp@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OP_jmp@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_push_instr
	mov	x23, x0
Lloh18:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w20, w8, w20, eq
	b	LBB0_21
LBB0_20:
                                        ; implicit-def: $w23
LBB0_21:
	mov	x0, x20
	bl	_FAILED
	cbz	x0, LBB0_23
; %bb.22:
	mov	x0, x22
	bl	_heap_free
	b	LBB0_41
LBB0_23:
	mov	w27, #0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x20
	bl	_FAILED
	cbnz	x0, LBB0_40
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
	ldr	x24, [x21]
	cbnz	x24, LBB0_28
	b	LBB0_40
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=2
	ldr	w1, [x22, w27, uxtw #2]
	add	w27, w27, #1
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=2
	ldr	w2, [x19]
	mov	x0, x19
	bl	_set_arg_uint
	ldr	x24, [x21]
LBB0_28:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x21, x24
	ldr	x8, [x21, #8]!
	cbz	x8, LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=2
	ldr	x8, [x24, #16]
	cbnz	x8, LBB0_26
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=2
	mov	x1, x23
	b	LBB0_27
LBB0_32:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w1, [x22, w27, uxtw #2]
	add	w27, w27, #1
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x1, x23
LBB0_35:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w2, [x19]
	mov	x0, x19
	bl	_set_arg_uint
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=2
	mov	x1, sp
	mov	x0, x19
	mov	x2, x24
	bl	_compile_statement
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_24
LBB0_37:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [x24]
	cbz	x24, LBB0_24
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	x8, [x21]
	cbz	x8, LBB0_36
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_36
	b	LBB0_24
LBB0_40:
	mov	x0, x22
	bl	_heap_free
	mov	x0, x20
	bl	_FAILED
	cbz	x0, LBB0_42
LBB0_41:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_42:
	cmp	w27, w26
	cset	w0, eq
	bl	_assert
	cbz	w25, LBB0_44
LBB0_43:
	ldr	w1, [sp]
	mov	x0, x19
	bl	_label_set_addr
Lloh21:
	adrp	x8, _S_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_15
LBB0_44:
Lloh23:
	adrp	x8, _OP_jmp@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OP_jmp@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [sp]
	mov	x0, x19
	bl	_push_instr_uint
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_41
; %bb.45:
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x23
	bl	_set_arg_uint
	b	LBB0_43
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_OP_case,4,2                    ; @OP_case
	.comm	_OP_pop,4,2                     ; @OP_pop
	.comm	_OP_jmp,4,2                     ; @OP_jmp
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_compile_switch_statement
.subsections_via_symbols
