	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finishidentcpu                 ## -- Begin function finishidentcpu
	.p2align	4, 0x90
_finishidentcpu:                        ## @finishidentcpu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorl	%eax, %eax
	callq	_identify_cpu_fixup_bsp
	movq	_cpu_high@GOTPCREL(%rip), %rax
	cmpl	$5, (%rax)
	jl	LBB0_3
## %bb.1:
	movq	_cpu_feature2@GOTPCREL(%rip), %rax
	movq	_CPUID2_MON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	-32(%rbp), %rsi
	movl	$5, %edi
	callq	_do_cpuid
	movl	-24(%rbp), %eax
	movq	_cpu_mon_mwait_flags@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CPUID5_MON_MIN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-32(%rbp), %eax
	movq	_cpu_mon_min_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CPUID5_MON_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-28(%rbp), %eax
	movq	_cpu_mon_max_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_3:
	xorl	%eax, %eax
	callq	_identify_cpu2
	movq	_cpu_vendor_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CPU_VENDOR_INTEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:
	movq	_CPU_VENDOR_AMD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_CPU_VENDOR_CENTAUR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.7:
	movq	_cpu_exthigh@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-2147483647, %eax              ## imm = 0x80000001
	jae	LBB0_9
	jmp	LBB0_12
LBB0_6:
	leaq	-32(%rbp), %rsi
	movl	$-2147483648, %edi              ## imm = 0x80000000
	callq	_do_cpuid
	movl	-32(%rbp), %eax
	movq	_cpu_exthigh@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$-2147483647, %eax              ## imm = 0x80000001
	jb	LBB0_12
LBB0_9:
	leaq	-32(%rbp), %rsi
	movl	$-2147483647, %edi              ## imm = 0x80000001
	callq	_do_cpuid
	movq	_cpu_feature@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	orl	$-25424896, %eax                ## imm = 0xFE7C0C00
	andl	-20(%rbp), %eax
	movq	_amd_feature@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	-24(%rbp), %eax
	movq	_amd_feature2@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_cpu_exthigh@GOTPCREL(%rip), %rbx
	cmpl	$-2147483641, (%rbx)            ## imm = 0x80000007
	jb	LBB0_12
## %bb.10:
	leaq	-32(%rbp), %rsi
	movl	$-2147483641, %edi              ## imm = 0x80000007
	callq	_do_cpuid
	movq	_amd_rascap@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %ecx
	movl	-20(%rbp), %edx
	movl	%ecx, (%rax)
	movq	_amd_pminfo@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	cmpl	$-2147483640, (%rbx)            ## imm = 0x80000008
	jb	LBB0_12
## %bb.11:
	leaq	-32(%rbp), %rsi
	movl	$-2147483640, %edi              ## imm = 0x80000008
	callq	_do_cpuid
	movzbl	-32(%rbp), %eax
	movq	_cpu_maxphyaddr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_amd_extended_feature_extensions@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %ecx
	movl	-24(%rbp), %edx
	movl	%ecx, (%rax)
	movq	_cpu_procinfo2@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	jmp	LBB0_13
