	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	_mips_cpu_info_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	callq	_mips_matching_cpu_name_p
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_3
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_as_bad
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_mips_abi@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ABI_NEEDS_32BIT_REGS
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	_ISA_MIPS1@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movl	(%rbx), %edi
	callq	_ABI_NEEDS_64BIT_REGS
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	movq	_ISA_MIPS3@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mips_cpu_info_from_isa         ## TAILCALL
LBB0_13:
	movq	_file_mips_gp32@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	js	LBB0_16
## %bb.14:
	jne	LBB0_9
	jmp	LBB0_11
LBB0_16:
	movq	_MIPS_DEFAULT_64BIT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"from-abi"

	.comm	_mips_abi,4,2                   ## @mips_abi
	.comm	_ISA_MIPS1,4,2                  ## @ISA_MIPS1
	.comm	_ISA_MIPS3,4,2                  ## @ISA_MIPS3
	.comm	_file_mips_gp32,8,3             ## @file_mips_gp32
	.comm	_MIPS_DEFAULT_64BIT,8,3         ## @MIPS_DEFAULT_64BIT
L_.str.1:                               ## @.str.1
	.asciz	"default"

	.comm	_mips_cpu_info_table,8,3        ## @mips_cpu_info_table
L_.str.2:                               ## @.str.2
	.asciz	"Bad value (%s) for %s"

	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_8
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x8, _mips_cpu_info_table@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mips_cpu_info_table@GOTPAGEOFF]
Lloh6:
	ldr	x21, [x8]
	ldr	x0, [x21]
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_mips_matching_cpu_name_p
	cbnz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21, #8]!
	cbnz	x0, LBB0_3
LBB0_5:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_as_bad
LBB0_6:
	mov	x21, #0
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh9:
	adrp	x19, _mips_abi@GOTPAGE
Lloh10:
	ldr	x19, [x19, _mips_abi@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_ABI_NEEDS_32BIT_REGS
	cbz	x0, LBB0_10
; %bb.9:
Lloh11:
	adrp	x8, _ISA_MIPS1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISA_MIPS1@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
	ldr	w0, [x19]
	bl	_ABI_NEEDS_64BIT_REGS
	cbz	x0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _ISA_MIPS3@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ISA_MIPS3@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh15:
	adrp	x8, _file_mips_gp32@GOTPAGE
Lloh16:
	ldr	x8, [x8, _file_mips_gp32@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_14
; %bb.13:
Lloh18:
	adrp	x9, _ISA_MIPS1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ISA_MIPS1@GOTPAGEOFF]
Lloh20:
	adrp	x10, _ISA_MIPS3@GOTPAGE
Lloh21:
	ldr	x10, [x10, _ISA_MIPS3@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh22:
	adrp	x8, _MIPS_DEFAULT_64BIT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MIPS_DEFAULT_64BIT@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _ISA_MIPS3@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ISA_MIPS3@GOTPAGEOFF]
Lloh27:
	adrp	x10, _ISA_MIPS1@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ISA_MIPS1@GOTPAGEOFF]
LBB0_15:
	cmp	x8, #0
	csel	x8, x10, x9, eq
LBB0_16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mips_cpu_info_from_isa
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"from-abi"

	.comm	_mips_abi,4,2                   ; @mips_abi
	.comm	_ISA_MIPS1,4,2                  ; @ISA_MIPS1
	.comm	_ISA_MIPS3,4,2                  ; @ISA_MIPS3
	.comm	_file_mips_gp32,8,3             ; @file_mips_gp32
	.comm	_MIPS_DEFAULT_64BIT,8,3         ; @MIPS_DEFAULT_64BIT
l_.str.1:                               ; @.str.1
	.asciz	"default"

	.comm	_mips_cpu_info_table,8,3        ; @mips_cpu_info_table
l_.str.2:                               ; @.str.2
	.asciz	"Bad value (%s) for %s"

	.no_dead_strip	_mips_parse_cpu
.subsections_via_symbols
