	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_switch_stmt
_read_switch_stmt:                      ## @read_switch_stmt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$40, %edi
	callq	_expect
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_read_expr
	movl	%eax, %edi
	callq	_conv
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_ensure_inttype
	movl	$41, %edi
	callq	_expect
	xorl	%eax, %eax
	callq	_make_label
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_SET_SWITCH_CONTEXT
	xorl	%eax, %eax
	callq	_read_stmt
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_make_vector
	movq	%rax, %r15
	movl	(%r12), %r13d
	xorl	%eax, %eax
	callq	_make_tempname
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ast_lvar
	movq	%rax, %r13
	movl	(%r12), %edi
	movl	$61, %esi
	movq	%rax, %rdx
	movq	%r12, %rcx
	callq	_ast_binop
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_vec_push
	movq	_cases@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_vec_len
	testl	%eax, %eax
	jle	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_vec_get
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_make_switch_jump
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_vec_push
	incl	%ebx
	movl	(%r12), %edi
	callq	_vec_len
	cmpl	%eax, %ebx
	jl	LBB0_4
LBB0_1:
	movq	_defaultcase@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	cmoveq	%r14, %rdi
	callq	_ast_jump
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_vec_push
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_vec_push
LBB0_3:
	movq	%r14, %rdi
	callq	_ast_dest
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_vec_push
	xorl	%eax, %eax
	callq	_RESTORE_SWITCH_CONTEXT
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ast_compound_stmt              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cases,4,2                      ## @cases
	.comm	_defaultcase,8,3                ## @defaultcase
	.no_dead_strip	_read_switch_stmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_switch_stmt
_read_switch_stmt:                      ; @read_switch_stmt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	w0, #40
	bl	_expect
	bl	_read_expr
	bl	_conv
	mov	x23, x0
	bl	_ensure_inttype
	mov	w0, #41
	bl	_expect
	bl	_make_label
	mov	x19, x0
	bl	_SET_SWITCH_CONTEXT
	bl	_read_stmt
	mov	x21, x0
	bl	_make_vector
	mov	x20, x0
	ldr	w22, [x23]
	bl	_make_tempname
	mov	x1, x0
	mov	x0, x22
	bl	_ast_lvar
	mov	x22, x0
	ldr	w0, [x23]
	mov	w1, #61
	mov	x2, x22
	mov	x3, x23
	bl	_ast_binop
	mov	x1, x0
	mov	x0, x20
	bl	_vec_push
Lloh0:
	adrp	x24, _cases@GOTPAGE
Lloh1:
	ldr	x24, [x24, _cases@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_vec_len
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	mov	x1, x23
	bl	_vec_get
	mov	x1, x0
	mov	x0, x22
	bl	_make_switch_jump
	mov	x1, x0
	mov	x0, x20
	bl	_vec_push
	add	w23, w23, #1
	ldr	w0, [x24]
	bl	_vec_len
	cmp	w23, w0
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _defaultcase@GOTPAGE
Lloh3:
	ldr	x8, [x8, _defaultcase@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x0, x19, x8, eq
	bl	_ast_jump
	mov	x1, x0
	mov	x0, x20
	bl	_vec_push
	cbz	x21, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_vec_push
LBB0_5:
	mov	x0, x19
	bl	_ast_dest
	mov	x1, x0
	mov	x0, x20
	bl	_vec_push
	bl	_RESTORE_SWITCH_CONTEXT
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ast_compound_stmt
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cases,4,2                      ; @cases
	.comm	_defaultcase,8,3                ; @defaultcase
	.no_dead_strip	_read_switch_stmt
.subsections_via_symbols
