	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fold_binary_op_with_conditional_arg
_fold_binary_op_with_conditional_arg:   ## @fold_binary_op_with_conditional_arg
	.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
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%edi, %r14d
	movl	16(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	movq	%rdx, %rdi
	cmoveq	%rcx, %rdi
	cmoveq	%rdx, %rbx
	callq	_TREE_TYPE
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_NULL_TREE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r13
	movq	%r15, %rdi
	callq	_TREE_CONSTANT
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	%r12, %rdi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_TREE_OPERAND
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_VOID_TYPE_P
	testq	%rax, %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmoveq	%r13, %rbx
	movq	%r14, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_VOID_TYPE_P
	testq	%rax, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	cmoveq	%r13, %r14
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%rbx, %r13
	jmp	LBB0_4
LBB0_16:
	movq	(%rbx), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_constant_boolean_node
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_constant_boolean_node
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
LBB0_4:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_fold_convert
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_5
## %bb.8:
	testq	%r14, %r14
	jne	LBB0_15
## %bb.9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fold_convert
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
	jmp	LBB0_10
LBB0_5:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_fold_convert
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.11:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_fold_build2
	movq	%rax, %r13
	testq	%r14, %r14
	jne	LBB0_15
## %bb.12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fold_convert
LBB0_13:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r15, %rcx
	jmp	LBB0_14
LBB0_6:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	callq	_fold_build2
	movq	%rax, %r13
	testq	%r14, %r14
	jne	LBB0_15
## %bb.7:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fold_convert
LBB0_10:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
LBB0_14:
	callq	_fold_build2
	movq	%rax, %r14
LBB0_15:
	movq	_COND_EXPR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_fold_build3
	movq	%rbx, %rdi
	movq	%rax, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fold_convert                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.no_dead_strip	_fold_binary_op_with_conditional_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fold_binary_op_with_conditional_arg
_fold_binary_op_with_conditional_arg:   ; @fold_binary_op_with_conditional_arg
	.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	x24, x6
	mov	x25, x5
	mov	x20, x4
	mov	x19, x1
	mov	x23, x0
	cmp	w6, #0
	csel	x0, x3, x2, eq
	csel	x21, x2, x3, eq
	bl	_TREE_TYPE
	mov	x26, x0
	mov	x0, x21
	bl	_TREE_TYPE
	mov	x27, x0
Lloh0:
	adrp	x21, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NULL_TREE@GOTPAGEOFF]
	ldr	x22, [x21]
	mov	x0, x25
	bl	_TREE_CONSTANT
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _COND_EXPR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x20
	b.ne	LBB0_4
; %bb.2:
	mov	w1, #0
	bl	_TREE_OPERAND
	str	w23, [sp, #4]                   ; 4-byte Folded Spill
	mov	x23, x0
	mov	x0, x20
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x21, x0
	mov	x0, x20
	mov	w1, #2
	bl	_TREE_OPERAND
	mov	x28, x0
	mov	x0, x21
	bl	_TREE_TYPE
	bl	_VOID_TYPE_P
	cmp	x0, #0
	csel	x26, x22, x21, eq
	mov	x0, x28
	bl	_TREE_TYPE
	bl	_VOID_TYPE_P
	cmp	x0, #0
	csel	x22, x22, x28, eq
	mov	x20, x23
	ldr	w23, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_5
LBB0_3:
	ldr	x0, [x21]
	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_4:
	bl	_TREE_TYPE
	mov	x26, x23
	mov	x23, x0
	mov	w0, #1
	mov	x1, x23
	bl	_constant_boolean_node
	mov	x21, x0
	mov	w0, #0
	mov	x1, x23
	mov	x23, x26
	bl	_constant_boolean_node
	mov	x28, x0
	mov	x26, x22
LBB0_5:
	mov	x0, x27
	mov	x1, x25
	bl	_fold_convert
	mov	x25, x0
	cbz	x26, LBB0_8
; %bb.6:
	cbnz	x22, LBB0_16
; %bb.7:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x28
	bl	_fold_convert
	mov	x3, x0
	cbnz	w24, LBB0_11
	b	LBB0_14
LBB0_8:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x21
	bl	_fold_convert
	mov	x3, x0
	mov	x0, x23
	mov	x1, x19
	cbz	w24, LBB0_12
; %bb.9:
	mov	x2, x3
	mov	x3, x25
	bl	_fold_build2
	mov	x26, x0
	cbnz	x22, LBB0_16
; %bb.10:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x28
	bl	_fold_convert
	mov	x3, x0
LBB0_11:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x3
	mov	x3, x25
	b	LBB0_15
LBB0_12:
	mov	x2, x25
	bl	_fold_build2
	mov	x26, x0
	cbnz	x22, LBB0_16
; %bb.13:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x28
	bl	_fold_convert
	mov	x3, x0
LBB0_14:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x25
LBB0_15:
	bl	_fold_build2
	mov	x22, x0
LBB0_16:
Lloh5:
	adrp	x8, _COND_EXPR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	mov	x1, x19
	mov	x2, x20
	mov	x3, x26
	mov	x4, x22
	bl	_fold_build3
	mov	x1, x0
	mov	x0, x19
	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
	b	_fold_convert
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.no_dead_strip	_fold_binary_op_with_conditional_arg
.subsections_via_symbols
