	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ix86_prepare_fp_compare_args
_ix86_prepare_fp_compare_args:          ## @ix86_prepare_fp_compare_args
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_ix86_fp_compare_mode
	movl	%eax, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r14d
	movl	(%r12), %r13d
	movl	%r14d, %edi
	callq	_GET_MODE
	movl	%eax, %ebx
	movq	_TARGET_SSE_MATH@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_SSE_FLOAT_MODE_P
	testq	%rax, %rax
	jne	LBB0_9
LBB0_2:
	movq	_CCFPUmode@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_8
## %bb.3:
	movq	_XFmode@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_7
## %bb.4:
	movl	%r14d, %edi
	callq	_standard_80387_constant_p
	cmpl	$1, %eax
	je	LBB0_7
## %bb.5:
	movl	%r13d, %edi
	callq	_standard_80387_constant_p
	cmpl	$1, %eax
	je	LBB0_7
## %bb.6:
	movl	%r13d, %edi
	callq	_GET_CODE
	movq	_FLOAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_7:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ix86_use_fcomi_compare
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_force_reg
	movl	%eax, %r15d
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_force_reg
	movl	%eax, %r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_24
LBB0_9:
	movl	%r14d, %edi
	callq	_standard_80387_constant_p
	testl	%eax, %eax
	movl	%r13d, %r15d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_14
## %bb.10:
	movl	%r14d, %edi
	callq	_GET_CODE
	movq	_MEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movl	%r15d, %edi
	callq	_standard_80387_constant_p
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:
	movl	%r15d, %edi
	callq	_GET_CODE
	movq	_MEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_11:
	movl	%r15d, %r12d
	movl	%r14d, %r15d
	jmp	LBB0_15
LBB0_14:
	movl	%r13d, %edi
	callq	_swap_condition
	movl	%eax, %r13d
	movl	%r14d, %r12d
LBB0_15:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r15d, %edi
	callq	_GET_CODE
	movq	_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.16:
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_force_reg
	movl	%eax, %r15d
LBB0_17:
	movl	%r12d, %edi
	callq	_CONSTANT_P
	testq	%rax, %rax
	je	LBB0_24
## %bb.18:
	movl	%r12d, %edi
	callq	_standard_80387_constant_p
	cmpl	$1, %eax
	je	LBB0_21
## %bb.19:
	testl	%eax, %eax
	jne	LBB0_22
## %bb.20:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_force_const_mem
	movl	%eax, %edi
	callq	_validize_mem
	jmp	LBB0_23
LBB0_21:
	movq	_TARGET_CMOVE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
LBB0_22:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_force_reg
LBB0_23:
	movl	%eax, %r12d
LBB0_24:
	movl	%r13d, %edi
	callq	_ix86_fp_comparison_cost
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_swap_condition
	movl	%eax, %edi
	callq	_ix86_fp_comparison_cost
	cmpq	%rax, %rbx
	jle	LBB0_25
## %bb.26:
	movl	%r12d, %edi
	callq	_GET_CODE
	movq	_REG@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_28
## %bb.27:
	movq	_no_new_pseudos@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_28
LBB0_25:
	movl	%r12d, %ecx
LBB0_31:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%r14)
	movl	%ecx, (%rax)
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movl	%r13d, %edi
	callq	_swap_condition
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_GET_CODE
	cmpq	(%rbx), %rax
	jne	LBB0_30
## %bb.29:
	movl	%r15d, %ecx
	movl	%r12d, %r15d
	jmp	LBB0_31
LBB0_30:
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_force_reg
	movl	%r15d, %ecx
	movl	%eax, %r15d
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_SSE_MATH,8,3            ## @TARGET_SSE_MATH
	.comm	_CCFPUmode,4,2                  ## @CCFPUmode
	.comm	_XFmode,4,2                     ## @XFmode
	.comm	_FLOAT,8,3                      ## @FLOAT
	.comm	_MEM,8,3                        ## @MEM
	.comm	_REG,8,3                        ## @REG
	.comm	_TARGET_CMOVE,8,3               ## @TARGET_CMOVE
	.comm	_no_new_pseudos,4,2             ## @no_new_pseudos
	.no_dead_strip	_ix86_prepare_fp_compare_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ix86_prepare_fp_compare_args
_ix86_prepare_fp_compare_args:          ; @ix86_prepare_fp_compare_args
	.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	_ix86_fp_compare_mode
	mov	x24, x0
	ldr	w25, [x20]
	ldr	w22, [x19]
	mov	x0, x25
	bl	_GET_MODE
	mov	x23, x0
