	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_save_reg_p
_mips_save_reg_p:                       ## @mips_save_reg_p
	.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	%edi, %ebx
	movq	_GLOBAL_POINTER_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_TARGET_ABICALLS@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.2:
	movq	_TARGET_NEWABI@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.3:
	movq	_cfun@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	xorl	%r14d, %r14d
	cmpl	%ebx, (%rax)
	sete	%r14b
	jmp	LBB0_19
LBB0_4:
	movq	_regs_ever_live@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%ebx, %r13d
	movq	(%rax,%r13,8), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_call_used_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx,%r13,4)
	je	LBB0_18
LBB0_6:
	movq	_HARD_FRAME_POINTER_REGNUM@GOTPCREL(%rip), %rcx
	movl	$1, %r14d
	cmpl	%ebx, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	_frame_pointer_needed@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_19
LBB0_8:
	movq	_GP_REG_FIRST@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	addl	$31, %ecx
	cmpl	%ebx, %ecx
	jne	LBB0_10
## %bb.9:
	testq	%rax, %rax
	jne	LBB0_19
LBB0_10:
	movq	_TARGET_MIPS16@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.11:
	movq	_current_function_decl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DECL_RESULT
	movl	(%r15), %edx
	leal	18(%rdx), %ecx
	cmpl	%ebx, %ecx
	jne	LBB0_13
## %bb.12:
	movq	(%r12), %rcx
	cmpq	$0, (%rcx,%r13,8)
	je	LBB0_13
LBB0_18:
	movl	$1, %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	addl	$31, %edx
	cmpl	%ebx, %edx
	jne	LBB0_19
## %bb.14:
	movq	_mips16_hard_float@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_19
## %bb.15:
	movq	_current_function_decl@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_aggregate_value_p
	testl	%eax, %eax
	jne	LBB0_19
## %bb.16:
	movl	%ebx, %edi
	callq	_DECL_MODE
	movl	%eax, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_FLOAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.17:
	movl	%ebx, %edi
	callq	_DECL_MODE
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
	movq	_UNITS_PER_FPVALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_18
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_GLOBAL_POINTER_REGNUM,4,2      ## @GLOBAL_POINTER_REGNUM
	.comm	_TARGET_ABICALLS,8,3            ## @TARGET_ABICALLS
	.comm	_TARGET_NEWABI,8,3              ## @TARGET_NEWABI
	.comm	_cfun,8,3                       ## @cfun
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_call_used_regs,8,3             ## @call_used_regs
	.comm	_HARD_FRAME_POINTER_REGNUM,4,2  ## @HARD_FRAME_POINTER_REGNUM
	.comm	_frame_pointer_needed,8,3       ## @frame_pointer_needed
	.comm	_GP_REG_FIRST,4,2               ## @GP_REG_FIRST
	.comm	_TARGET_MIPS16,8,3              ## @TARGET_MIPS16
	.comm	_current_function_decl,4,2      ## @current_function_decl
	.comm	_mips16_hard_float,8,3          ## @mips16_hard_float
	.comm	_MODE_FLOAT,8,3                 ## @MODE_FLOAT
	.comm	_UNITS_PER_FPVALUE,8,3          ## @UNITS_PER_FPVALUE
	.no_dead_strip	_mips_save_reg_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_save_reg_p
_mips_save_reg_p:                       ; @mips_save_reg_p
	.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	x8, _GLOBAL_POINTER_REGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLOBAL_POINTER_REGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _TARGET_ABICALLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TARGET_ABICALLS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _TARGET_NEWABI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TARGET_NEWABI@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_11
LBB0_2:
	mov	w0, #0
	b	LBB0_12
LBB0_3:
Lloh9:
	adrp	x21, _regs_ever_live@GOTPAGE
