	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_legitimize_const_move
_mips_legitimize_const_move:            ## @mips_legitimize_const_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	%edx, %edi
	movl	%r15d, %esi
	callq	_splittable_const_int_operand
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	movl	%ebx, %edi
	callq	_INTVAL
	movl	%r14d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mips_move_integer              ## TAILCALL
LBB0_1:
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_splittable_symbolic_operand
	testq	%rax, %rax
	je	LBB0_2
## %bb.13:
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_mips_split_symbol
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_gen_rtx_SET
	movl	%eax, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_insn                      ## TAILCALL
LBB0_2:
	movl	%ebx, %edi
	callq	_mips_tls_operand_p
	testq	%rax, %rax
	je	LBB0_3
## %bb.14:
	movl	%ebx, %edi
	callq	_mips_legitimize_tls_address
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_move_insn                 ## TAILCALL
LBB0_3:
	leaq	-28(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movl	%ebx, %edi
	callq	_mips_split_const
	movq	_TARGET_MIPS16@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.4:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	movq	_no_new_pseudos@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.6:
	callq	_SMALL_OPERAND
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movl	-28(%rbp), %esi
	movl	%r14d, %edi
	callq	_mips_force_temporary
	movl	%eax, -28(%rbp)
	movq	-40(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_mips_add_offset
	movl	%r14d, %edi
	movl	%eax, %esi
	jmp	LBB0_11
LBB0_8:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_force_const_mem
	movl	%eax, %ebx
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_memory_operand
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_mips_split_symbol
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_replace_equiv_address
	movl	%eax, %ebx
LBB0_10:
	movl	%r14d, %edi
	movl	%ebx, %esi
LBB0_11:
	callq	_emit_move_insn
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_TARGET_MIPS16,4,2              ## @TARGET_MIPS16
	.comm	_no_new_pseudos,4,2             ## @no_new_pseudos
	.no_dead_strip	_mips_legitimize_const_move
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_legitimize_const_move
_mips_legitimize_const_move:            ; @mips_legitimize_const_move
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x2
	mov	x1, x21
	bl	_splittable_const_int_operand
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_INTVAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x19
	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
	add	sp, sp, #64
	b	_mips_move_integer
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	bl	_splittable_symbolic_operand
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mips_split_symbol
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_gen_rtx_SET
	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
	add	sp, sp, #64
	b	_emit_insn
LBB0_4:
	mov	x0, x20
	bl	_mips_tls_operand_p
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_mips_legitimize_tls_address
	mov	x1, x0
	mov	x0, x19
	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
	add	sp, sp, #64
	b	_emit_move_insn
LBB0_6:
	add	x1, sp, #12
	mov	x2, sp
	mov	x0, x20
	bl	_mips_split_const
Lloh3:
	adrp	x8, _TARGET_MIPS16@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TARGET_MIPS16@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x0, [sp]
	cmp	w8, #0
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_10
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	bl	_force_const_mem
	mov	x20, x0
Lloh6:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_memory_operand
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	w1, #0
	bl	_XEXP
	mov	x1, x0
	mov	x0, x19
	bl	_mips_split_symbol
	mov	x1, x0
	mov	x0, x20
	bl	_replace_equiv_address
	mov	x20, x0
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	b	LBB0_13
LBB0_10:
Lloh9:
	adrp	x8, _no_new_pseudos@GOTPAGE
Lloh10:
	ldr	x8, [x8, _no_new_pseudos@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.11:
	bl	_SMALL_OPERAND
	cbz	x0, LBB0_7
LBB0_12:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_mips_force_temporary
	mov	x1, x0
	str	w0, [sp, #12]
	ldr	x2, [sp]
	mov	w0, #0
	bl	_mips_add_offset
	mov	x1, x0
	mov	x0, x19
LBB0_13:
	bl	_emit_move_insn
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_TARGET_MIPS16,4,2              ; @TARGET_MIPS16
	.comm	_no_new_pseudos,4,2             ; @no_new_pseudos
	.no_dead_strip	_mips_legitimize_const_move
.subsections_via_symbols
