	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_to_aff_combination
_tree_to_aff_combination:               ## @tree_to_aff_combination
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_STRIP_NOPS
	movl	%ebx, %edi
	callq	_TREE_CODE
	movl	%eax, %r12d
	leal	-128(%r12), %eax
	cmpl	$5, %eax
	ja	LBB0_16
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%eax, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_tree_to_aff_combination
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_TREE_OPERAND
	leaq	-40(%rbp), %rdx
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_tree_to_aff_combination
	cmpl	$131, %r12d
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rdi
	movl	$-1, %esi
	callq	_aff_combination_scale
LBB0_5:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_aff_combination_add
	jmp	LBB0_17
LBB0_8:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%eax, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_tree_to_aff_combination
	movq	%r14, %rdi
	movl	$-1, %esi
	jmp	LBB0_9
LBB0_6:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_TREE_CODE
	cmpl	$132, %eax
	jne	LBB0_16
## %bb.7:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%eax, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_tree_to_aff_combination
	movl	%r12d, %edi
	callq	_int_cst_value
	movq	%r14, %rdi
	movl	%eax, %esi
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aff_combination_scale          ## TAILCALL
LBB0_2:
	movl	%ebx, %edi
	callq	_int_cst_value
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aff_combination_const          ## TAILCALL
LBB0_10:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	leaq	-52(%rbp), %r10
	leaq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-60(%rbp), %r8
	leaq	-56(%rbp), %r9
	movl	%eax, %edi
	pushq	$0
	pushq	%r10
	callq	_get_inner_reference
	addq	$16, %rsp
	movl	%eax, %r12d
	movl	-44(%rbp), %eax
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	je	LBB0_11
LBB0_16:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_aff_combination_elt
LBB0_17:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_aff_combination_const
	movl	%r12d, %edi
	callq	_build_fold_addr_expr
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_CODE
	cmpl	$133, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_aff_combination_add_elt
	jmp	LBB0_14
LBB0_13:
	leaq	-40(%rbp), %r12
	movl	%ebx, %edi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_tree_to_aff_combination
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_aff_combination_add
LBB0_14:
	movl	-48(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_17
## %bb.15:
	leaq	-40(%rbp), %rbx
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_tree_to_aff_combination
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_aff_combination_add
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_BITS_PER_UNIT,4,2              ## @BITS_PER_UNIT
	.no_dead_strip	_tree_to_aff_combination
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_to_aff_combination
_tree_to_aff_combination:               ; @tree_to_aff_combination
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_STRIP_NOPS
	mov	x0, x21
	bl	_TREE_CODE
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_11
; %bb.1:
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:
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x20
	mov	x2, x19
	bl	_tree_to_aff_combination
	mov	x0, x21
	mov	w1, #1
	bl	_TREE_OPERAND
	add	x2, sp, #24
	mov	x1, x20
	bl	_tree_to_aff_combination
	cmp	w22, #131
	b.ne	LBB0_4
; %bb.3:
	add	x0, sp, #24
	mov	w1, #-1
	bl	_aff_combination_scale
LBB0_4:
	add	x1, sp, #24
	mov	x0, x19
	bl	_aff_combination_add
	b	LBB0_12
LBB0_5:
	mov	x0, x21
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x20
	mov	x2, x19
	bl	_tree_to_aff_combination
	mov	x0, x19
	mov	w1, #-1
	b	LBB0_8
LBB0_6:
	mov	x0, x21
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x22, x0
	bl	_TREE_CODE
	cmp	w0, #132
	b.ne	LBB0_11
; %bb.7:
	mov	x0, x21
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x20
	mov	x2, x19
	bl	_tree_to_aff_combination
	mov	x0, x22
	bl	_int_cst_value
	mov	x1, x0
	mov	x0, x19
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_aff_combination_scale
LBB0_9:
	mov	x0, x21
	bl	_int_cst_value
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_aff_combination_const
LBB0_10:
	mov	x0, x21
	mov	w1, #0
	bl	_TREE_OPERAND
	add	x1, sp, #12
	add	x2, sp, #16
	add	x3, sp, #20
	add	x4, sp, #8
	add	x5, sp, #4
	mov	x6, sp
	mov	w7, #0
	bl	_get_inner_reference
	ldr	w8, [sp, #16]
Lloh2:
	adrp	x9, _BITS_PER_UNIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BITS_PER_UNIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sdiv	w2, w8, w9
	msub	w8, w2, w9, w8
	cbz	w8, LBB0_13
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_aff_combination_elt
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_aff_combination_const
	mov	x0, x22
	bl	_build_fold_addr_expr
	mov	x21, x0
	bl	_TREE_CODE
	cmp	w0, #133
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_aff_combination_add_elt
	b	LBB0_16
LBB0_15:
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x20
	bl	_tree_to_aff_combination
	add	x1, sp, #24
	mov	x0, x19
	bl	_aff_combination_add
LBB0_16:
	ldr	w0, [sp, #20]
	cbz	w0, LBB0_12
; %bb.17:
	add	x2, sp, #24
	mov	x1, x20
	bl	_tree_to_aff_combination
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_BITS_PER_UNIT,4,2              ; @BITS_PER_UNIT
	.no_dead_strip	_tree_to_aff_combination
.subsections_via_symbols
