	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expand_copysign                ## -- Begin function expand_copysign
	.p2align	4, 0x90
_expand_copysign:                       ## @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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_GET_MODE
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SCALAR_FLOAT_MODE_P
	movl	%eax, %edi
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_GET_MODE
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	sete	%dil
	callq	_gcc_assert
	movq	_copysign_optab@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPTAB_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	%ebx, %edi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	xorl	%r9d, %r9d
	callq	_expand_binop
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	%ebx, %edi
	callq	_REAL_MODE_FORMAT
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r13
	cmpl	$0, 16(%rax)
	je	LBB0_3
## %bb.5:
	movq	%r12, %rdi
	callq	_GET_CODE
	movq	_CONST_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movq	%r12, %rdi
	callq	_CONST_DOUBLE_REAL_VALUE
	movl	%eax, %edi
	callq	_real_isneg
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_simplify_unary_operation
	movq	%rax, %r12
LBB0_9:
	cmpq	$0, (%r13)
	jns	LBB0_10
	jmp	LBB0_14
LBB0_6:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	$0, (%r13)
	js	LBB0_14
LBB0_10:
	movq	%r12, %rdi
	callq	_GET_CODE
	movq	_CONST_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.11:
	movq	_neg_optab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movl	%ebx, %eax
	movq	_CODE_FOR_nothing@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rdx,%rax,8)
	je	LBB0_14
## %bb.12:
	movq	_abs_optab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	cmpq	%rcx, (%rdx,%rax,8)
	je	LBB0_14
LBB0_13:
	movq	(%r13), %r8
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_expand_copysign_absneg
	testq	%rax, %rax
	jne	LBB0_4
LBB0_14:
	movq	8(%r13), %r8
	testq	%r8, %r8
	js	LBB0_3
## %bb.15:
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_expand_copysign_bit            ## TAILCALL
LBB0_3:
	movq	_NULL_RTX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_copysign_optab,4,2             ## @copysign_optab
	.comm	_OPTAB_DIRECT,4,2               ## @OPTAB_DIRECT
	.comm	_NULL_RTX,8,3                   ## @NULL_RTX
	.comm	_CONST_DOUBLE,8,3               ## @CONST_DOUBLE
	.comm	_ABS,4,2                        ## @ABS
	.comm	_neg_optab,8,3                  ## @neg_optab
	.comm	_CODE_FOR_nothing,8,3           ## @CODE_FOR_nothing
	.comm	_abs_optab,8,3                  ## @abs_optab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expand_copysign                ; -- Begin function expand_copysign
	.p2align	2
_expand_copysign:                       ; @expand_copysign
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_GET_MODE
	mov	x22, x0
	bl	_SCALAR_FLOAT_MODE_P
	bl	_gcc_assert
	mov	x0, x20
	bl	_GET_MODE
	cmp	w0, w22
	cset	w0, eq
	bl	_gcc_assert
Lloh0:
	adrp	x8, _copysign_optab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _copysign_optab@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OPTAB_DIRECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPTAB_DIRECT@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	w5, #0
	bl	_expand_binop
	cbnz	x0, LBB0_15
; %bb.1:
	mov	x0, x22
	bl	_REAL_MODE_FORMAT
	cbz	x0, LBB0_14
; %bb.2:
	mov	x23, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_14
; %bb.3:
	mov	x0, x21
	bl	_GET_CODE
Lloh6:
	adrp	x25, _CONST_DOUBLE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CONST_DOUBLE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x21
	bl	_CONST_DOUBLE_REAL_VALUE
	bl	_real_isneg
	cbz	x0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _ABS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ABS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x22
	bl	_simplify_unary_operation
	mov	x21, x0
LBB0_6:
	mov	w24, #1
	ldr	x8, [x23]
	tbz	x8, #63, LBB0_8
	b	LBB0_12
LBB0_7:
	mov	w24, #0
	ldr	x8, [x23]
	tbnz	x8, #63, LBB0_12
LBB0_8:
	mov	x0, x21
	bl	_GET_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.9:
Lloh11:
	adrp	x8, _neg_optab@GOTPAGE
Lloh12:
	ldr	x8, [x8, _neg_optab@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x8, w22, uxtw #3]
Lloh14:
	adrp	x8, _CODE_FOR_nothing@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CODE_FOR_nothing@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_12
; %bb.10:
Lloh17:
	adrp	x9, _abs_optab@GOTPAGE
Lloh18:
	ldr	x9, [x9, _abs_optab@GOTPAGEOFF]
	mov	w10, w22
Lloh19:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9, x10, lsl #3]
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_11:
	ldr	x4, [x23]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x5, x24
	bl	_expand_copysign_absneg
	cbnz	x0, LBB0_15
LBB0_12:
	ldr	x4, [x23, #8]
	tbnz	x4, #63, LBB0_14
; %bb.13:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x5, x24
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_expand_copysign_bit
LBB0_14:
Lloh20:
	adrp	x8, _NULL_RTX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NULL_RTX@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
LBB0_15:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_copysign_optab,4,2             ; @copysign_optab
	.comm	_OPTAB_DIRECT,4,2               ; @OPTAB_DIRECT
	.comm	_NULL_RTX,8,3                   ; @NULL_RTX
	.comm	_CONST_DOUBLE,8,3               ; @CONST_DOUBLE
	.comm	_ABS,4,2                        ; @ABS
	.comm	_neg_optab,8,3                  ; @neg_optab
	.comm	_CODE_FOR_nothing,8,3           ; @CODE_FOR_nothing
	.comm	_abs_optab,8,3                  ; @abs_optab
.subsections_via_symbols
