	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_parse_cpu
_arm_parse_cpu:                         ## @arm_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	%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
	movq	%rdi, %r12
	movl	$43, %esi
	callq	_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r14d, %r15d
	subl	%r12d, %r15d
	testl	%r15d, %r15d
	je	LBB0_4
LBB0_5:
	movq	_arm_cpus@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.6:
	addq	$16, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rbx), %rdi
	addq	$24, %rbx
	testq	%rdi, %rdi
	jne	LBB0_7
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_20
LBB0_2:
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r15d
	testl	%r15d, %r15d
	jne	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
LBB0_20:
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_as_bad
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	4(%rbx), %rax
	movq	_mcpu_cpu_opt@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_mcpu_fpu_opt@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	-8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.11:
	movq	_selected_cpu_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strcpy
	testq	%r14, %r14
	je	LBB0_16
LBB0_17:
	movq	_mcpu_cpu_opt@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_arm_parse_extension            ## TAILCALL
LBB0_9:
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.12:
	movl	%r15d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-16(%rbx), %rax
	movl	(%rax,%r13,4), %edi
	callq	_TOUPPER
	movq	_selected_cpu_name@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%r13,8)
	incq	%r13
	cmpq	%r13, %r12
	jne	LBB0_13
	jmp	LBB0_14
LBB0_10:
	movq	_selected_cpu_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%r15d, %r15d
LBB0_14:
	movl	%r15d, %eax
	movq	$0, (%rcx,%rax,8)
	testq	%r14, %r14
	jne	LBB0_17
LBB0_16:
	movl	$1, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing cpu name `%s'"

	.comm	_arm_cpus,8,3                   ## @arm_cpus
	.comm	_mcpu_cpu_opt,8,3               ## @mcpu_cpu_opt
	.comm	_mcpu_fpu_opt,8,3               ## @mcpu_fpu_opt
	.comm	_selected_cpu_name,8,3          ## @selected_cpu_name
L_.str.1:                               ## @.str.1
	.asciz	"unknown cpu `%s'"

	.no_dead_strip	_arm_parse_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_parse_cpu
_arm_parse_cpu:                         ; @arm_parse_cpu
	.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	x21, x0
	mov	w1, #43
	bl	_strchr
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	sub	w20, w19, w21
	cbz	w20, LBB0_8
LBB0_2:
Lloh0:
	adrp	x8, _arm_cpus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _arm_cpus@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.3:
	add	x22, x8, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #8]
	add	x22, x22, #24
	cbnz	x0, LBB0_4
LBB0_6:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	bl	_strlen
	mov	x20, x0
	cbnz	w20, LBB0_2
LBB0_8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_9:
	bl	__
	mov	x1, x21
	bl	_as_bad
	mov	w0, #0
LBB0_10:
	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_11:
Lloh7:
	adrp	x8, _mcpu_cpu_opt@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mcpu_cpu_opt@GOTPAGEOFF]
	add	x9, x22, #4
Lloh9:
	str	x9, [x8]
Lloh10:
	adrp	x8, _mcpu_fpu_opt@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mcpu_fpu_opt@GOTPAGEOFF]
Lloh12:
	str	x22, [x8]
	ldur	x1, [x22, #-8]
	cbz	x1, LBB0_14
; %bb.12:
Lloh13:
	adrp	x8, _selected_cpu_name@GOTPAGE
Lloh14:
	ldr	x8, [x8, _selected_cpu_name@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
	bl	_strcpy
	cbz	x19, LBB0_19
LBB0_13:
Lloh16:
	adrp	x1, _mcpu_cpu_opt@GOTPAGE
Lloh17:
	ldr	x1, [x1, _mcpu_cpu_opt@GOTPAGEOFF]
	mov	x0, x19
	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
	b	_arm_parse_extension
LBB0_14:
	cmp	w20, #0
	b.le	LBB0_17
; %bb.15:
	mov	x21, #0
	mov	w23, w20
Lloh18:
	adrp	x24, _selected_cpu_name@GOTPAGE
Lloh19:
	ldr	x24, [x24, _selected_cpu_name@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x22, #-16]
	ldr	w0, [x8, x21, lsl #2]
	bl	_TOUPPER
	ldr	x8, [x24]
	str	x0, [x8, x21, lsl #3]
	add	x21, x21, #1
	cmp	x23, x21
	b.ne	LBB0_16
	b	LBB0_18
LBB0_17:
	mov	w20, #0
Lloh20:
	adrp	x8, _selected_cpu_name@GOTPAGE
Lloh21:
	ldr	x8, [x8, _selected_cpu_name@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
LBB0_18:
	str	xzr, [x8, w20, uxtw #3]
	cbnz	x19, LBB0_13
LBB0_19:
	mov	w0, #1
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing cpu name `%s'"

	.comm	_arm_cpus,8,3                   ; @arm_cpus
	.comm	_mcpu_cpu_opt,8,3               ; @mcpu_cpu_opt
	.comm	_mcpu_fpu_opt,8,3               ; @mcpu_fpu_opt
	.comm	_selected_cpu_name,8,3          ; @selected_cpu_name
l_.str.1:                               ; @.str.1
	.asciz	"unknown cpu `%s'"

	.no_dead_strip	_arm_parse_cpu
.subsections_via_symbols
