	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function replace_phi_edge_with_variable
_replace_phi_edge_with_variable:        ## @replace_phi_edge_with_variable
	.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
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	_bb_for_stmt
	movq	%rax, %r15
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_PHI_ARG_DEF_PTR
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_SET_USE
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	cmpq	%r15, 8(%rax)
	sete	%r13b
	setne	%r14b
	movq	_EDGE_FALLTHRU@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_EDGE_SUCC
	orl	%ebx, (%rax)
	movq	_EDGE_TRUE_VALUE@GOTPCREL(%rip), %rax
	movq	_EDGE_FALSE_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	notl	%ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_EDGE_SUCC
	andl	%ebx, (%rax)
	movq	_REG_BR_PROB_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_EDGE_SUCC
	movq	%rbx, 24(%rax)
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_EDGE_SUCC
	movq	16(%rax), %rbx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_EDGE_SUCC
	addq	%rbx, 16(%rax)
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_EDGE_SUCC
	movq	8(%rax), %rdi
	callq	_delete_basic_block
	movq	%r12, %rdi
	callq	_bsi_last
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	movl	$1, %esi
	callq	_bsi_remove
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	_dump_flags@GOTPCREL(%rip), %rax
	movq	_TDF_DETAILS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movl	(%r12), %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDGE_FALLTHRU,4,2              ## @EDGE_FALLTHRU
	.comm	_EDGE_TRUE_VALUE,4,2            ## @EDGE_TRUE_VALUE
	.comm	_EDGE_FALSE_VALUE,4,2           ## @EDGE_FALSE_VALUE
	.comm	_REG_BR_PROB_BASE,8,3           ## @REG_BR_PROB_BASE
	.comm	_dump_file,8,3                  ## @dump_file
	.comm	_dump_flags,4,2                 ## @dump_flags
	.comm	_TDF_DETAILS,4,2                ## @TDF_DETAILS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COND_EXPR in block %d and PHI in block %d converted to straightline code.\n"

	.no_dead_strip	_replace_phi_edge_with_variable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function replace_phi_edge_with_variable
_replace_phi_edge_with_variable:        ; @replace_phi_edge_with_variable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x2
	bl	_bb_for_stmt
	mov	x20, x0
	ldr	w1, [x23]
	mov	x0, x22
	bl	_PHI_ARG_DEF_PTR
	mov	x1, x21
	bl	_SET_USE
	mov	x0, x19
	mov	w1, #0
	bl	_EDGE_SUCC
	ldr	x8, [x0, #8]
	cmp	x8, x20
	cset	w21, eq
	cset	w22, ne
Lloh0:
	adrp	x8, _EDGE_FALLTHRU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDGE_FALLTHRU@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_EDGE_SUCC
	ldr	w8, [x0]
	orr	w8, w8, w23
Lloh3:
	adrp	x9, _EDGE_TRUE_VALUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EDGE_TRUE_VALUE@GOTPAGEOFF]
	str	w8, [x0]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _EDGE_FALSE_VALUE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EDGE_FALSE_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w23, w9, w8
	mov	x0, x19
	mov	x1, x22
	bl	_EDGE_SUCC
	ldr	w8, [x0]
	bic	w8, w8, w23
	str	w8, [x0]
Lloh9:
	adrp	x8, _REG_BR_PROB_BASE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_BR_PROB_BASE@GOTPAGEOFF]
Lloh11:
	ldr	x23, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_EDGE_SUCC
	str	x23, [x0, #24]
	mov	x0, x19
	mov	x1, x21
	bl	_EDGE_SUCC
	ldr	x23, [x0, #16]
	mov	x0, x19
	mov	x1, x22
	bl	_EDGE_SUCC
	ldr	x8, [x0, #16]
	add	x8, x8, x23
	str	x8, [x0, #16]
	mov	x0, x19
	mov	x1, x21
	bl	_EDGE_SUCC
	ldr	x0, [x0, #8]
	bl	_delete_basic_block
	mov	x0, x19
	bl	_bsi_last
	str	w0, [sp, #12]
	add	x0, sp, #12
	mov	w1, #1
	bl	_bsi_remove
Lloh12:
	adrp	x8, _dump_file@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dump_file@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
Lloh15:
	adrp	x8, _dump_flags@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dump_flags@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _TDF_DETAILS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TDF_DETAILS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w2, [x19]
	ldr	w3, [x20]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_3:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EDGE_FALLTHRU,4,2              ; @EDGE_FALLTHRU
	.comm	_EDGE_TRUE_VALUE,4,2            ; @EDGE_TRUE_VALUE
	.comm	_EDGE_FALSE_VALUE,4,2           ; @EDGE_FALSE_VALUE
	.comm	_REG_BR_PROB_BASE,8,3           ; @REG_BR_PROB_BASE
	.comm	_dump_file,8,3                  ; @dump_file
	.comm	_dump_flags,4,2                 ; @dump_flags
	.comm	_TDF_DETAILS,4,2                ; @TDF_DETAILS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COND_EXPR in block %d and PHI in block %d converted to straightline code.\n"

	.no_dead_strip	_replace_phi_edge_with_variable
.subsections_via_symbols
