	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_promote_ready
_mips_promote_ready:                    ## @mips_promote_ready
	.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
	.cfi_offset %rbx, -24
	movslq	%esi, %rcx
	movl	(%rdi,%rcx,4), %r9d
	cmpl	%edx, %ecx
	jge	LBB0_12
## %bb.1:
	movslq	%edx, %rdx
	movq	%rdx, %r11
	subq	%rcx, %r11
	cmpq	$8, %r11
	jb	LBB0_10
## %bb.2:
	movq	%r11, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rax
	movq	%rax, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r10, %rsi
	andq	$-2, %rsi
	leaq	(%rdi,%rcx,4), %rbx
	addq	$52, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movups	-48(%rbx,%rax,4), %xmm0
	movups	-32(%rbx,%rax,4), %xmm1
	movups	-16(%rbx,%rax,4), %xmm2
	movups	(%rbx,%rax,4), %xmm3
	movups	%xmm0, -52(%rbx,%rax,4)
	movups	%xmm1, -36(%rbx,%rax,4)
	movups	%xmm2, -20(%rbx,%rax,4)
	movups	%xmm3, -4(%rbx,%rax,4)
	addq	$16, %rax
	addq	$-2, %rsi
	jne	LBB0_5
## %bb.6:
	testb	$1, %r10b
	je	LBB0_8
LBB0_7:
	addq	%rcx, %rax
	movups	4(%rdi,%rax,4), %xmm0
	movups	20(%rdi,%rax,4), %xmm1
	movups	%xmm0, (%rdi,%rax,4)
	movups	%xmm1, 16(%rdi,%rax,4)
LBB0_8:
	cmpq	%r8, %r11
	je	LBB0_11
## %bb.9:
	addq	%r8, %rcx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rdi,%rcx,4), %eax
	movl	%eax, (%rdi,%rcx,4)
	leaq	1(%rcx), %rax
	movq	%rax, %rcx
	cmpq	%rax, %rdx
	jne	LBB0_10
LBB0_11:
	movq	%rdx, %rcx
LBB0_12:
	movl	%r9d, (%rdi,%rcx,4)
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	testb	$1, %r10b
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mips_promote_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_promote_ready
_mips_promote_ready:                    ; @mips_promote_ready
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x13, w1
	mov	x10, x13
	ldr	w8, [x0, w1, sxtw #2]
	cmp	w1, w2
	b.ge	LBB0_8
; %bb.1:
	sxtw	x9, w2
	sub	x11, x9, x13
	cmp	x11, #16
	b.lo	LBB0_5
; %bb.2:
	and	x12, x11, #0xfffffffffffffff0
	add	x10, x12, x13
	add	x13, x0, x13, lsl #2
	add	x13, x13, #32
	mov	x14, x12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q0, [x13, #-28]
	ldur	q1, [x13, #-12]
	ldur	q2, [x13, #4]
	ldur	q3, [x13, #20]
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_3
; %bb.4:
	cmp	x11, x12
	b.eq	LBB0_7
LBB0_5:
	add	x11, x0, x10, lsl #2
	add	x11, x11, #4
	sub	x10, x9, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	stur	w12, [x11, #-4]
	add	x11, x11, #4
	subs	x10, x10, #1
	b.ne	LBB0_6
LBB0_7:
	mov	x10, x9
LBB0_8:
	str	w8, [x0, x10, lsl #2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mips_promote_ready
.subsections_via_symbols
