	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_emit_compare
_mips_emit_compare:                     ## @mips_emit_compare
	.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	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_cmp_operands@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_GET_MODE
	movl	%eax, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.7:
	movl	(%r12), %ecx
	movq	_EQ@GOTPCREL(%rip), %rdx
	movq	(%r13), %rax
	cmpl	(%rdx), %ecx
	je	LBB0_9
## %bb.8:
	movq	_NE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_10
LBB0_9:
	movq	(%rax), %rdi
	movq	8(%rax), %rsi
	callq	_mips_zero_if_equal
	movq	%rax, (%r15)
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_21
LBB0_14:
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_mips_reverse_fp_cond_p
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:
	movq	_NE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_EQ@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_ISA_HAS_8CC@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_CCmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_19
## %bb.18:
	callq	_gen_reg_rtx
	jmp	LBB0_20
LBB0_2:
	movq	(%r13), %rax
	movq	8(%rax), %rcx
	movq	_const0_rtx@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	(%rax), %rcx
	movq	%rcx, (%r15)
	movq	8(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_21
LBB0_19:
	movq	_FPSW_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gen_rtx_REG
LBB0_20:
	movq	%rax, (%r15)
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	-44(%rbp), %edi
	movq	(%r15), %rsi
	movq	(%r13), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rcx
	callq	_mips_emit_binary
	jmp	LBB0_21
LBB0_4:
	movl	(%r12), %ecx
	movq	_EQ@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_6
## %bb.5:
	movq	_NE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_6
LBB0_10:
	movl	$0, -48(%rbp)
	movq	(%rax), %rdi
	callq	_GET_MODE
	movl	%eax, %edi
	callq	_gen_reg_rtx
	movq	%rax, (%r15)
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	(%r12), %edi
	movq	(%r15), %rdx
	movq	(%r13), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r8
	leaq	-48(%rbp), %rsi
	callq	_mips_emit_int_relational
	cmpl	$0, -48(%rbp)
	jne	LBB0_11
## %bb.12:
	movq	_NE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_EQ@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%rax), %rdi
	movq	%rdi, (%r15)
	callq	_GET_MODE
	movq	(%r13), %rcx
	movq	8(%rcx), %rsi
	movl	%eax, %edi
	callq	_force_reg
	movq	%rax, (%r14)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_cmp_operands,8,3               ## @cmp_operands
	.comm	_MODE_INT,8,3                   ## @MODE_INT
	.comm	_const0_rtx,8,3                 ## @const0_rtx
	.comm	_EQ,4,2                         ## @EQ
	.comm	_NE,4,2                         ## @NE
	.comm	_ISA_HAS_8CC,8,3                ## @ISA_HAS_8CC
	.comm	_CCmode,4,2                     ## @CCmode
	.comm	_FPSW_REGNUM,4,2                ## @FPSW_REGNUM
	.no_dead_strip	_mips_emit_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_emit_compare
_mips_emit_compare:                     ; @mips_emit_compare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _cmp_operands@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cmp_operands@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x8]
	bl	_GET_MODE
	bl	_GET_MODE_CLASS
Lloh2:
	adrp	x8, _MODE_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MODE_INT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	cbz	w22, LBB0_6
; %bb.2:
	ldr	w9, [x21]
Lloh5:
	adrp	x8, _EQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EQ@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x8]
Lloh8:
	adrp	x8, _NE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NE@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x8]
	ldr	x8, [x23]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_12
; %bb.3:
	ldp	x0, x1, [x8]
	bl	_mips_zero_if_equal
	str	x0, [x20]
Lloh11:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh12:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_13
LBB0_4:
	ldr	w8, [x21]
	str	w8, [sp, #8]
	add	x0, sp, #8
	bl	_mips_reverse_fp_cond_p
Lloh14:
	adrp	x8, _EQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EQ@GOTPAGEOFF]
Lloh16:
	adrp	x9, _NE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x21]
Lloh18:
	adrp	x8, _ISA_HAS_8CC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ISA_HAS_8CC@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _CCmode@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CCmode@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x9]
	cbz	x8, LBB0_8
; %bb.5:
	bl	_gen_reg_rtx
	b	LBB0_9
LBB0_6:
	ldr	x8, [x23]
	ldr	x9, [x8, #8]
Lloh24:
	adrp	x10, _const0_rtx@GOTPAGE
Lloh25:
	ldr	x10, [x10, _const0_rtx@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.7:
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	x8, [x8, #8]
	str	x8, [x19]
	b	LBB0_13
LBB0_8:
Lloh27:
	adrp	x8, _FPSW_REGNUM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FPSW_REGNUM@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_gen_rtx_REG
LBB0_9:
	str	x0, [x20]
Lloh30:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh31:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w0, [sp, #8]
	ldr	x1, [x20]
	ldr	x8, [x23]
	ldp	x2, x3, [x8]
	bl	_mips_emit_binary
	b	LBB0_13
LBB0_10:
	ldr	w9, [x21]
Lloh33:
	adrp	x10, _EQ@GOTPAGE
Lloh34:
	ldr	x10, [x10, _EQ@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
Lloh36:
	adrp	x11, _NE@GOTPAGE
Lloh37:
	ldr	x11, [x11, _NE@GOTPAGEOFF]
Lloh38:
	ldr	w11, [x11]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_12
; %bb.11:
	ldr	x0, [x8]
	str	x0, [x20]
	bl	_GET_MODE
	ldr	x8, [x23]
	ldr	x1, [x8, #8]
	bl	_force_reg
	str	x0, [x19]
	b	LBB0_13
LBB0_12:
	str	wzr, [sp, #12]
	ldr	x0, [x8]
	bl	_GET_MODE
	bl	_gen_reg_rtx
	str	x0, [x20]
Lloh39:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh40:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w0, [x21]
	ldr	x2, [x20]
	ldr	x8, [x23]
	ldp	x3, x4, [x8]
	add	x1, sp, #12
	bl	_mips_emit_int_relational
	ldr	w8, [sp, #12]
Lloh42:
	adrp	x9, _EQ@GOTPAGE
Lloh43:
	ldr	x9, [x9, _EQ@GOTPAGEOFF]
Lloh44:
	adrp	x10, _NE@GOTPAGE
Lloh45:
	ldr	x10, [x10, _NE@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_13:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_cmp_operands,8,3               ; @cmp_operands
	.comm	_MODE_INT,8,3                   ; @MODE_INT
	.comm	_const0_rtx,8,3                 ; @const0_rtx
	.comm	_EQ,4,2                         ; @EQ
	.comm	_NE,4,2                         ; @NE
	.comm	_ISA_HAS_8CC,8,3                ; @ISA_HAS_8CC
	.comm	_CCmode,4,2                     ; @CCmode
	.comm	_FPSW_REGNUM,4,2                ; @FPSW_REGNUM
	.no_dead_strip	_mips_emit_compare
.subsections_via_symbols
