	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_register_reggroup_p
_mips_register_reggroup_p:              ## @mips_register_reggroup_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	_NUM_REGS@GOTPCREL(%rip), %r15
	movl	%esi, %eax
	cltd
	idivl	(%r15)
	movl	%eax, %r14d
	movq	_all_reggroup@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	callq	_register_type
	movl	%eax, %edi
	callq	_TYPE_VECTOR
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_register_type
	movl	%eax, %edi
	callq	_TYPE_CODE
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_TYPE_CODE_FLT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r15d
	movl	%r13d, %edi
	callq	_REGISTER_NAME
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movl	%r13d, %edi
	callq	_REGISTER_NAME
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.4:
	movq	_float_reggroup@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_5
## %bb.6:
	movq	_vector_reggroup@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_7
## %bb.8:
	movq	_general_reggroup@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_9
## %bb.10:
	movq	_save_reggroup@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_restore_reggroup@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_15
LBB0_12:
	cmpl	%r15d, -44(%rbp)                ## 4-byte Folded Reload
	setl	%al
	jmp	LBB0_13
LBB0_1:
	movl	%r14d, %ebx
	jmp	LBB0_15
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -64(%rbp)                 ## 8-byte Folded Reload
	sete	%al
	jmp	LBB0_13
LBB0_7:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	setne	%al
LBB0_13:
	testl	%r14d, %r14d
	setne	%cl
	andb	%al, %cl
LBB0_14:
	movzbl	%cl, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -64(%rbp)                 ## 8-byte Folded Reload
	setne	%al
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%cl
	testl	%r14d, %r14d
	setne	%dl
	andb	%al, %cl
	andb	%dl, %cl
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_all_reggroup,8,3               ## @all_reggroup
	.comm	_TYPE_CODE_FLT,8,3              ## @TYPE_CODE_FLT
	.comm	_float_reggroup,8,3             ## @float_reggroup
	.comm	_vector_reggroup,8,3            ## @vector_reggroup
	.comm	_general_reggroup,8,3           ## @general_reggroup
	.comm	_save_reggroup,8,3              ## @save_reggroup
	.comm	_restore_reggroup,8,3           ## @restore_reggroup
	.no_dead_strip	_mips_register_reggroup_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_register_reggroup_p
_mips_register_reggroup_p:              ; @mips_register_reggroup_p
	.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
Lloh0:
	adrp	x25, _NUM_REGS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NUM_REGS@GOTPAGEOFF]
	ldr	w24, [x25]
	sdiv	w19, w1, w24
Lloh2:
	adrp	x8, _all_reggroup@GOTPAGE
Lloh3:
	ldr	x8, [x8, _all_reggroup@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_9
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	bl	_register_type
	bl	_TYPE_VECTOR
	mov	x22, x0
	mov	x0, x23
	mov	x1, x21
	bl	_register_type
	bl	_TYPE_CODE
	mov	x23, x0
Lloh5:
	adrp	x8, _TYPE_CODE_FLT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPE_CODE_FLT@GOTPAGEOFF]
Lloh7:
	ldr	x26, [x8]
	ldr	w25, [x25]
	mov	x0, x21
	bl	_REGISTER_NAME
	cbz	x0, LBB0_8
; %bb.2:
	mov	x0, x21
	bl	_REGISTER_NAME
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.3:
Lloh8:
	adrp	x8, _float_reggroup@GOTPAGE
Lloh9:
	ldr	x8, [x8, _float_reggroup@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_10
; %bb.4:
Lloh11:
	adrp	x8, _vector_reggroup@GOTPAGE
Lloh12:
	ldr	x8, [x8, _vector_reggroup@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_11
; %bb.5:
Lloh14:
	adrp	x8, _general_reggroup@GOTPAGE
Lloh15:
	ldr	x8, [x8, _general_reggroup@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_12
; %bb.6:
	msub	w8, w19, w24, w21
Lloh17:
	adrp	x9, _save_reggroup@GOTPAGE
Lloh18:
	ldr	x9, [x9, _save_reggroup@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x20
	b.eq	LBB0_14
; %bb.7:
Lloh20:
	adrp	x9, _restore_reggroup@GOTPAGE
Lloh21:
	ldr	x9, [x9, _restore_reggroup@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	w19, #0
	ccmp	w8, w25, #0, ne
	cset	w8, lt
	cmp	x9, x20
	csel	w19, wzr, w8, ne
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	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_10:
	cmp	x23, x26
	ccmp	w19, #0, #4, eq
	cset	w19, ne
	b	LBB0_9
LBB0_11:
	cmp	w22, #0
	b	LBB0_13
LBB0_12:
	cmp	w22, #0
	ccmp	x23, x26, #4, eq
LBB0_13:
	ccmp	w19, #0, #4, ne
	cset	w19, ne
	b	LBB0_9
LBB0_14:
	cmp	w19, #0
	ccmp	w8, w25, #0, ne
	cset	w19, lt
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_all_reggroup,8,3               ; @all_reggroup
	.comm	_TYPE_CODE_FLT,8,3              ; @TYPE_CODE_FLT
	.comm	_float_reggroup,8,3             ; @float_reggroup
	.comm	_vector_reggroup,8,3            ; @vector_reggroup
	.comm	_general_reggroup,8,3           ; @general_reggroup
	.comm	_save_reggroup,8,3              ; @save_reggroup
	.comm	_restore_reggroup,8,3           ; @restore_reggroup
	.no_dead_strip	_mips_register_reggroup_p
.subsections_via_symbols
