	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_expand_unaligned_store    ## -- Begin function mips_expand_unaligned_store
	.p2align	4, 0x90
_mips_expand_unaligned_store:           ## @mips_expand_unaligned_store
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, -20(%rbp)
	leaq	-20(%rbp), %rdi
	leaq	-28(%rbp), %rax
	leaq	-24(%rbp), %r8
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%rax, %rcx
	callq	_mips_get_unaligned_mem
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_MODE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_mode_for_size
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_gen_lowpart
	movl	%eax, %r14d
	movq	_DImode@GOTPCREL(%rip), %rax
	movl	-20(%rbp), %edi
	movl	-28(%rbp), %edx
	cmpl	(%rax), %ebx
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %esi
	callq	_gen_mov_sdl
	movl	%eax, %edi
	callq	_emit_insn
	movl	-20(%rbp), %edi
	callq	_copy_rtx
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_copy_rtx
	movl	-24(%rbp), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_mov_sdr
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movl	%r14d, %esi
	callq	_gen_mov_swl
	movl	%eax, %edi
	callq	_emit_insn
	movl	-20(%rbp), %edi
	callq	_copy_rtx
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_copy_rtx
	movl	-24(%rbp), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_mov_swr
LBB0_5:
	movl	%eax, %edi
	callq	_emit_insn
	movl	$1, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_INT,4,2                   ## @MODE_INT
	.comm	_DImode,4,2                     ## @DImode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_expand_unaligned_store    ; -- Begin function mips_expand_unaligned_store
	.p2align	2
_mips_expand_unaligned_store:           ; @mips_expand_unaligned_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x3
	mov	x20, x2
	mov	x19, x1
	str	w0, [sp, #12]
	add	x0, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x1, x2
	mov	x2, x8
	bl	_mips_get_unaligned_mem
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _MODE_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_INT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_mode_for_size
	mov	x20, x0
	mov	x1, x19
	bl	_gen_lowpart
	mov	x19, x0
Lloh3:
	adrp	x8, _DImode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DImode@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w2, w0, [sp, #8]
	mov	x1, x19
	cmp	w20, w8
	b.ne	LBB0_3
; %bb.2:
	bl	_gen_mov_sdl
	bl	_emit_insn
	ldr	w0, [sp, #12]
	bl	_copy_rtx
	mov	x20, x0
	mov	x0, x19
	bl	_copy_rtx
	mov	x1, x0
	ldr	w2, [sp, #4]
	mov	x0, x20
	bl	_gen_mov_sdr
	b	LBB0_4
LBB0_3:
	bl	_gen_mov_swl
	bl	_emit_insn
	ldr	w0, [sp, #12]
	bl	_copy_rtx
	mov	x20, x0
	mov	x0, x19
	bl	_copy_rtx
	mov	x1, x0
	ldr	w2, [sp, #4]
	mov	x0, x20
	bl	_gen_mov_swr
LBB0_4:
	bl	_emit_insn
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_INT,4,2                   ; @MODE_INT
	.comm	_DImode,4,2                     ; @DImode
.subsections_via_symbols