LBB0_12:
	movq	_cpu_feature@GOTPCREL(%rip), %rax
	movq	_CPUID_PAE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	(%rax), %ecx
	setne	%dl
	leal	32(,%rdx,4), %eax
	movq	_cpu_maxphyaddr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_high,4,2                   ## @cpu_high
	.comm	_cpu_feature2,4,2               ## @cpu_feature2
	.comm	_CPUID2_MON,4,2                 ## @CPUID2_MON
	.comm	_cpu_mon_mwait_flags,4,2        ## @cpu_mon_mwait_flags
	.comm	_CPUID5_MON_MIN_SIZE,4,2        ## @CPUID5_MON_MIN_SIZE
	.comm	_cpu_mon_min_size,4,2           ## @cpu_mon_min_size
	.comm	_CPUID5_MON_MAX_SIZE,4,2        ## @CPUID5_MON_MAX_SIZE
	.comm	_cpu_mon_max_size,4,2           ## @cpu_mon_max_size
	.comm	_cpu_vendor_id,8,3              ## @cpu_vendor_id
	.comm	_CPU_VENDOR_INTEL,8,3           ## @CPU_VENDOR_INTEL
	.comm	_CPU_VENDOR_AMD,8,3             ## @CPU_VENDOR_AMD
	.comm	_CPU_VENDOR_CENTAUR,8,3         ## @CPU_VENDOR_CENTAUR
	.comm	_cpu_exthigh,4,2                ## @cpu_exthigh
	.comm	_cpu_feature,4,2                ## @cpu_feature
	.comm	_amd_feature,4,2                ## @amd_feature
	.comm	_amd_feature2,4,2               ## @amd_feature2
	.comm	_amd_rascap,4,2                 ## @amd_rascap
	.comm	_amd_pminfo,4,2                 ## @amd_pminfo
	.comm	_cpu_maxphyaddr,4,2             ## @cpu_maxphyaddr
	.comm	_amd_extended_feature_extensions,4,2 ## @amd_extended_feature_extensions
	.comm	_cpu_procinfo2,4,2              ## @cpu_procinfo2
	.comm	_CPUID_PAE,4,2                  ## @CPUID_PAE
	.comm	_CCR3,4,2                       ## @CCR3
	.comm	_CCR3_MAPEN0,4,2                ## @CCR3_MAPEN0
	.comm	_CCR4,4,2                       ## @CCR4
	.comm	_CCR4_CPUID,4,2                 ## @CCR4_CPUID
	.comm	_CPU_486,8,3                    ## @CPU_486
	.comm	_CPU_486DLC,8,3                 ## @CPU_486DLC
	.comm	_CPU_BLUE,8,3                   ## @CPU_BLUE
	.comm	_CPU_CY486DX,8,3                ## @CPU_CY486DX
	.comm	_CPU_M1,8,3                     ## @CPU_M1
	.comm	_CPU_M1SC,8,3                   ## @CPU_M1SC
	.comm	_CPU_M2,8,3                     ## @CPU_M2
	.comm	_CPU_VENDOR_CYRIX,8,3           ## @CPU_VENDOR_CYRIX
	.comm	_CPU_VENDOR_IBM,8,3             ## @CPU_VENDOR_IBM
	.comm	_CPU_VENDOR_NSC,8,3             ## @CPU_VENDOR_NSC
	.comm	_CPU_VENDOR_TRANSMETA,8,3       ## @CPU_VENDOR_TRANSMETA
	.comm	_IDENTBLUE_IBMCPU,8,3           ## @IDENTBLUE_IBMCPU
	.comm	_cpu,8,3                        ## @cpu
	.comm	_cpu_id,4,2                     ## @cpu_id
	.comm	_cpu_vendor,8,3                 ## @cpu_vendor
	.comm	_cyrix_did,4,2                  ## @cyrix_did
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finishidentcpu                 ; -- Begin function finishidentcpu
	.p2align	2
_finishidentcpu:                        ; @finishidentcpu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_identify_cpu_fixup_bsp
Lloh3:
	adrp	x8, _cpu_high@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cpu_high@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #5
	b.lt	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _cpu_feature2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cpu_feature2@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _CPUID2_MON@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CPUID2_MON@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	add	x1, sp, #8
	mov	w0, #5
	bl	_do_cpuid
