	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_legitimize_move           ## -- Begin function mips_legitimize_move
	.p2align	4, 0x90
_mips_legitimize_move:                  ## @mips_legitimize_move
	.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	%edx, %r15d
	movl	%esi, %r14d
	movl	%edi, %r13d
	movl	%esi, %edi
	movl	%r13d, %esi
	callq	_register_operand
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_reg_or_0_operand
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	%r13d, %edi
	callq	_GET_MODE_SIZE
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_14
## %bb.4:
	movl	%r15d, %edi
	callq	_REG_P
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movl	%r15d, %edi
	callq	_REGNO
	movl	%eax, %edi
	callq	_MD_REG_P
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movl	%r14d, %edi
	callq	_REG_P
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movl	%r14d, %edi
	callq	_REGNO
	movl	%eax, %edi
	callq	_GP_REG_P
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movl	%r15d, %edi
	callq	_REGNO
	movq	_HI_REGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	cmpl	%r12d, %eax
	jne	LBB0_10
## %bb.9:
	movq	_LO_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_10:
	movl	%r13d, %edi
	callq	_GET_MODE_SIZE
	cmpl	$4, %eax
	jg	LBB0_13
## %bb.11:
	movq	_SImode@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%r14d, %edi
	callq	_REGNO
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_REG
	movl	%eax, %r14d
	movl	(%r13), %ebx
	movl	%r15d, %edi
	callq	_REGNO
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_REG
	movl	%eax, %ebx
	movl	(%r13), %edi
	movl	%r12d, %esi
	callq	_gen_rtx_REG
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_gen_mfhilo_si
	jmp	LBB0_12
LBB0_14:
	movl	%r15d, %edi
	callq	_CONSTANT_P
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_move_operand
	testl	%eax, %eax
	jne	LBB0_18
## %bb.16:
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_mips_legitimize_const_move
	xorl	%eax, %eax
	callq	_get_last_insn
	movl	%eax, %r14d
	movq	_REG_EQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_copy_rtx
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_set_unique_reg_note
	jmp	LBB0_17
LBB0_2:
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_force_reg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
	jmp	LBB0_17
LBB0_13:
	movq	_DImode@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%r14d, %edi
	callq	_REGNO
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_REG
	movl	%eax, %r14d
	movl	(%r13), %ebx
	movl	%r15d, %edi
	callq	_REGNO
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_REG
	movl	%eax, %ebx
	movl	(%r13), %edi
	movl	%r12d, %esi
	callq	_gen_rtx_REG
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_gen_mfhilo_di
LBB0_12:
	movl	%eax, %edi
	callq	_emit_insn
LBB0_17:
	movl	$1, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.comm	_HI_REGNUM,4,2                  ## @HI_REGNUM
	.comm	_LO_REGNUM,4,2                  ## @LO_REGNUM
	.comm	_SImode,4,2                     ## @SImode
	.comm	_DImode,4,2                     ## @DImode
	.comm	_REG_EQUAL,4,2                  ## @REG_EQUAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_legitimize_move           ; -- Begin function mips_legitimize_move
	.p2align	2
_mips_legitimize_move:                  ; @mips_legitimize_move
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x21
	bl	_register_operand
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_reg_or_0_operand
	cbz	w0, LBB0_13
LBB0_2:
	mov	x0, x21
	bl	_GET_MODE_SIZE
Lloh0:
	adrp	x8, _UNITS_PER_WORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNITS_PER_WORD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.gt	LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_REG_P
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_REGNO
	bl	_MD_REG_P
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_REG_P
	cbz	x0, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_REGNO
	bl	_GP_REG_P
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_REGNO
Lloh3:
	adrp	x8, _HI_REGNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HI_REGNUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _LO_REGNUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LO_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w22, w9, w8, eq
	mov	x0, x21
	bl	_GET_MODE_SIZE
	cmp	w0, #4
	b.gt	LBB0_14
; %bb.8:
Lloh9:
	adrp	x23, _SImode@GOTPAGE
Lloh10:
	ldr	x23, [x23, _SImode@GOTPAGEOFF]
	ldr	w21, [x23]
	mov	x0, x20
	bl	_REGNO
	mov	x1, x0
	mov	x0, x21
	bl	_gen_rtx_REG
	mov	x20, x0
	ldr	w21, [x23]
	mov	x0, x19
	bl	_REGNO
	mov	x1, x0
	mov	x0, x21
	bl	_gen_rtx_REG
	mov	x19, x0
	ldr	w0, [x23]
	mov	x1, x22
	bl	_gen_rtx_REG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_gen_mfhilo_si
	b	LBB0_15
LBB0_9:
	mov	x0, x19
	bl	_CONSTANT_P
	cbz	x0, LBB0_17
; %bb.10:
	mov	x0, x19
	mov	x1, x21
	bl	_move_operand
	cbz	w0, LBB0_12
; %bb.11:
	mov	w0, #0
	b	LBB0_17
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_mips_legitimize_const_move
	bl	_get_last_insn
	mov	x20, x0
Lloh11:
	adrp	x8, _REG_EQUAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_EQUAL@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_copy_rtx
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_set_unique_reg_note
	b	LBB0_16
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	bl	_force_reg
	mov	x1, x0
	mov	x0, x20
	bl	_emit_move_insn
	b	LBB0_16
LBB0_14:
Lloh14:
	adrp	x23, _DImode@GOTPAGE
Lloh15:
	ldr	x23, [x23, _DImode@GOTPAGEOFF]
	ldr	w21, [x23]
	mov	x0, x20
	bl	_REGNO
	mov	x1, x0
	mov	x0, x21
	bl	_gen_rtx_REG
	mov	x20, x0
	ldr	w21, [x23]
	mov	x0, x19
	bl	_REGNO
	mov	x1, x0
	mov	x0, x21
	bl	_gen_rtx_REG
	mov	x19, x0
	ldr	w0, [x23]
	mov	x1, x22
	bl	_gen_rtx_REG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_gen_mfhilo_di
LBB0_15:
	bl	_emit_insn
LBB0_16:
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.comm	_HI_REGNUM,4,2                  ; @HI_REGNUM
	.comm	_LO_REGNUM,4,2                  ; @LO_REGNUM
	.comm	_SImode,4,2                     ; @SImode
	.comm	_DImode,4,2                     ; @DImode
	.comm	_REG_EQUAL,4,2                  ; @REG_EQUAL
.subsections_via_symbols
