	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpu_kern_alloc_ctx             ## -- Begin function fpu_kern_alloc_ctx
	.p2align	4, 0x90
_fpu_kern_alloc_ctx:                    ## @fpu_kern_alloc_ctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_XSAVE_AREA_ALIGN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_cpu_max_ext_state_size@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	leaq	4(%rcx,%rdx), %rdi
	movq	_M_FPUKERN_CTX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_FPU_KERN_NOWAIT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	popq	%rbp
	jmp	_malloc                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XSAVE_AREA_ALIGN,4,2           ## @XSAVE_AREA_ALIGN
	.comm	_cpu_max_ext_state_size,4,2     ## @cpu_max_ext_state_size
	.comm	_M_FPUKERN_CTX,4,2              ## @M_FPUKERN_CTX
	.comm	_FPU_KERN_NOWAIT,4,2            ## @FPU_KERN_NOWAIT
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpu_kern_alloc_ctx             ; -- Begin function fpu_kern_alloc_ctx
	.p2align	2
_fpu_kern_alloc_ctx:                    ; @fpu_kern_alloc_ctx
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _XSAVE_AREA_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XSAVE_AREA_ALIGN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _cpu_max_ext_state_size@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cpu_max_ext_state_size@GOTPAGEOFF]
Lloh4:
	ldrsw	x8, [x8]
Lloh5:
	ldrsw	x9, [x9]
	add	x8, x8, x9
	add	x8, x8, #4
Lloh6:
	adrp	x9, _M_FPUKERN_CTX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_FPUKERN_CTX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x9, _FPU_KERN_NOWAIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FPU_KERN_NOWAIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _M_NOWAIT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _M_NOWAIT@GOTPAGEOFF]
Lloh14:
	adrp	x11, _M_WAITOK@GOTPAGE
Lloh15:
	ldr	x11, [x11, _M_WAITOK@GOTPAGEOFF]
	tst	w9, w0
	csel	x9, x11, x10, eq
Lloh16:
	adrp	x10, _M_ZERO@GOTPAGE
Lloh17:
	ldr	x10, [x10, _M_ZERO@GOTPAGEOFF]
	ldr	w9, [x9]
Lloh18:
	ldr	w10, [x10]
	orr	w2, w9, w10
	mov	x0, x8
	b	_malloc
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_XSAVE_AREA_ALIGN,4,2           ; @XSAVE_AREA_ALIGN
	.comm	_cpu_max_ext_state_size,4,2     ; @cpu_max_ext_state_size
	.comm	_M_FPUKERN_CTX,4,2              ; @M_FPUKERN_CTX
	.comm	_FPU_KERN_NOWAIT,4,2            ; @FPU_KERN_NOWAIT
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
.subsections_via_symbols
