	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_for_each_saved_reg
_mips_for_each_saved_reg:               ## @mips_for_each_saved_reg
	.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
	movl	%esi, %r15d
	movq	_cfun@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_GP_REG_LAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_GP_REG_FIRST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %ebx
	jl	LBB0_7
## %bb.1:
	movq	24(%rax), %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	subq	%rdi, %r12
	movq	_gpr_mode@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	16(%rax), %rax
	movl	%ebx, %edx
	subl	%ecx, %edx
	btq	%rdx, %rax
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_mips_save_restore_reg
	movl	(%r13), %edi
	callq	_GET_MODE_SIZE
	subq	%rax, %r12
	movq	_GP_REG_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %ebx
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%ebx
	movq	(%r14), %rax
	movq	(%rax), %rax
	jmp	LBB0_2
LBB0_6:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:
	movq	_TARGET_SINGLE_FLOAT@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_8
## %bb.9:
	movq	_DFmode@GOTPCREL(%rip), %rsi
	jmp	LBB0_10
LBB0_8:
	movq	_SFmode@GOTPCREL(%rip), %rsi
LBB0_10:
	movq	_FP_REG_LAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_FP_INC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%ecx, %ebx
	incl	%ebx
	movq	_FP_REG_FIRST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %ebx
	jge	LBB0_11
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	(%rsi), %r12d
	movq	8(%rax), %r13
	subq	%rdi, %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rax), %rax
	movl	%ebx, %esi
	subl	%edx, %esi
	btq	%rsi, %rax
	jae	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r12d, %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	_mips_save_restore_reg
	movl	%r12d, %edi
	callq	_GET_MODE_SIZE
	subq	%rax, %r13
	movq	_FP_INC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_FP_REG_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	subl	%ecx, %ebx
	cmpl	%edx, %ebx
	jl	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_cfun,8,3                       ## @cfun
	.comm	_GP_REG_LAST,4,2                ## @GP_REG_LAST
	.comm	_GP_REG_FIRST,4,2               ## @GP_REG_FIRST
	.comm	_gpr_mode,4,2                   ## @gpr_mode
	.comm	_TARGET_SINGLE_FLOAT,8,3        ## @TARGET_SINGLE_FLOAT
	.comm	_SFmode,4,2                     ## @SFmode
	.comm	_DFmode,4,2                     ## @DFmode
	.comm	_FP_REG_LAST,4,2                ## @FP_REG_LAST
	.comm	_FP_INC,4,2                     ## @FP_INC
	.comm	_FP_REG_FIRST,4,2               ## @FP_REG_FIRST
	.no_dead_strip	_mips_for_each_saved_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_for_each_saved_reg
_mips_for_each_saved_reg:               ; @mips_for_each_saved_reg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _cfun@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cfun@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _GP_REG_LAST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GP_REG_LAST@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh4:
	ldr	w21, [x9]
Lloh5:
	adrp	x24, _GP_REG_FIRST@GOTPAGE
Lloh6:
	ldr	x24, [x24, _GP_REG_FIRST@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w21, w9
	b.lt	LBB0_7
; %bb.1:
	ldr	x10, [x8, #24]
	sub	x22, x10, x20
Lloh7:
	adrp	x25, _gpr_mode@GOTPAGE
Lloh8:
	ldr	x25, [x25, _gpr_mode@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x8, #16]
	sub	w10, w21, w9
	lsr	x8, x8, x10
	tbz	w8, #0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	bl	_mips_save_restore_reg
	ldr	w0, [x25]
	bl	_GET_MODE_SIZE
	sub	x22, x22, x0
	ldr	w9, [x24]
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w21, w9
	b.le	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w21, w21, #1
	ldr	x8, [x23]
	ldr	x8, [x8]
	b	LBB0_2
LBB0_6:
	ldr	x8, [x23]
	ldr	x8, [x8]
LBB0_7:
Lloh9:
	adrp	x9, _TARGET_SINGLE_FLOAT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TARGET_SINGLE_FLOAT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _SFmode@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SFmode@GOTPAGEOFF]
Lloh14:
	adrp	x11, _DFmode@GOTPAGE
Lloh15:
	ldr	x11, [x11, _DFmode@GOTPAGEOFF]
	cmp	x9, #0
	csel	x11, x11, x10, eq
Lloh16:
	adrp	x9, _FP_REG_LAST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FP_REG_LAST@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x9]
Lloh19:
	adrp	x24, _FP_INC@GOTPAGE
Lloh20:
	ldr	x24, [x24, _FP_INC@GOTPAGEOFF]
	ldr	w9, [x24]
	sub	w10, w10, w9
	add	w21, w10, #1
Lloh21:
	adrp	x25, _FP_REG_FIRST@GOTPAGE
Lloh22:
	ldr	x25, [x25, _FP_REG_FIRST@GOTPAGEOFF]
	ldr	w10, [x25]
	cmp	w21, w10
	b.ge	LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w22, [x11]
	ldr	x11, [x8, #8]
	sub	x20, x11, x20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x8]
	sub	w11, w21, w10
	lsr	x8, x8, x11
	tbz	w8, #0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_mips_save_restore_reg
	mov	x0, x22
	bl	_GET_MODE_SIZE
	sub	x20, x20, x0
	ldr	w9, [x24]
	ldr	w10, [x25]
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	w21, w21, w9
	cmp	w21, w10
	b.lt	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_cfun,8,3                       ; @cfun
	.comm	_GP_REG_LAST,4,2                ; @GP_REG_LAST
	.comm	_GP_REG_FIRST,4,2               ; @GP_REG_FIRST
	.comm	_gpr_mode,4,2                   ; @gpr_mode
	.comm	_TARGET_SINGLE_FLOAT,8,3        ; @TARGET_SINGLE_FLOAT
	.comm	_SFmode,4,2                     ; @SFmode
	.comm	_DFmode,4,2                     ; @DFmode
	.comm	_FP_REG_LAST,4,2                ; @FP_REG_LAST
	.comm	_FP_INC,4,2                     ; @FP_INC
	.comm	_FP_REG_FIRST,4,2               ; @FP_REG_FIRST
	.no_dead_strip	_mips_for_each_saved_reg
.subsections_via_symbols
