	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_pointer_arith
_emit_pointer_arith:                    ## @emit_pointer_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	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	%rsi, %rdi
	callq	_emit_expr
	leaq	L_.str(%rip), %rdi
	callq	_push
	leaq	L_.str.1(%rip), %rdi
	callq	_push
	movq	%r15, %rdi
	callq	_emit_expr
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	cmpl	$2, %esi
	jl	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
LBB0_2:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
	leaq	L_.str.1(%rip), %rdi
	callq	_pop
	movsbl	%r14b, %esi
	cmpl	$45, %esi
	je	LBB0_6
## %bb.3:
	cmpl	$43, %esi
	jne	LBB0_7
## %bb.4:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.5(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_emit
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.6(%rip), %rdi
	callq	_error
LBB0_8:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pop                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SAVE,4,2                       ## @SAVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rcx"

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

L_.str.2:                               ## @.str.2
	.asciz	"imul $%d, #rax"

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

L_.str.4:                               ## @.str.4
	.asciz	"add #rcx, #rax"

L_.str.5:                               ## @.str.5
	.asciz	"sub #rcx, #rax"

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

	.no_dead_strip	_emit_pointer_arith
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_pointer_arith
_emit_pointer_arith:                    ; @emit_pointer_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	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_emit_expr
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_push
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_push
	mov	x0, x20
	bl	_emit_expr
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_emit
LBB0_2:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_emit
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pop
	cmp	w19, #45
	b.eq	LBB0_5
; %bb.3:
	cmp	w19, #43
	b.ne	LBB0_6
; %bb.4:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_emit
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_emit
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_error
LBB0_7:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@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	_pop
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SAVE,4,2                       ; @SAVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rcx"

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

l_.str.2:                               ; @.str.2
	.asciz	"imul $%d, #rax"

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

l_.str.4:                               ; @.str.4
	.asciz	"add #rcx, #rax"

l_.str.5:                               ; @.str.5
	.asciz	"sub #rcx, #rax"

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

	.no_dead_strip	_emit_pointer_arith
.subsections_via_symbols
