	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_parse_cpu
_mips_parse_cpu:                        ## @mips_parse_cpu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_5
## %bb.1:
	leaq	1(%r14), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_ISUPPER
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_3
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_warning
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	_mips_cpu_info_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rsi
	callq	_mips_matching_cpu_name_p
	testq	%rax, %rax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_13
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_ABI_NEEDS_32BIT_REGS@GOTPCREL(%rip), %rax
	movl	$1, %edi
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.7:
	movq	_ABI_NEEDS_64BIT_REGS@GOTPCREL(%rip), %rax
	movl	$3, %edi
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_TARGET_64BIT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	setne	%cl
	leal	(%rcx,%rcx), %edi
	incl	%edi
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mips_cpu_info_from_isa         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"the cpu name must be lower case"

L_.str.1:                               ## @.str.1
	.asciz	"from-abi"

	.comm	_ABI_NEEDS_32BIT_REGS,8,3       ## @ABI_NEEDS_32BIT_REGS
	.comm	_ABI_NEEDS_64BIT_REGS,8,3       ## @ABI_NEEDS_64BIT_REGS
	.comm	_TARGET_64BIT,8,3               ## @TARGET_64BIT
L_.str.2:                               ## @.str.2
	.asciz	"default"

	.comm	_mips_cpu_info_table,8,3        ## @mips_cpu_info_table
	.no_dead_strip	_mips_parse_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_parse_cpu
_mips_parse_cpu:                        ; @mips_parse_cpu
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	add	x20, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_ISUPPER
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_2
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_warning
LBB0_5:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_12
; %bb.6:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_10
; %bb.7:
Lloh6:
	adrp	x8, _mips_cpu_info_table@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mips_cpu_info_table@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	ldr	x0, [x20]
	cbz	x0, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x19
	bl	_mips_matching_cpu_name_p
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x20, #8]!
	cbnz	x0, LBB0_8
LBB0_10:
	mov	x20, #0
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh9:
	adrp	x8, _ABI_NEEDS_32BIT_REGS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABI_NEEDS_32BIT_REGS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
	mov	w0, #1
	b	LBB0_16
LBB0_14:
Lloh12:
	adrp	x8, _ABI_NEEDS_64BIT_REGS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ABI_NEEDS_64BIT_REGS@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mov	w0, #3
	cbnz	x8, LBB0_16
; %bb.15:
Lloh15:
	adrp	x8, _TARGET_64BIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TARGET_64BIT@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, #0
	csinc	w0, w0, wzr, ne
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mips_cpu_info_from_isa
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"the cpu name must be lower case"

l_.str.1:                               ; @.str.1
	.asciz	"from-abi"

	.comm	_ABI_NEEDS_32BIT_REGS,8,3       ; @ABI_NEEDS_32BIT_REGS
	.comm	_ABI_NEEDS_64BIT_REGS,8,3       ; @ABI_NEEDS_64BIT_REGS
	.comm	_TARGET_64BIT,8,3               ; @TARGET_64BIT
l_.str.2:                               ; @.str.2
	.asciz	"default"

	.comm	_mips_cpu_info_table,8,3        ; @mips_cpu_info_table
	.no_dead_strip	_mips_parse_cpu
.subsections_via_symbols
