	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_handle_align              ## -- Begin function mips_handle_align
	.p2align	4, 0x90
_mips_handle_align:                     ## @mips_handle_align
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_rs_align_code@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	_mips_opts@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movl	(%rax), %eax
	movslq	12(%rdi), %rdi
	movl	8(%rbx), %ecx
	addl	%edi, %ecx
	subl	%ecx, %eax
	addq	16(%rbx), %rdi
	testb	$1, %al
	je	LBB0_4
## %bb.3:
	movb	$0, (%rdi)
	incq	%rdi
	incl	12(%rbx)
LBB0_4:
	movq	_target_big_endian@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	leaq	_mips_handle_align.le_nop(%rip), %rax
	leaq	_mips_handle_align.be_nop(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	$2, %edx
	callq	_memcpy
	movl	$2, 24(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rs_align_code,8,3              ## @rs_align_code
	.comm	_mips_opts,8,3                  ## @mips_opts
	.section	__TEXT,__const
_mips_handle_align.be_nop:              ## @mips_handle_align.be_nop
	.asciz	"e"

_mips_handle_align.le_nop:              ## @mips_handle_align.le_nop
	.ascii	"\000e"

	.comm	_target_big_endian,8,3          ## @target_big_endian
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_handle_align              ; -- Begin function mips_handle_align
	.p2align	2
_mips_handle_align:                     ; @mips_handle_align
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _rs_align_code@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rs_align_code@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _mips_opts@GOTPAGE
Lloh4:
	ldr	x10, [x10, _mips_opts@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	w8, [x8]
	ldp	w9, w10, [x0, #8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	w9, w9, w10
	sub	w8, w8, w9
	ldr	x9, [x0, #16]
	add	x0, x9, x10
	tbz	w8, #0, LBB0_3
; %bb.2:
	strb	wzr, [x0], #1
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_3:
Lloh6:
	adrp	x8, _target_big_endian@GOTPAGE
Lloh7:
	ldr	x8, [x8, _target_big_endian@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _mips_handle_align.be_nop@PAGE
Lloh10:
	add	x9, x9, _mips_handle_align.be_nop@PAGEOFF
Lloh11:
	adrp	x10, _mips_handle_align.le_nop@PAGE
Lloh12:
	add	x10, x10, _mips_handle_align.le_nop@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
	mov	w20, #2
	mov	w2, #2
	bl	_memcpy
	str	w20, [x19, #24]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_rs_align_code,8,3              ; @rs_align_code
	.comm	_mips_opts,8,3                  ; @mips_opts
	.section	__TEXT,__const
_mips_handle_align.be_nop:              ; @mips_handle_align.be_nop
	.asciz	"e"

_mips_handle_align.le_nop:              ; @mips_handle_align.le_nop
	.ascii	"\000e"

	.comm	_target_big_endian,8,3          ; @target_big_endian
.subsections_via_symbols
