	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_expand_unaligned_load     ## -- Begin function mips_expand_unaligned_load
	.p2align	4, 0x90
_mips_expand_unaligned_load:            ## @mips_expand_unaligned_load
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%edi, %r12d
	movl	%esi, -36(%rbp)
	callq	_GET_CODE
	movq	_SUBREG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movl	%r12d, %edi
	callq	_GET_MODE
	movq	_DImode@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	%r12d, %edi
	callq	_SUBREG_BYTE
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	%r12d, %edi
	callq	_SUBREG_REG
	movl	%eax, %edi
	callq	_GET_MODE
	movq	_SImode@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r12d, %edi
	callq	_SUBREG_REG
	movl	%eax, %r12d
LBB0_5:
	movl	%r12d, %edi
	callq	_GET_MODE
	movq	%rax, %rdi
	callq	_GET_MODE_BITSIZE
	xorl	%ebx, %ebx
	cmpl	%r15d, %eax
	jne	LBB0_11
## %bb.6:
	leaq	-36(%rbp), %rdi
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_mips_get_unaligned_mem
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movl	%r12d, %edi
	callq	_GET_MODE
	movq	%rax, %rdi
	callq	_gen_reg_rtx
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_GET_MODE
	movq	_DImode@GOTPCREL(%rip), %rcx
	movl	-36(%rbp), %esi
	movl	-44(%rbp), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r14d, %edi
	callq	_gen_mov_ldl
	movl	%eax, %edi
	callq	_emit_insn
	movl	-36(%rbp), %edi
	callq	_copy_rtx
	movl	-40(%rbp), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%r14d, %ecx
	callq	_gen_mov_ldr
	jmp	LBB0_10
LBB0_9:
	movl	%r14d, %edi
	callq	_gen_mov_lwl
	movl	%eax, %edi
	callq	_emit_insn
	movl	-36(%rbp), %edi
	callq	_copy_rtx
	movl	-40(%rbp), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%r14d, %ecx
	callq	_gen_mov_lwr
LBB0_10:
	movl	%eax, %edi
	callq	_emit_insn
	movl	$1, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBREG,8,3                     ## @SUBREG
	.comm	_DImode,8,3                     ## @DImode
	.comm	_SImode,8,3                     ## @SImode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_expand_unaligned_load     ; -- Begin function mips_expand_unaligned_load
	.p2align	2
_mips_expand_unaligned_load:            ; @mips_expand_unaligned_load
	.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, x3
	mov	x21, x2
	mov	x19, x0
	str	w1, [sp, #12]
	bl	_GET_CODE
Lloh0:
	adrp	x8, _SUBREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUBREG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_GET_MODE
Lloh3:
	adrp	x8, _DImode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DImode@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_SUBREG_BYTE
	cbnz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_SUBREG_REG
	bl	_GET_MODE
Lloh6:
	adrp	x8, _SImode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SImode@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_SUBREG_REG
	mov	x19, x0
LBB0_5:
	mov	x0, x19
	bl	_GET_MODE
	bl	_GET_MODE_BITSIZE
	cmp	w0, w21
	b.ne	LBB0_9
; %bb.6:
	add	x0, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x1, x21
	mov	x2, x20
	bl	_mips_get_unaligned_mem
	cbz	w0, LBB0_12
; %bb.7:
	mov	x0, x19
	bl	_GET_MODE
	bl	_gen_reg_rtx
	mov	x20, x0
	mov	x0, x19
	bl	_GET_MODE
Lloh9:
	adrp	x8, _DImode@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DImode@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldp	w2, w1, [sp, #8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_gen_mov_ldl
	bl	_emit_insn
	ldr	w0, [sp, #12]
	bl	_copy_rtx
	mov	x1, x0
	ldr	w2, [sp, #4]
	mov	x0, x19
	mov	x3, x20
	bl	_gen_mov_ldr
	b	LBB0_11
LBB0_9:
	mov	w0, #0
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	bl	_gen_mov_lwl
	bl	_emit_insn
	ldr	w0, [sp, #12]
	bl	_copy_rtx
	mov	x1, x0
	ldr	w2, [sp, #4]
	mov	x0, x19
	mov	x3, x20
	bl	_gen_mov_lwr
LBB0_11:
	bl	_emit_insn
	mov	w0, #1
LBB0_12:
	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	_SUBREG,8,3                     ; @SUBREG
	.comm	_DImode,8,3                     ; @DImode
	.comm	_SImode,8,3                     ; @SImode
.subsections_via_symbols
