	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_ssa_phiopt
_tree_ssa_phiopt:                       ## @tree_ssa_phiopt
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_blocks_in_phiopt_order
	movq	%rax, %r15
	movq	_n_basic_blocks@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NUM_FIXED_BLOCKS@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	jne	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_2
LBB0_3:
	xorl	%r14d, %r14d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_minmax_replacement
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r12d
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %ebx
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	%r14, -104(%rbp)                ## 8-byte Folded Reload
	je	LBB0_28
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r12d
	movq	(%r15,%r14,8), %r13
	movq	%r13, %rdi
	callq	_last_stmt
	testq	%rax, %rax
	je	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	movq	%rax, %r15
	movq	8(%rax), %rbx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_EDGE_SUCC
	movq	%rax, %rcx
	movq	_EDGE_ABNORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, (%rcx)
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %ebx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_EDGE_COUNT
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %edi
	callq	_EDGE_COUNT
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, 8(%rax)
	movq	%rcx, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	cmpq	%rbx, 8(%rax)
	jne	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_single_succ_p
	testl	%eax, %eax
	je	LBB0_7
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_EDGE_FALLTHRU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_single_pred_p
	testl	%eax, %eax
	je	LBB0_7
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_single_pred
	cmpq	%r13, %rax
	jne	LBB0_7
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_phi_nodes
	testq	%rax, %rax
	je	LBB0_7
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PHI_CHAIN
	testq	%rax, %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_PHI_ARG_DEF_TREE
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_PHI_ARG_DEF_TREE
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	setne	%dl
	testq	%rax, %rax
	setne	%cl
	andb	%dl, %cl
	movzbl	%cl, %edi
	callq	_gcc_assert
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_conditional_replacement
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_value_replacement
	testq	%rax, %rax
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_abs_replacement
	testq	%rax, %rax
	jne	LBB0_27
	jmp	LBB0_25
LBB0_28:
	movq	%r15, %rdi
	callq	_free
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.29:
	movq	_TODO_cleanup_cfg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_30
LBB0_2:
	xorl	%eax, %eax
LBB0_30:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_n_basic_blocks,4,2             ## @n_basic_blocks
	.comm	_NUM_FIXED_BLOCKS,4,2           ## @NUM_FIXED_BLOCKS
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.comm	_EDGE_ABNORMAL,4,2              ## @EDGE_ABNORMAL
	.comm	_EDGE_FALLTHRU,4,2              ## @EDGE_FALLTHRU
	.comm	_TODO_cleanup_cfg,4,2           ## @TODO_cleanup_cfg
	.no_dead_strip	_tree_ssa_phiopt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_ssa_phiopt
_tree_ssa_phiopt:                       ; @tree_ssa_phiopt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_blocks_in_phiopt_order
	mov	x19, x0
Lloh0:
	adrp	x8, _n_basic_blocks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _n_basic_blocks@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NUM_FIXED_BLOCKS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NUM_FIXED_BLOCKS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	subs	w27, w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_free
	b	LBB0_28
LBB0_2:
	mov	x25, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
Lloh6:
	adrp	x26, _COND_EXPR@GOTPAGE
Lloh7:
	ldr	x26, [x26, _COND_EXPR@GOTPAGEOFF]
Lloh8:
	adrp	x28, _EDGE_ABNORMAL@GOTPAGE
Lloh9:
	ldr	x28, [x28, _EDGE_ABNORMAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	cmp	x27, x25
	b.eq	LBB0_26
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x19, x25, lsl #3]
	mov	x0, x20
	bl	_last_stmt
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_TREE_CODE
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	w1, #0
	bl	_EDGE_SUCC
	mov	x24, x0
	ldr	x23, [x0, #8]
	mov	x0, x20
	mov	w1, #1
	bl	_EDGE_SUCC
	ldr	w9, [x24]
	ldr	w8, [x28]
	tst	w8, w9
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	ldr	w9, [x0]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x22, [x21, #8]
	ldr	w0, [x23]
	bl	_EDGE_COUNT
	cmp	x0, #0
	ccmp	x22, #0, #4, ne
	b.eq	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x22]
	bl	_EDGE_COUNT
	cbz	x0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	w1, #0
	bl	_EDGE_SUCC
	ldr	x8, [x0, #8]
	cmp	x8, x22
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_EDGE_SUCC
	ldr	x8, [x0, #8]
	cmp	x8, x23
	b.ne	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x24
	mov	x24, x23
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x22
	mov	x22, x23
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_EDGE_SUCC
	mov	x23, x0
	mov	x0, x22
	bl	_single_succ_p
	cbz	w0, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23]
Lloh10:
	adrp	x9, _EDGE_FALLTHRU@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EDGE_FALLTHRU@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_single_pred_p
	cbz	w0, LBB0_5
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_single_pred
	cmp	x0, x20
	b.ne	LBB0_5
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_phi_nodes
	cbz	x0, LBB0_5
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x0
	bl	_PHI_CHAIN
	cbnz	x0, LBB0_5
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23, #4]
	mov	x0, x24
	bl	_PHI_ARG_DEF_TREE
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w1, [x21, #4]
	mov	x0, x24
	bl	_PHI_ARG_DEF_TREE
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	cset	w0, ne
	bl	_gcc_assert
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	ldp	x6, x5, [sp, #8]                ; 16-byte Folded Reload
	bl	_conditional_replacement
	cbnz	x0, LBB0_3
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	ldp	x6, x5, [sp, #8]                ; 16-byte Folded Reload
	bl	_value_replacement
	cbnz	x0, LBB0_3
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	ldp	x6, x5, [sp, #8]                ; 16-byte Folded Reload
	bl	_abs_replacement
	cbnz	x0, LBB0_3
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	ldp	x6, x5, [sp, #8]                ; 16-byte Folded Reload
	bl	_minmax_replacement
	cmp	x0, #0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	csinc	w8, w8, wzr, eq
	b	LBB0_4
LBB0_26:
	mov	x0, x19
	bl	_free
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_28
; %bb.27:
Lloh13:
	adrp	x8, _TODO_cleanup_cfg@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TODO_cleanup_cfg@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	b	LBB0_29
LBB0_28:
	mov	w0, #0
LBB0_29:
	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
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_n_basic_blocks,4,2             ; @n_basic_blocks
	.comm	_NUM_FIXED_BLOCKS,4,2           ; @NUM_FIXED_BLOCKS
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.comm	_EDGE_ABNORMAL,4,2              ; @EDGE_ABNORMAL
	.comm	_EDGE_FALLTHRU,4,2              ; @EDGE_FALLTHRU
	.comm	_TODO_cleanup_cfg,4,2           ; @TODO_cleanup_cfg
	.no_dead_strip	_tree_ssa_phiopt
.subsections_via_symbols
