	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_binop_int_arith
_emit_binop_int_arith:                  ## @emit_binop_int_arith
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	leal	-37(%rsi), %eax
	cmpl	$10, %eax
	ja	LBB0_1
## %bb.19:
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_11
LBB0_1:
	leal	-94(%rsi), %eax
	cmpl	$36, %eax
	ja	LBB0_10
## %bb.2:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_11
LBB0_4:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.7(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_error
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.6(%rip), %r14
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.5(%rip), %r14
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.4(%rip), %r14
LBB0_11:
	movq	8(%rbx), %rdi
	callq	_emit_expr
	leaq	L_.str.8(%rip), %r15
	movq	%r15, %rdi
	callq	_push
	movq	24(%rbx), %rdi
	callq	_emit_expr
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
	movq	%r15, %rdi
	callq	_pop
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_12
## %bb.16:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	$97, %esi
	callq	_get_int_reg
	leaq	L_.str.15(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit                           ## TAILCALL
LBB0_12:
	cmpl	$47, %eax
	je	LBB0_14
## %bb.13:
	cmpl	$37, %eax
	jne	LBB0_17
LBB0_14:
	movq	16(%rbx), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.12(%rip), %rax
	leaq	L_.str.10(%rip), %rdi
	cmoveq	%rax, %rdi
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.11(%rip), %r14
	cmoveq	%rax, %r14
	xorl	%eax, %eax
	callq	_emit
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_emit
	cmpl	$37, (%rbx)
	jne	LBB0_18
## %bb.15:
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit                           ## TAILCALL
LBB0_17:
	leaq	L_.str.16(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit                           ## TAILCALL
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_11
.set L0_1_set_6, LBB0_6-LJTI0_1
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_8, LBB0_8-LJTI0_1
.set L0_1_set_7, LBB0_7-LJTI0_1
LJTI0_1:
	.long	L0_1_set_6
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_10
	.long	L0_1_set_9
	.long	L0_1_set_8
	.long	L0_1_set_7
	.end_data_region
                                        ## -- End function
	.comm	_SAVE,4,2                       ## @SAVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add"

L_.str.1:                               ## @.str.1
	.asciz	"sub"

L_.str.2:                               ## @.str.2
	.asciz	"imul"

L_.str.3:                               ## @.str.3
	.asciz	"xor"

L_.str.4:                               ## @.str.4
	.asciz	"sal"

L_.str.5:                               ## @.str.5
	.asciz	"sar"

L_.str.6:                               ## @.str.6
	.asciz	"shr"

L_.str.7:                               ## @.str.7
	.asciz	"invalid operator '%d'"

L_.str.8:                               ## @.str.8
	.asciz	"rax"

L_.str.9:                               ## @.str.9
	.asciz	"mov #rax, #rcx"

L_.str.10:                              ## @.str.10
	.asciz	"xor #edx, #edx"

L_.str.11:                              ## @.str.11
	.asciz	"div #rcx"

L_.str.12:                              ## @.str.12
	.asciz	"cqto"

L_.str.13:                              ## @.str.13
	.asciz	"idiv #rcx"

L_.str.14:                              ## @.str.14
	.asciz	"mov #edx, #eax"

L_.str.15:                              ## @.str.15
	.asciz	"%s #cl, #%s"

L_.str.16:                              ## @.str.16
	.asciz	"%s #rcx, #rax"

	.no_dead_strip	_emit_binop_int_arith
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_binop_int_arith
_emit_binop_int_arith:                  ; @emit_binop_int_arith
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w1, [x0]
	sub	w8, w1, #37
	cmp	w8, #10
	b.hi	LBB0_3
; %bb.1:
	mov	x21, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x21, l_.str.2@PAGE
Lloh3:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_3:
	sub	w8, w1, #94
	cmp	w8, #36
	b.hi	LBB0_8
; %bb.4:
Lloh4:
	adrp	x9, lJTI0_1@PAGE
Lloh5:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh6:
	adrp	x21, l_.str.3@PAGE
Lloh7:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_6:
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh10:
	adrp	x21, l_.str.1@PAGE
Lloh11:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_8:
Lloh12:
	adrp	x0, l_.str.7@PAGE
Lloh13:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_error
	mov	x21, #0
	b	LBB0_12
LBB0_9:
Lloh14:
	adrp	x21, l_.str.6@PAGE
Lloh15:
	add	x21, x21, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh16:
	adrp	x21, l_.str.5@PAGE
Lloh17:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh18:
	adrp	x21, l_.str.4@PAGE
Lloh19:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_12:
	ldr	x0, [x19, #8]
	bl	_emit_expr
Lloh20:
	adrp	x20, l_.str.8@PAGE
Lloh21:
	add	x20, x20, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_push
	ldr	x0, [x19, #24]
	bl	_emit_expr
Lloh22:
	adrp	x0, l_.str.9@PAGE
Lloh23:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_emit
	mov	x0, x20
	bl	_pop
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_14
; %bb.13:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	w1, #97
	bl	_get_int_reg
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh24:
	adrp	x0, l_.str.15@PAGE
Lloh25:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_19
LBB0_14:
	cmp	w8, #47
	b.eq	LBB0_16
; %bb.15:
	cmp	w8, #37
	b.ne	LBB0_18
LBB0_16:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh26:
	adrp	x9, l_.str.10@PAGE
Lloh27:
	add	x9, x9, l_.str.10@PAGEOFF
Lloh28:
	adrp	x10, l_.str.12@PAGE
Lloh29:
	add	x10, x10, l_.str.12@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
Lloh30:
	adrp	x8, l_.str.11@PAGE
Lloh31:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh32:
	adrp	x9, l_.str.13@PAGE
Lloh33:
	add	x9, x9, l_.str.13@PAGEOFF
	csel	x20, x9, x8, eq
	bl	_emit
	mov	x0, x20
	bl	_emit
	ldr	w8, [x19]
	cmp	w8, #37
	b.ne	LBB0_20
; %bb.17:
Lloh34:
	adrp	x0, l_.str.14@PAGE
Lloh35:
	add	x0, x0, l_.str.14@PAGEOFF
	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
	add	sp, sp, #64
	b	_emit
LBB0_18:
	str	x21, [sp]
Lloh36:
	adrp	x0, l_.str.16@PAGE
Lloh37:
	add	x0, x0, l_.str.16@PAGEOFF
LBB0_19:
	bl	_emit
LBB0_20:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
                                        ; -- End function
	.comm	_SAVE,4,2                       ; @SAVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add"

l_.str.1:                               ; @.str.1
	.asciz	"sub"

l_.str.2:                               ; @.str.2
	.asciz	"imul"

l_.str.3:                               ; @.str.3
	.asciz	"xor"

l_.str.4:                               ; @.str.4
	.asciz	"sal"

l_.str.5:                               ; @.str.5
	.asciz	"sar"

l_.str.6:                               ; @.str.6
	.asciz	"shr"

l_.str.7:                               ; @.str.7
	.asciz	"invalid operator '%d'"

l_.str.8:                               ; @.str.8
	.asciz	"rax"

l_.str.9:                               ; @.str.9
	.asciz	"mov #rax, #rcx"

l_.str.10:                              ; @.str.10
	.asciz	"xor #edx, #edx"

l_.str.11:                              ; @.str.11
	.asciz	"div #rcx"

l_.str.12:                              ; @.str.12
	.asciz	"cqto"

l_.str.13:                              ; @.str.13
	.asciz	"idiv #rcx"

l_.str.14:                              ; @.str.14
	.asciz	"mov #edx, #eax"

l_.str.15:                              ; @.str.15
	.asciz	"%s #cl, #%s"

l_.str.16:                              ; @.str.16
	.asciz	"%s #rcx, #rax"

	.no_dead_strip	_emit_binop_int_arith
.subsections_via_symbols