Lloh0:
	adrp	x8, _TARGET_SSE_MATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_SSE_MATH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_SSE_FLOAT_MODE_P
	cbnz	x0, LBB0_9
LBB0_2:
Lloh3:
	adrp	x8, _CCFPUmode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CCFPUmode@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w24, w8
	b.eq	LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _XFmode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XFmode@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x25
	bl	_standard_80387_constant_p
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_standard_80387_constant_p
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_GET_CODE
Lloh9:
	adrp	x8, _FLOAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FLOAT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
LBB0_7:
	mov	x0, x21
	bl	_ix86_use_fcomi_compare
	cbz	x0, LBB0_9
LBB0_8:
	mov	x0, x23
	mov	x1, x25
	bl	_force_reg
	mov	x25, x0
	mov	x0, x23
	mov	x1, x22
	bl	_force_reg
	mov	x24, x0
	mov	x22, x25
	b	LBB0_24
LBB0_9:
	mov	x0, x25
	bl	_standard_80387_constant_p
	cbz	w0, LBB0_14
; %bb.10:
	mov	x0, x25
	bl	_GET_CODE
Lloh12:
	adrp	x24, _MEM@GOTPAGE
Lloh13:
	ldr	x24, [x24, _MEM@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x22
	bl	_standard_80387_constant_p
	cbz	w0, LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_GET_CODE
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_14
LBB0_13:
	mov	x24, x22
	mov	x22, x25
	b	LBB0_15
LBB0_14:
	mov	x0, x21
	bl	_swap_condition
	mov	x21, x0
	mov	x24, x25
LBB0_15:
	mov	x0, x22
	bl	_GET_CODE
Lloh14:
	adrp	x8, _REG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x23
	mov	x1, x22
	bl	_force_reg
	mov	x22, x0
LBB0_17:
	mov	x0, x24
	bl	_CONSTANT_P
	cbz	x0, LBB0_24
; %bb.18:
	mov	x0, x24
	bl	_standard_80387_constant_p
	cmp	w0, #1
	b.eq	LBB0_21
; %bb.19:
	cbnz	w0, LBB0_22
; %bb.20:
	mov	x0, x23
	mov	x1, x24
	bl	_force_const_mem
	bl	_validize_mem
	b	LBB0_23
LBB0_21:
Lloh17:
	adrp	x8, _TARGET_CMOVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TARGET_CMOVE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cbz	x8, LBB0_24
LBB0_22:
	mov	x0, x23
	mov	x1, x24
	bl	_force_reg
LBB0_23:
	mov	x24, x0
LBB0_24:
	mov	x0, x21
	bl	_ix86_fp_comparison_cost
	mov	x25, x0
	mov	x0, x21
	bl	_swap_condition
	bl	_ix86_fp_comparison_cost
	cmp	x25, x0
	b.le	LBB0_28
; %bb.25:
	mov	x0, x24
	bl	_GET_CODE
Lloh20:
	adrp	x25, _REG@GOTPAGE
Lloh21:
	ldr	x25, [x25, _REG@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh22:
	adrp	x9, _no_new_pseudos@GOTPAGE
Lloh23:
	ldr	x9, [x9, _no_new_pseudos@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	x0, x8
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_28
; %bb.26:
	mov	x0, x21
	bl	_swap_condition
	mov	x21, x0
	mov	x0, x24
	bl	_GET_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_30
; %bb.27:
	mov	x8, x22
	mov	x22, x24
	b	LBB0_29
LBB0_28:
	mov	x8, x24
LBB0_29:
	str	w22, [x20]
	str	w8, [x19]
	mov	x0, x21
	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
LBB0_30:
	mov	x0, x23
	mov	x1, x24
	bl	_force_reg
	mov	x8, x22
	mov	x22, x0
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_SSE_MATH,8,3            ; @TARGET_SSE_MATH
	.comm	_CCFPUmode,4,2                  ; @CCFPUmode
	.comm	_XFmode,4,2                     ; @XFmode
	.comm	_FLOAT,8,3                      ; @FLOAT
	.comm	_MEM,8,3                        ; @MEM
	.comm	_REG,8,3                        ; @REG
	.comm	_TARGET_CMOVE,8,3               ; @TARGET_CMOVE
	.comm	_no_new_pseudos,4,2             ; @no_new_pseudos
	.no_dead_strip	_ix86_prepare_fp_compare_args
.subsections_via_symbols