Lloh10:
	ldr	x21, [x21, _regs_ever_live@GOTPAGEOFF]
	ldr	x8, [x21]
	mov	w22, w19
	ldr	x8, [x8, w19, uxtw #3]
	cbz	x8, LBB0_5
; %bb.4:
Lloh11:
	adrp	x9, _call_used_regs@GOTPAGE
Lloh12:
	ldr	x9, [x9, _call_used_regs@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w9, [x9, x22, lsl #2]
	cbz	w9, LBB0_10
LBB0_5:
Lloh14:
	adrp	x9, _HARD_FRAME_POINTER_REGNUM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HARD_FRAME_POINTER_REGNUM@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _frame_pointer_needed@GOTPAGE
Lloh18:
	ldr	x10, [x10, _frame_pointer_needed@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	w9, w19
	ccmp	x10, #0, #4, eq
	b.ne	LBB0_10
; %bb.6:
Lloh20:
	adrp	x24, _GP_REG_FIRST@GOTPAGE
Lloh21:
	ldr	x24, [x24, _GP_REG_FIRST@GOTPAGEOFF]
	ldr	w9, [x24]
	add	w9, w9, #31
	cmp	w9, w19
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_10
; %bb.7:
Lloh22:
	adrp	x8, _TARGET_MIPS16@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TARGET_MIPS16@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.8:
Lloh25:
	adrp	x23, _current_function_decl@GOTPAGE
Lloh26:
	ldr	x23, [x23, _current_function_decl@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_DECL_RESULT
	mov	x20, x0
	ldr	w8, [x24]
	add	w9, w8, #18
	cmp	w9, w19
	b.ne	LBB0_13
; %bb.9:
	ldr	x9, [x21]
	ldr	x9, [x9, x22, lsl #3]
	cbz	x9, LBB0_13
LBB0_10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
Lloh27:
	adrp	x8, _cfun@GOTPAGE
Lloh28:
	ldr	x8, [x8, _cfun@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w0, eq
LBB0_12:
	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
LBB0_13:
	add	w8, w8, #31
Lloh30:
	adrp	x9, _mips16_hard_float@GOTPAGE
Lloh31:
	ldr	x9, [x9, _mips16_hard_float@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	w8, w19
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_2
; %bb.14:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_aggregate_value_p
	cbnz	w0, LBB0_2
; %bb.15:
	mov	x0, x20
	bl	_DECL_MODE
	bl	_GET_MODE_CLASS
Lloh33:
	adrp	x8, _MODE_FLOAT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MODE_FLOAT@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.16:
	mov	x0, x20
	bl	_DECL_MODE
	bl	_GET_MODE_SIZE
Lloh36:
	adrp	x8, _UNITS_PER_FPVALUE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _UNITS_PER_FPVALUE@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_2
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_GLOBAL_POINTER_REGNUM,4,2      ; @GLOBAL_POINTER_REGNUM
	.comm	_TARGET_ABICALLS,8,3            ; @TARGET_ABICALLS
	.comm	_TARGET_NEWABI,8,3              ; @TARGET_NEWABI
	.comm	_cfun,8,3                       ; @cfun
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_call_used_regs,8,3             ; @call_used_regs
	.comm	_HARD_FRAME_POINTER_REGNUM,4,2  ; @HARD_FRAME_POINTER_REGNUM
	.comm	_frame_pointer_needed,8,3       ; @frame_pointer_needed
	.comm	_GP_REG_FIRST,4,2               ; @GP_REG_FIRST
	.comm	_TARGET_MIPS16,8,3              ; @TARGET_MIPS16
	.comm	_current_function_decl,4,2      ; @current_function_decl
	.comm	_mips16_hard_float,8,3          ; @mips16_hard_float
	.comm	_MODE_FLOAT,8,3                 ; @MODE_FLOAT
	.comm	_UNITS_PER_FPVALUE,8,3          ; @UNITS_PER_FPVALUE
	.no_dead_strip	_mips_save_reg_p
.subsections_via_symbols
