	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function swstmt
LCPI0_0:
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_swstmt:                                ## @swstmt
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_gettok
	movq	_t@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$40, %edi
	callq	_expect
	xorl	%edi, %edi
	callq	_definept
	movl	$41, %edi
	callq	_expr
	movq	%rax, %rbx
	movq	(%rax), %rdi
	callq	_isint
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_error
	movq	_inttype@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_retype
	movq	%rax, %rbx
LBB0_2:
	movq	(%rbx), %rdi
	callq	_promote
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cast
	movq	%rax, %r13
	movl	16(%rax), %edi
	callq	_generic
	movq	_INDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	callq	_isaddrop
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpq	(%r13), %rdi
	jne	LBB0_7
## %bb.5:
	callq	_isvolatile
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rsi
	movq	_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_genident
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	callq	_addlocal
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_asgn
	movq	%rax, %rdi
LBB0_8:
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_walk
	movq	_Switch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_code
	movq	%rax, %r13
	movl	%r12d, -104(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -96(%rbp)
	movq	_SWSIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%edi, -64(%rbp)
	movq	_FUNC@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$1, %esi
	callq	_newarray
	movq	%rax, -72(%rbp)
	movl	(%rbx), %edi
	movl	(%r14), %edx
	movl	$1, %esi
	callq	_newarray
	movq	%rax, -80(%rbp)
	movq	_refinc@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	divsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, (%rax)
	leaq	-104(%rbp), %rsi
	movl	%r15d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_statement
	cmpq	$0, -88(%rbp)
	jne	LBB0_11
## %bb.9:
	movl	%r12d, %edi
	callq	_findlabel
	movq	%rax, -88(%rbp)
	movl	%r12d, %edi
	callq	_definelab
	cmpq	$0, -96(%rbp)
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	callq	_warning
LBB0_11:
	leal	1(%r12), %ebx
	movl	%ebx, %edi
	callq	_findlabel
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movl	%ebx, %edi
	callq	_definelab
LBB0_13:
	movq	_codelist@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r14
	movq	8(%r13), %rax
	movq	%rax, (%rbx)
	movq	$0, 8(%r13)
	movq	$0, (%rax)
	cmpq	$0, -96(%rbp)
	jle	LBB0_15
## %bb.14:
	leaq	-104(%rbp), %rdi
	callq	_swgen
LBB0_15:
	movl	%r12d, %edi
	callq	_branch
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rax
	movq	%rcx, (%rax)
	movq	%r14, (%rbx)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	xorl	%edi, %edi
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_t,4,2                          ## @t
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"illegal type `%t' in switch expression\n"

	.comm	_inttype,4,2                    ## @inttype
	.comm	_INDIR,8,3                      ## @INDIR
	.comm	_REGISTER,4,2                   ## @REGISTER
	.comm	_level,4,2                      ## @level
	.comm	_Switch,4,2                     ## @Switch
	.comm	_SWSIZE,4,2                     ## @SWSIZE
	.comm	_FUNC,4,2                       ## @FUNC
	.comm	_refinc,8,3                     ## @refinc
L_.str.1:                               ## @.str.1
	.asciz	"switch statement with no cases\n"

	.comm	_codelist,8,3                   ## @codelist
	.no_dead_strip	_swstmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swstmt
_swstmt:                                ; @swstmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_gettok
Lloh0:
	adrp	x8, _t@GOTPAGE
Lloh1:
	ldr	x8, [x8, _t@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	mov	w0, #40
	bl	_expect
	mov	x0, #0
	bl	_definept
	mov	w0, #41
	bl	_expr
	mov	x22, x0
	ldr	x0, [x0]
	bl	_isint
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x1, [x22]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
Lloh5:
	adrp	x8, _inttype@GOTPAGE
Lloh6:
	ldr	x8, [x8, _inttype@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_retype
	mov	x22, x0
LBB0_2:
	ldr	x0, [x22]
	bl	_promote
	mov	x1, x0
	mov	x0, x22
	bl	_cast
	mov	x22, x0
	ldr	w0, [x0, #16]
	bl	_generic
Lloh8:
	adrp	x8, _INDIR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INDIR@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
	bl	_isaddrop
	cbz	x0, LBB0_6
; %bb.4:
	ldp	x9, x8, [x22]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cmp	x0, x9
	b.ne	LBB0_6
; %bb.5:
	bl	_isvolatile
	cbz	w0, LBB0_15
LBB0_6:
Lloh11:
	adrp	x8, _REGISTER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REGISTER@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x1, [x22]
Lloh14:
	adrp	x8, _level@GOTPAGE
Lloh15:
	ldr	x8, [x8, _level@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_genident
	mov	x23, x0
	str	x0, [sp, #56]
	bl	_addlocal
	mov	x0, x23
	mov	x1, x22
	bl	_asgn
LBB0_7:
	mov	w1, #0
	mov	w2, #0
	bl	_walk
Lloh17:
	adrp	x8, _Switch@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Switch@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_code
	mov	x22, x0
	str	w19, [sp, #8]
Lloh20:
	adrp	x23, _SWSIZE@GOTPAGE
Lloh21:
	ldr	x23, [x23, _SWSIZE@GOTPAGEOFF]
	stp	xzr, xzr, [sp, #16]
	ldr	w0, [x23]
	str	w0, [sp, #48]
Lloh22:
	adrp	x24, _FUNC@GOTPAGE
Lloh23:
	ldr	x24, [x24, _FUNC@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w1, #1
	bl	_newarray
	str	x0, [sp, #40]
	ldr	w0, [x23]
	ldr	w2, [x24]
	mov	w1, #1
	bl	_newarray
	str	x0, [sp, #32]
Lloh24:
	adrp	x8, _refinc@GOTPAGE
Lloh25:
	ldr	x8, [x8, _refinc@GOTPAGEOFF]
	ldr	d0, [x8]
	fmov	d1, #10.00000000
	fdiv	d0, d0, d1
	str	d0, [x8]
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	bl	_statement
	ldr	x8, [sp, #24]
	cbnz	x8, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_findlabel
	str	x0, [sp, #24]
	mov	x0, x19
	bl	_definelab
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_10
; %bb.9:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
LBB0_10:
	add	w20, w19, #1
	mov	x0, x20
	bl	_findlabel
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_definelab
LBB0_12:
Lloh28:
	adrp	x20, _codelist@GOTPAGE
Lloh29:
	ldr	x20, [x20, _codelist@GOTPAGEOFF]
	ldr	x21, [x20]
	ldr	x8, [x22, #8]
	str	x8, [x20]
	str	xzr, [x22, #8]
	str	xzr, [x8]
	ldr	x8, [sp, #16]
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.13:
	add	x0, sp, #8
	bl	_swgen
LBB0_14:
	mov	x0, x19
	bl	_branch
	ldr	x8, [x20]
	ldr	x9, [x22]
	str	x8, [x9]
	ldr	x8, [x20]
	str	x9, [x8]
	str	x21, [x20]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_15:
	mov	x0, #0
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	str	x8, [sp, #56]
	b	LBB0_7
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_t,4,2                          ; @t
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"illegal type `%t' in switch expression\n"

	.comm	_inttype,4,2                    ; @inttype
	.comm	_INDIR,8,3                      ; @INDIR
	.comm	_REGISTER,4,2                   ; @REGISTER
	.comm	_level,4,2                      ; @level
	.comm	_Switch,4,2                     ; @Switch
	.comm	_SWSIZE,4,2                     ; @SWSIZE
	.comm	_FUNC,4,2                       ; @FUNC
	.comm	_refinc,8,3                     ; @refinc
l_.str.1:                               ; @.str.1
	.asciz	"switch statement with no cases\n"

	.comm	_codelist,8,3                   ; @codelist
	.no_dead_strip	_swstmt
.subsections_via_symbols
