	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addtree
_addtree:                               ## @addtree
	.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
	movq	%rdx, %r14
	movl	%edi, %r15d
	movq	_inttype@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rbx
	movq	(%r13), %r12
	movq	8(%rsi), %rdi
	callq	_isarith
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
	callq	_isarith
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rdi
	callq	_isptr
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
	callq	_isint
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rsi
	movq	%rbx, %r14
	jmp	LBB0_1
LBB0_7:
	movq	8(%r14), %rdi
	callq	_isptr
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	8(%rbx), %rdi
	callq	_isint
	testq	%rax, %rax
	je	LBB0_17
## %bb.9:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_isfunc
	testl	%eax, %eax
	je	LBB0_10
LBB0_17:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_typeerror
	jmp	LBB0_18
LBB0_3:
	movq	8(%rbx), %rdi
	movq	8(%r14), %rsi
	callq	_binary
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_cast
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_cast
	movq	%rax, %r14
LBB0_18:
	movl	%r15d, %edi
	movq	%r12, %rsi
LBB0_19:
	movq	%rbx, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_simplify                       ## TAILCALL
LBB0_10:
	movq	8(%r14), %rdi
	callq	_unqual
	movq	%rax, %r15
	movq	8(%rax), %rdi
	callq	_unqual
	movq	(%rax), %r12
	testq	%r12, %r12
	jne	LBB0_12
## %bb.11:
	movq	8(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_12:
	movq	8(%rbx), %rdi
	callq	_promote
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_cast
	movq	%rax, %rbx
	cmpq	$2, %r12
	jl	LBB0_14
## %bb.13:
	movq	_MUL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_signedptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_cnsttree
	movl	%r13d, %edi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_multree
	movq	%rax, %rbx
LBB0_14:
	movq	_YYcheck@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_16
## %bb.15:
	movl	(%r14), %edi
	callq	_isaddrop
	testl	%eax, %eax
	je	LBB0_20
LBB0_16:
	movq	_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	jmp	LBB0_19
LBB0_20:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nullcall                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_inttype,8,3                    ## @inttype
	.comm	_ADD,4,2                        ## @ADD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown size for type `%t'\n"

	.comm	_MUL,4,2                        ## @MUL
	.comm	_signedptr,4,2                  ## @signedptr
	.comm	_YYcheck,8,3                    ## @YYcheck
	.no_dead_strip	_addtree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addtree
_addtree:                               ; @addtree
	.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	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x23, _inttype@GOTPAGE
Lloh1:
	ldr	x23, [x23, _inttype@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ADD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ADD@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x1
	ldr	x22, [x23]
	ldr	x0, [x1, #8]
	bl	_isarith
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19, #8]
	bl	_isarith
	cbnz	x0, LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x20, #8]
	bl	_isptr
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19, #8]
	bl	_isint
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w21, [x24]
	mov	x1, x19
	mov	x19, x20
	b	LBB0_1
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_isptr
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x0, [x20, #8]
	bl	_isint
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_isfunc
	cbz	w0, LBB0_13
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_typeerror
	b	LBB0_11
LBB0_10:
	ldr	x0, [x20, #8]
	ldr	x1, [x19, #8]
	bl	_binary
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_cast
	mov	x20, x0
	mov	x0, x19
	mov	x1, x22
	bl	_cast
	mov	x19, x0
LBB0_11:
	mov	x0, x21
	mov	x1, x22
LBB0_12:
	mov	x2, x20
	mov	x3, x19
	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	_simplify
LBB0_13:
	ldr	x0, [x19, #8]
	bl	_unqual
	mov	x21, x0
	ldr	x0, [x0, #8]
	bl	_unqual
	ldr	x22, [x0]
	cbnz	x22, LBB0_15
; %bb.14:
	ldr	x1, [x21, #8]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_15:
	ldr	x0, [x20, #8]
	bl	_promote
	mov	x1, x0
	mov	x0, x20
	bl	_cast
	mov	x20, x0
	cmp	x22, #2
	b.lt	LBB0_17
; %bb.16:
Lloh6:
	adrp	x8, _MUL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MUL@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _signedptr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _signedptr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_cnsttree
	mov	x1, x0
	mov	x0, x23
	mov	x2, x20
	bl	_multree
	mov	x20, x0
LBB0_17:
Lloh12:
	adrp	x22, _YYcheck@GOTPAGE
Lloh13:
	ldr	x22, [x22, _YYcheck@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w0, [x19]
	bl	_isaddrop
	cbz	w0, LBB0_20
LBB0_19:
	ldr	w0, [x24]
	mov	x1, x21
	b	LBB0_12
LBB0_20:
	ldr	x1, [x22]
	mov	x0, x21
	mov	x2, x19
	mov	x3, 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	_nullcall
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_inttype,8,3                    ; @inttype
	.comm	_ADD,4,2                        ; @ADD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown size for type `%t'\n"

	.comm	_MUL,4,2                        ; @MUL
	.comm	_signedptr,4,2                  ; @signedptr
	.comm	_YYcheck,8,3                    ; @YYcheck
	.no_dead_strip	_addtree
.subsections_via_symbols