Lloh12:
	adrp	x8, _cpu_mon_mwait_flags@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cpu_mon_mwait_flags@GOTPAGEOFF]
	ldp	w10, w9, [sp, #12]
Lloh14:
	str	w9, [x8]
Lloh15:
	adrp	x8, _CPUID5_MON_MIN_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CPUID5_MON_MIN_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	and	w8, w8, w9
Lloh18:
	adrp	x9, _cpu_mon_min_size@GOTPAGE
Lloh19:
	ldr	x9, [x9, _cpu_mon_min_size@GOTPAGEOFF]
Lloh20:
	adrp	x11, _CPUID5_MON_MAX_SIZE@GOTPAGE
Lloh21:
	ldr	x11, [x11, _CPUID5_MON_MAX_SIZE@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
Lloh23:
	ldr	w8, [x11]
	and	w8, w8, w10
Lloh24:
	adrp	x9, _cpu_mon_max_size@GOTPAGE
Lloh25:
	ldr	x9, [x9, _cpu_mon_max_size@GOTPAGEOFF]
Lloh26:
	str	w8, [x9]
LBB0_3:
	bl	_identify_cpu2
Lloh27:
	adrp	x8, _cpu_vendor_id@GOTPAGE
Lloh28:
	ldr	x8, [x8, _cpu_vendor_id@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _CPU_VENDOR_INTEL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CPU_VENDOR_INTEL@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
Lloh33:
	adrp	x10, _CPU_VENDOR_AMD@GOTPAGE
Lloh34:
	ldr	x10, [x10, _CPU_VENDOR_AMD@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
Lloh36:
	adrp	x11, _CPU_VENDOR_CENTAUR@GOTPAGE
Lloh37:
	ldr	x11, [x11, _CPU_VENDOR_CENTAUR@GOTPAGEOFF]
Lloh38:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
Lloh39:
	adrp	x19, _cpu_exthigh@GOTPAGE
Lloh40:
	ldr	x19, [x19, _cpu_exthigh@GOTPAGEOFF]
	b.ne	LBB0_5
; %bb.4:
	add	x1, sp, #8
	mov	w0, #-2147483648
	bl	_do_cpuid
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19]
LBB0_6:
	mov	w9, #-2147483647
Lloh41:
	adrp	x20, _cpu_feature@GOTPAGE
Lloh42:
	ldr	x20, [x20, _cpu_feature@GOTPAGEOFF]
	cmp	w8, w9
	b.lo	LBB0_10
; %bb.7:
	mov	w21, #6
	movk	w21, #32768, lsl #16
	add	x1, sp, #8
	mov	w0, #-2147483647
	bl	_do_cpuid
	ldr	w8, [x20]
	mov	w9, #3072
	movk	w9, #65148, lsl #16
	orn	w8, w9, w8
	ldp	w10, w9, [sp, #16]
	and	w8, w9, w8
Lloh43:
	adrp	x9, _amd_feature@GOTPAGE
Lloh44:
	ldr	x9, [x9, _amd_feature@GOTPAGEOFF]
Lloh45:
	str	w8, [x9]
Lloh46:
	adrp	x8, _amd_feature2@GOTPAGE
Lloh47:
	ldr	x8, [x8, _amd_feature2@GOTPAGEOFF]
Lloh48:
	str	w10, [x8]
	ldr	w8, [x19]
	cmp	w8, w21
	b.ls	LBB0_10
; %bb.8:
	add	x1, sp, #8
	mov	w0, #-2147483641
	bl	_do_cpuid
Lloh49:
	adrp	x8, _amd_rascap@GOTPAGE
Lloh50:
	ldr	x8, [x8, _amd_rascap@GOTPAGEOFF]
	ldr	w9, [sp, #12]
	ldr	w10, [sp, #20]
Lloh51:
	str	w9, [x8]
Lloh52:
	adrp	x8, _amd_pminfo@GOTPAGE
Lloh53:
	ldr	x8, [x8, _amd_pminfo@GOTPAGEOFF]
Lloh54:
	str	w10, [x8]
	ldr	w8, [x19]
	mov	w9, #8
	movk	w9, #32768, lsl #16
	cmp	w8, w9
	b.lo	LBB0_10
; %bb.9:
	add	w0, w21, #2
	add	x1, sp, #8
	bl	_do_cpuid
	ldrb	w8, [sp, #8]
Lloh55:
	adrp	x9, _cpu_maxphyaddr@GOTPAGE
Lloh56:
	ldr	x9, [x9, _cpu_maxphyaddr@GOTPAGEOFF]
Lloh57:
	str	w8, [x9]
Lloh58:
	adrp	x8, _amd_extended_feature_extensions@GOTPAGE
Lloh59:
	ldr	x8, [x8, _amd_extended_feature_extensions@GOTPAGEOFF]
	ldp	w9, w10, [sp, #12]
Lloh60:
	str	w9, [x8]
Lloh61:
	adrp	x8, _cpu_procinfo2@GOTPAGE
Lloh62:
	ldr	x8, [x8, _cpu_procinfo2@GOTPAGEOFF]
Lloh63:
	str	w10, [x8]
	b	LBB0_11
LBB0_10:
	ldr	w8, [x20]
Lloh64:
	adrp	x9, _CPUID_PAE@GOTPAGE
Lloh65:
	ldr	x9, [x9, _CPUID_PAE@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #36
	mov	w9, #32
	csel	w8, w9, w8, eq
Lloh67:
	adrp	x9, _cpu_maxphyaddr@GOTPAGE
Lloh68:
	ldr	x9, [x9, _cpu_maxphyaddr@GOTPAGEOFF]
Lloh69:
	str	w8, [x9]
LBB0_11:
	ldr	x8, [sp, #24]
Lloh70:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh71:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	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
	add	sp, sp, #80
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotStr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_high,4,2                   ; @cpu_high
	.comm	_cpu_feature2,4,2               ; @cpu_feature2
	.comm	_CPUID2_MON,4,2                 ; @CPUID2_MON
	.comm	_cpu_mon_mwait_flags,4,2        ; @cpu_mon_mwait_flags
	.comm	_CPUID5_MON_MIN_SIZE,4,2        ; @CPUID5_MON_MIN_SIZE
	.comm	_cpu_mon_min_size,4,2           ; @cpu_mon_min_size
	.comm	_CPUID5_MON_MAX_SIZE,4,2        ; @CPUID5_MON_MAX_SIZE
	.comm	_cpu_mon_max_size,4,2           ; @cpu_mon_max_size
	.comm	_cpu_vendor_id,8,3              ; @cpu_vendor_id
	.comm	_CPU_VENDOR_INTEL,8,3           ; @CPU_VENDOR_INTEL
	.comm	_CPU_VENDOR_AMD,8,3             ; @CPU_VENDOR_AMD
	.comm	_CPU_VENDOR_CENTAUR,8,3         ; @CPU_VENDOR_CENTAUR
	.comm	_cpu_exthigh,4,2                ; @cpu_exthigh
	.comm	_cpu_feature,4,2                ; @cpu_feature
	.comm	_amd_feature,4,2                ; @amd_feature
	.comm	_amd_feature2,4,2               ; @amd_feature2
	.comm	_amd_rascap,4,2                 ; @amd_rascap
	.comm	_amd_pminfo,4,2                 ; @amd_pminfo
	.comm	_cpu_maxphyaddr,4,2             ; @cpu_maxphyaddr
	.comm	_amd_extended_feature_extensions,4,2 ; @amd_extended_feature_extensions
	.comm	_cpu_procinfo2,4,2              ; @cpu_procinfo2
	.comm	_CPUID_PAE,4,2                  ; @CPUID_PAE
	.comm	_CCR3,4,2                       ; @CCR3
	.comm	_CCR3_MAPEN0,4,2                ; @CCR3_MAPEN0
	.comm	_CCR4,4,2                       ; @CCR4
	.comm	_CCR4_CPUID,4,2                 ; @CCR4_CPUID
	.comm	_CPU_486,8,3                    ; @CPU_486
	.comm	_CPU_486DLC,8,3                 ; @CPU_486DLC
	.comm	_CPU_BLUE,8,3                   ; @CPU_BLUE
	.comm	_CPU_CY486DX,8,3                ; @CPU_CY486DX
	.comm	_CPU_M1,8,3                     ; @CPU_M1
	.comm	_CPU_M1SC,8,3                   ; @CPU_M1SC
	.comm	_CPU_M2,8,3                     ; @CPU_M2
	.comm	_CPU_VENDOR_CYRIX,8,3           ; @CPU_VENDOR_CYRIX
	.comm	_CPU_VENDOR_IBM,8,3             ; @CPU_VENDOR_IBM
	.comm	_CPU_VENDOR_NSC,8,3             ; @CPU_VENDOR_NSC
	.comm	_CPU_VENDOR_TRANSMETA,8,3       ; @CPU_VENDOR_TRANSMETA
	.comm	_IDENTBLUE_IBMCPU,8,3           ; @IDENTBLUE_IBMCPU
	.comm	_cpu,8,3                        ; @cpu
	.comm	_cpu_id,4,2                     ; @cpu_id
	.comm	_cpu_vendor,8,3                 ; @cpu_vendor
	.comm	_cyrix_did,4,2                  ; @cyrix_did
.subsections_via_symbols
