	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_phi_replacement_condition
_find_phi_replacement_condition:        ## @find_phi_replacement_condition
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	4(%rsi), %edi
	callq	_EDGE_COUNT
	xorl	%edi, %edi
	cmpl	$2, %eax
	sete	%dil
	callq	_gcc_assert
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EDGE_PRED
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_EDGE_PRED
	movq	%rax, %rbx
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_TREE_CODE
	movq	_TRUTH_NOT_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rbx, %r13
	cmoveq	%r14, %r13
	cmoveq	%rbx, %r14
	movq	(%r14), %rdx
	cmpq	(%r12), %rdx
	je	LBB0_2
## %bb.1:
	movq	_CDI_DOMINATORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rsi
	callq	_dominated_by_p
	testq	%rax, %rax
	je	LBB0_7
LBB0_2:
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	8(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	_TRUTH_AND_EXPR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movq	_boolean_type_node@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	%eax, %edx
	callq	_build2
	movl	%eax, (%r15)
LBB0_4:
	movl	%eax, %edi
	callq	_TREE_CODE
	movl	(%r15), %edx
	movq	_TRUTH_NOT_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movl	%edx, %edi
	callq	_invert_truthvalue
	jmp	LBB0_9
LBB0_5:
	movq	%r13, %r14
	jmp	LBB0_10
LBB0_7:
	movq	(%r14), %rax
	movl	(%rax), %edx
	movl	%edx, (%r15)
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.8:
	movq	_TRUTH_AND_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_boolean_type_node@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_build2
LBB0_9:
	movl	%eax, %edx
	movl	%eax, (%r15)
LBB0_10:
	movl	%edx, %edi
	callq	_unshare_expr
	movq	_NULL_TREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-44(%rbp), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_force_gimple_operand
	movl	%eax, (%r15)
	movl	-44(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_12
## %bb.11:
	movq	_BSI_SAME_STMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bsi_insert_before
	movl	(%r15), %eax
LBB0_12:
	movl	%eax, %edi
	callq	_is_gimple_reg
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	movl	(%r15), %edi
	callq	_is_gimple_condexpr
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movl	(%r15), %edi
	callq	_TREE_TYPE
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_unshare_expr
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ifc_temp_var
	movl	%eax, %ebx
	movq	_BSI_SAME_STMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_bsi_insert_before
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%eax, (%r15)
LBB0_15:
	movl	(%r15), %edi
	callq	_gcc_assert
	movq	(%r14), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUTH_NOT_EXPR,8,3             ## @TRUTH_NOT_EXPR
	.comm	_CDI_DOMINATORS,4,2             ## @CDI_DOMINATORS
	.comm	_TRUTH_AND_EXPR,4,2             ## @TRUTH_AND_EXPR
	.comm	_boolean_type_node,4,2          ## @boolean_type_node
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.comm	_BSI_SAME_STMT,4,2              ## @BSI_SAME_STMT
	.no_dead_strip	_find_phi_replacement_condition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_phi_replacement_condition
_find_phi_replacement_condition:        ; @find_phi_replacement_condition
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x1, #4]
	bl	_EDGE_COUNT
	cmp	w0, #2
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x21
	mov	w1, #0
	bl	_EDGE_PRED
	mov	x23, x0
	mov	x0, x21
	mov	w1, #1
	bl	_EDGE_PRED
	mov	x21, x0
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_TREE_CODE
Lloh0:
	adrp	x25, _TRUTH_NOT_EXPR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TRUTH_NOT_EXPR@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	csel	x24, x23, x21, eq
	csel	x23, x21, x23, eq
	ldr	x2, [x23]
	ldr	x8, [x22]
	cmp	x2, x8
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _CDI_DOMINATORS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CDI_DOMINATORS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x1, [x24]
	bl	_dominated_by_p
	cbz	x0, LBB0_7
LBB0_2:
	ldp	x8, x3, [x24]
	ldr	w2, [x8]
	str	w2, [x19]
	cbz	x3, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _TRUTH_AND_EXPR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUTH_AND_EXPR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _boolean_type_node@GOTPAGE
Lloh9:
	ldr	x8, [x8, _boolean_type_node@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_build2
	mov	x2, x0
	str	w0, [x19]
LBB0_4:
	mov	x0, x2
	bl	_TREE_CODE
	ldr	x8, [x25]
	ldr	w2, [x19]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x2
	bl	_invert_truthvalue
	b	LBB0_9
LBB0_6:
	mov	x23, x24
	b	LBB0_10
LBB0_7:
	ldp	x8, x3, [x23]
	ldr	w2, [x8]
	str	w2, [x19]
	cbz	x3, LBB0_10
; %bb.8:
Lloh11:
	adrp	x8, _TRUTH_AND_EXPR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUTH_AND_EXPR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _boolean_type_node@GOTPAGE
Lloh15:
	ldr	x8, [x8, _boolean_type_node@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_build2
LBB0_9:
	mov	x2, x0
	str	w0, [x19]
LBB0_10:
	mov	x0, x2
	bl	_unshare_expr
Lloh17:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	add	x1, sp, #12
	mov	w2, #0
	bl	_force_gimple_operand
	str	w0, [x19]
	ldr	w1, [sp, #12]
	cbz	w1, LBB0_12
; %bb.11:
Lloh20:
	adrp	x8, _BSI_SAME_STMT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BSI_SAME_STMT@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_bsi_insert_before
	ldr	w0, [x19]
LBB0_12:
	bl	_is_gimple_reg
	cbnz	w0, LBB0_15
; %bb.13:
	ldr	w0, [x19]
	bl	_is_gimple_condexpr
	cbnz	w0, LBB0_15
; %bb.14:
	ldr	w0, [x19]
	bl	_TREE_TYPE
	mov	x21, x0
	ldr	w0, [x19]
	bl	_unshare_expr
	mov	x1, x0
	mov	x0, x21
	bl	_ifc_temp_var
	mov	x21, x0
Lloh23:
	adrp	x8, _BSI_SAME_STMT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BSI_SAME_STMT@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_bsi_insert_before
	mov	x0, x21
	mov	w1, #0
	bl	_TREE_OPERAND
	str	w0, [x19]
LBB0_15:
	ldr	w0, [x19]
	bl	_gcc_assert
	ldr	x0, [x23]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUTH_NOT_EXPR,8,3             ; @TRUTH_NOT_EXPR
	.comm	_CDI_DOMINATORS,4,2             ; @CDI_DOMINATORS
	.comm	_TRUTH_AND_EXPR,4,2             ; @TRUTH_AND_EXPR
	.comm	_boolean_type_node,4,2          ; @boolean_type_node
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.comm	_BSI_SAME_STMT,4,2              ; @BSI_SAME_STMT
	.no_dead_strip	_find_phi_replacement_condition
.subsections_via_symbols
