	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpuinit_bsp2
_fpuinit_bsp2:                          ## @fpuinit_bsp2
	.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	$40, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_use_xsave@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rbx
	movl	$13, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_cpuid_count
	movl	-40(%rbp), %eax
	movq	_cpu_max_ext_state_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_do_cpuid
	movq	-32(%rbp), %rax
	movq	_cpu_feature2@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_3
LBB0_2:
	movq	_cpu_max_ext_state_size@GOTPCREL(%rip), %rax
	movl	$4, (%rax)
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_use_xsave,8,3                  ## @use_xsave
	.comm	_cpu_max_ext_state_size,4,2     ## @cpu_max_ext_state_size
	.comm	_cpu_feature2,8,3               ## @cpu_feature2
	.no_dead_strip	_fpuinit_bsp2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpuinit_bsp2
_fpuinit_bsp2:                          ; @fpuinit_bsp2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, _use_xsave@GOTPAGE
Lloh4:
	ldr	x8, [x8, _use_xsave@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x2, sp, #8
	mov	w0, #13
	mov	w1, #0
	bl	_cpuid_count
	ldr	x8, [sp, #16]
Lloh6:
	adrp	x9, _cpu_max_ext_state_size@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cpu_max_ext_state_size@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	add	x1, sp, #8
	mov	w0, #1
	bl	_do_cpuid
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, _cpu_feature2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _cpu_feature2@GOTPAGEOFF]
Lloh11:
	str	x8, [x9]
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _cpu_max_ext_state_size@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cpu_max_ext_state_size@GOTPAGEOFF]
	mov	w9, #4
Lloh14:
	str	w9, [x8]
LBB0_3:
	ldur	x8, [x29, #-8]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_use_xsave,8,3                  ; @use_xsave
	.comm	_cpu_max_ext_state_size,4,2     ; @cpu_max_ext_state_size
	.comm	_cpu_feature2,8,3               ; @cpu_feature2
	.no_dead_strip	_fpuinit_bsp2
.subsections_via_symbols
