	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ix86_expand_copysign           ## -- Begin function ix86_expand_copysign
	.p2align	4, 0x90
_ix86_expand_copysign:                  ## @ix86_expand_copysign
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r15d
	movl	4(%rdi), %r12d
	movl	8(%rdi), %r14d
	movl	%r15d, %edi
	callq	_GET_MODE
	movl	%eax, %ebx
	movq	_SFmode@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_1
## %bb.2:
	movq	_V4SFmode@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_V2DFmode@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_GET_CODE
	movq	_CONST_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.4:
	movl	%r12d, %edi
	callq	_CONST_DOUBLE_REAL_VALUE
	movl	%eax, %edi
	callq	_real_isneg
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_simplify_unary_operation
	movl	%eax, %r12d
LBB0_6:
	movl	%ebx, %edi
	callq	_CONST0_RTX
	cmpl	%eax, %r12d
	jne	LBB0_8
## %bb.7:
	movl	%r13d, %edi
	callq	_CONST0_RTX
	jmp	LBB0_12
LBB0_15:
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_ix86_build_signbit_mask
	movl	%eax, %r13d
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ix86_build_signbit_mask
	movq	_SFmode@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_17
## %bb.16:
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_gen_copysignsf3_var
	jmp	LBB0_18
LBB0_8:
	movq	_SFmode@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %edi
	callq	_CONST0_RTX
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_SFmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CONST0_RTX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SFmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CONST0_RTX
	movl	$4, %edi
	movl	%r12d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_gen_rtvec
	jmp	LBB0_11
LBB0_17:
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_gen_copysigndf3_var
	jmp	LBB0_18
LBB0_10:
	movq	_DFmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CONST0_RTX
	movl	$2, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_gen_rtvec
LBB0_11:
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_CONST_VECTOR
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_force_reg
LBB0_12:
	movl	%eax, %r12d
	movq	_SFmode@GOTPCREL(%rip), %r13
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ix86_build_signbit_mask
	cmpl	(%r13), %ebx
	jne	LBB0_14
## %bb.13:
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_gen_copysignsf3_const
	jmp	LBB0_18
LBB0_14:
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_gen_copysigndf3_const
LBB0_18:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_insn                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SFmode,4,2                     ## @SFmode
	.comm	_V4SFmode,4,2                   ## @V4SFmode
	.comm	_V2DFmode,4,2                   ## @V2DFmode
	.comm	_CONST_DOUBLE,8,3               ## @CONST_DOUBLE
	.comm	_ABS,4,2                        ## @ABS
	.comm	_DFmode,4,2                     ## @DFmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ix86_expand_copysign           ; -- Begin function ix86_expand_copysign
	.p2align	2
_ix86_expand_copysign:                  ; @ix86_expand_copysign
	.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
	ldp	w20, w22, [x0]
	ldr	w19, [x0, #8]
	mov	x0, x20
	bl	_GET_MODE
	mov	x21, x0
Lloh0:
	adrp	x26, _SFmode@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SFmode@GOTPAGEOFF]
Lloh2:
	adrp	x8, _V4SFmode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4SFmode@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh4:
	adrp	x10, _V2DFmode@GOTPAGE
Lloh5:
	ldr	x10, [x10, _V2DFmode@GOTPAGEOFF]
	cmp	w0, w9
	csel	x8, x8, x10, eq
	ldr	w23, [x8]
	mov	x0, x22
	bl	_GET_CODE
Lloh6:
	adrp	x8, _CONST_DOUBLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONST_DOUBLE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x22
	bl	_CONST_DOUBLE_REAL_VALUE
	bl	_real_isneg
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _ABS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x22
	mov	x3, x21
	bl	_simplify_unary_operation
	mov	x22, x0
LBB0_3:
	mov	x0, x21
	bl	_CONST0_RTX
	cmp	w22, w0
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x23
	bl	_CONST0_RTX
	b	LBB0_12
LBB0_5:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #1
	bl	_ix86_build_signbit_mask
	mov	x23, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	bl	_ix86_build_signbit_mask
	mov	x5, x0
	ldr	w8, [x26]
	mov	x0, x20
	cmp	w21, w8
	b.ne	LBB0_9
; %bb.6:
	mov	x1, #0
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	bl	_gen_copysignsf3_var
	b	LBB0_15
LBB0_7:
	ldr	w8, [x26]
	cmp	w21, w8
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_CONST0_RTX
	mov	x24, x0
	ldr	w0, [x26]
	bl	_CONST0_RTX
	mov	x25, x0
	ldr	w0, [x26]
	bl	_CONST0_RTX
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp]
	mov	w0, #4
	mov	x1, x22
	mov	x2, x24
	b	LBB0_11
LBB0_9:
	mov	x1, #0
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	bl	_gen_copysigndf3_var
	b	LBB0_15
LBB0_10:
Lloh12:
	adrp	x8, _DFmode@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DFmode@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_CONST0_RTX
	mov	x2, x0
	mov	w0, #2
	mov	x1, x22
LBB0_11:
	bl	_gen_rtvec
	mov	x1, x0
	mov	x0, x23
	bl	_gen_rtx_CONST_VECTOR
	mov	x1, x0
	mov	x0, x23
	bl	_force_reg
LBB0_12:
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	bl	_ix86_build_signbit_mask
	mov	x3, x0
	ldr	w8, [x26]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	cmp	w21, w8
	b.ne	LBB0_14
; %bb.13:
	bl	_gen_copysignsf3_const
	b	LBB0_15
LBB0_14:
	bl	_gen_copysigndf3_const
LBB0_15:
	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
	b	_emit_insn
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SFmode,4,2                     ; @SFmode
	.comm	_V4SFmode,4,2                   ; @V4SFmode
	.comm	_V2DFmode,4,2                   ; @V2DFmode
	.comm	_CONST_DOUBLE,8,3               ; @CONST_DOUBLE
	.comm	_ABS,4,2                        ; @ABS
	.comm	_DFmode,4,2                     ; @DFmode
.subsections_via_symbols
