	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_cpufuncs                   ## -- Begin function set_cpufuncs
	.p2align	4, 0x90
_set_cpufuncs:                          ## @set_cpufuncs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_cp15_midr_get
	movq	_CPU_ID_CPU_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_cputype@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_panic
	movq	_ARCHITECTURE_NOT_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cputype,4,2                    ## @cputype
	.comm	_CPU_ID_CPU_MASK,4,2            ## @CPU_ID_CPU_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No support for this CPU type (%08x) in kernel"

	.comm	_ARCHITECTURE_NOT_PRESENT,4,2   ## @ARCHITECTURE_NOT_PRESENT
	.comm	_arm_dcache_align_mask,4,2      ## @arm_dcache_align_mask
	.comm	_CPU_ID_ARM1176JZS,4,2          ## @CPU_ID_ARM1176JZS
	.comm	_CPU_ID_ARM926EJS,4,2           ## @CPU_ID_ARM926EJS
	.comm	_CPU_ID_ARM_88SV581X_V7,4,2     ## @CPU_ID_ARM_88SV581X_V7
	.comm	_CPU_ID_MV88FR131,4,2           ## @CPU_ID_MV88FR131
	.comm	_CPU_ID_MV88FR571_41,4,2        ## @CPU_ID_MV88FR571_41
	.comm	_CPU_ID_MV88FR571_VD,4,2        ## @CPU_ID_MV88FR571_VD
	.comm	_CPU_ID_MV88SV581X_V7,4,2       ## @CPU_ID_MV88SV581X_V7
	.comm	_CPU_ID_MV88SV584X_V7,4,2       ## @CPU_ID_MV88SV584X_V7
	.comm	_CPU_ID_SCHEME_MASK,4,2         ## @CPU_ID_SCHEME_MASK
	.comm	_MV_BTB_DISABLE,4,2             ## @MV_BTB_DISABLE
	.comm	_MV_DC_STREAM_ENABLE,4,2        ## @MV_DC_STREAM_ENABLE
	.comm	_MV_L2_ENABLE,4,2               ## @MV_L2_ENABLE
	.comm	_MV_L2_PREFETCH_DISABLE,4,2     ## @MV_L2_PREFETCH_DISABLE
	.comm	_MV_WA_ENABLE,4,2               ## @MV_WA_ENABLE
	.comm	_arm1176_cpufuncs,4,2           ## @arm1176_cpufuncs
	.comm	_armv5_ec_cpufuncs,4,2          ## @armv5_ec_cpufuncs
	.comm	_cortexa_cpufuncs,4,2           ## @cortexa_cpufuncs
	.comm	_cpufuncs,4,2                   ## @cpufuncs
	.comm	_pj4bv7_cpufuncs,4,2            ## @pj4bv7_cpufuncs
	.comm	_sheeva_cpufuncs,4,2            ## @sheeva_cpufuncs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_cpufuncs                   ; -- Begin function set_cpufuncs
	.p2align	2
_set_cpufuncs:                          ; @set_cpufuncs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_cp15_midr_get
Lloh0:
	adrp	x8, _CPU_ID_CPU_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_ID_CPU_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w1, w8, w0
Lloh3:
	adrp	x8, _cputype@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cputype@GOTPAGEOFF]
Lloh5:
	str	w1, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
Lloh8:
	adrp	x8, _ARCHITECTURE_NOT_PRESENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHITECTURE_NOT_PRESENT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cputype,4,2                    ; @cputype
	.comm	_CPU_ID_CPU_MASK,4,2            ; @CPU_ID_CPU_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No support for this CPU type (%08x) in kernel"

	.comm	_ARCHITECTURE_NOT_PRESENT,4,2   ; @ARCHITECTURE_NOT_PRESENT
	.comm	_arm_dcache_align_mask,4,2      ; @arm_dcache_align_mask
	.comm	_CPU_ID_ARM1176JZS,4,2          ; @CPU_ID_ARM1176JZS
	.comm	_CPU_ID_ARM926EJS,4,2           ; @CPU_ID_ARM926EJS
	.comm	_CPU_ID_ARM_88SV581X_V7,4,2     ; @CPU_ID_ARM_88SV581X_V7
	.comm	_CPU_ID_MV88FR131,4,2           ; @CPU_ID_MV88FR131
	.comm	_CPU_ID_MV88FR571_41,4,2        ; @CPU_ID_MV88FR571_41
	.comm	_CPU_ID_MV88FR571_VD,4,2        ; @CPU_ID_MV88FR571_VD
	.comm	_CPU_ID_MV88SV581X_V7,4,2       ; @CPU_ID_MV88SV581X_V7
	.comm	_CPU_ID_MV88SV584X_V7,4,2       ; @CPU_ID_MV88SV584X_V7
	.comm	_CPU_ID_SCHEME_MASK,4,2         ; @CPU_ID_SCHEME_MASK
	.comm	_MV_BTB_DISABLE,4,2             ; @MV_BTB_DISABLE
	.comm	_MV_DC_STREAM_ENABLE,4,2        ; @MV_DC_STREAM_ENABLE
	.comm	_MV_L2_ENABLE,4,2               ; @MV_L2_ENABLE
	.comm	_MV_L2_PREFETCH_DISABLE,4,2     ; @MV_L2_PREFETCH_DISABLE
	.comm	_MV_WA_ENABLE,4,2               ; @MV_WA_ENABLE
	.comm	_arm1176_cpufuncs,4,2           ; @arm1176_cpufuncs
	.comm	_armv5_ec_cpufuncs,4,2          ; @armv5_ec_cpufuncs
	.comm	_cortexa_cpufuncs,4,2           ; @cortexa_cpufuncs
	.comm	_cpufuncs,4,2                   ; @cpufuncs
	.comm	_pj4bv7_cpufuncs,4,2            ; @pj4bv7_cpufuncs
	.comm	_sheeva_cpufuncs,4,2            ; @sheeva_cpufuncs
.subsections_via_symbols
