	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function value_replacement
_value_replacement:                     ## @value_replacement
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r14d
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	16(%rbp), %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TYPE_MODE
	movl	%eax, %edi
	callq	_HONOR_SIGNED_ZEROS
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_empty_block_p
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, %rbx
	movq	%r13, %rdi
	callq	_last_stmt
	movl	%eax, %edi
	callq	_COND_EXPR_COND
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_NE_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%r12d, %r15d
	movq	%rbx, %r12
	movl	16(%rbp), %ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_5
## %bb.4:
	movl	%r13d, %edi
	callq	_TREE_CODE
	movq	_EQ_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$0, %ecx
	jne	LBB0_1
LBB0_5:
	leaq	-88(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r12, %rdi
	callq	_extract_true_false_edges_from_block
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_operand_equal_for_phi_arg_p
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_operand_equal_for_phi_arg_p
	testq	%rax, %rax
	jne	LBB0_9
LBB0_7:
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_operand_equal_for_phi_arg_p
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_operand_equal_for_phi_arg_p
	testq	%rax, %rax
	movl	$0, %ecx
	je	LBB0_1
LBB0_9:
	movl	%r13d, %edi
	callq	_TREE_CODE
	movq	_NE_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	-88(%rbp), %rax
	leaq	-80(%rbp), %rcx
	cmoveq	%rax, %rcx
	movq	(%rcx), %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rdi, (%rax)
	jne	LBB0_11
## %bb.10:
	callq	_single_succ_edge
LBB0_11:
	cmpq	%r14, %rax
	cmovel	%r15d, %ebx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_replace_phi_edge_with_variable
	movl	$1, %ecx
	jmp	LBB0_1
LBB0_13:
	xorl	%ecx, %ecx
LBB0_1:
	movl	%ecx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NE_EXPR,8,3                    ## @NE_EXPR
	.comm	_EQ_EXPR,8,3                    ## @EQ_EXPR
	.no_dead_strip	_value_replacement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function value_replacement
_value_replacement:                     ; @value_replacement
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x6
	mov	x22, x5
	mov	x19, x4
	mov	x20, x3
	mov	x24, x2
	mov	x25, x1
	mov	x23, x0
	mov	x0, x6
	bl	_TREE_TYPE
	bl	_TYPE_MODE
	bl	_HONOR_SIGNED_ZEROS
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_3:
	mov	x0, x25
	bl	_empty_block_p
	cbz	w0, LBB0_2
; %bb.4:
	mov	x0, x23
	bl	_last_stmt
	bl	_COND_EXPR_COND
	mov	x26, x0
	bl	_TREE_CODE
Lloh0:
	adrp	x27, _NE_EXPR@GOTPAGE
Lloh1:
	ldr	x27, [x27, _NE_EXPR@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x26
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _EQ_EXPR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EQ_EXPR@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_1
LBB0_6:
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x23
	bl	_extract_true_false_edges_from_block
	mov	x0, x26
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x0
	mov	x0, x22
	bl	_operand_equal_for_phi_arg_p
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x26
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x1, x0
	mov	x0, x21
	bl	_operand_equal_for_phi_arg_p
	cbnz	x0, LBB0_10
LBB0_8:
	mov	x0, x26
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x0
	mov	x0, x21
	bl	_operand_equal_for_phi_arg_p
	cbz	x0, LBB0_2
; %bb.9:
	mov	x0, x26
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x1, x0
	mov	x0, x22
	bl	_operand_equal_for_phi_arg_p
	cbz	x0, LBB0_2
LBB0_10:
	mov	x0, x26
	bl	_TREE_CODE
	ldr	x8, [x27]
	mov	x9, sp
	add	x10, sp, #8
	cmp	x0, x8
	csel	x8, x10, x9, eq
	ldr	x0, [x8]
	ldr	x8, [x0]
	cmp	x8, x25
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x25
	bl	_single_succ_edge
LBB0_12:
	cmp	x0, x24
	csel	w3, w22, w21, eq
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	bl	_replace_phi_edge_with_variable
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NE_EXPR,8,3                    ; @NE_EXPR
	.comm	_EQ_EXPR,8,3                    ; @EQ_EXPR
	.no_dead_strip	_value_replacement
.subsections_via_symbols
