	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_macc_chains_reorder
_mips_macc_chains_reorder:              ## @mips_macc_chains_reorder
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_mips_macc_chains_last_hilo@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	%esi, %r15d
	testl	%esi, %esi
	jle	LBB0_9
## %bb.2:
	leal	-1(%r15), %r13d
	movl	%r13d, %r12d
	movl	(%r14,%r12,4), %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	callq	_mips_linked_madd_p
	testq	%rax, %rax
	jne	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%r12, %r12
	jle	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rdi
	movl	-4(%r14,%r12,4), %esi
	decq	%r12
	jmp	LBB0_3
LBB0_4:
	cmpl	%r12d, %r13d
	jle	LBB0_9
## %bb.5:
	movslq	%r15d, %rbx
	decq	%rbx
	movslq	%r12d, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	decq	%rbx
	cmpq	%r15, %rbx
	jle	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_recog_memoized
	testq	%rax, %rax
	js	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_get_attr_may_clobber_hilo
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mips_promote_ready             ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mips_macc_chains_last_hilo,8,3 ## @mips_macc_chains_last_hilo
	.no_dead_strip	_mips_macc_chains_reorder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_macc_chains_reorder
_mips_macc_chains_reorder:              ; @mips_macc_chains_reorder
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x23, _mips_macc_chains_last_hilo@GOTPAGE
Lloh1:
	ldr	x23, [x23, _mips_macc_chains_last_hilo@GOTPAGEOFF]
	ldr	x0, [x23]
	cbz	x0, LBB0_13
; %bb.1:
	mov	x21, x1
	subs	w22, w1, #1
	b.lt	LBB0_13
; %bb.2:
	ldr	w1, [x19, w22, uxtw #2]
	bl	_mips_linked_madd_p
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x22
	b	LBB0_7
LBB0_4:
	sub	x24, x19, #4
	mov	x8, x22
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	subs	x20, x8, #1
	b.lt	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23]
	ldr	w1, [x24, x8, lsl #2]
	bl	_mips_linked_madd_p
	mov	x8, x20
	cbz	x0, LBB0_5
LBB0_7:
	cmp	w22, w20
	b.le	LBB0_13
; %bb.8:
	sxtw	x8, w21
	sub	x21, x8, #1
	sxtw	x22, w20
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	sub	x21, x21, #1
	cmp	x21, x22
	b.le	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, x21, lsl #2]
	bl	_recog_memoized
	tbnz	x0, #63, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19, x21, lsl #2]
	bl	_get_attr_may_clobber_hilo
	cbz	x0, LBB0_9
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mips_promote_ready
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mips_macc_chains_last_hilo,8,3 ; @mips_macc_chains_last_hilo
	.no_dead_strip	_mips_macc_chains_reorder
.subsections_via_symbols
