	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_fpu_kern_thread             ## -- Begin function is_fpu_kern_thread
	.p2align	4, 0x90
_is_fpu_kern_thread:                    ## @is_fpu_kern_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TDP_KTHREAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_curpcb@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PCB_KERNFPU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	setne	%al
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,8,3                  ## @curthread
	.comm	_TDP_KTHREAD,4,2                ## @TDP_KTHREAD
	.comm	_curpcb,8,3                     ## @curpcb
	.comm	_PCB_KERNFPU,4,2                ## @PCB_KERNFPU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_fpu_kern_thread             ; -- Begin function is_fpu_kern_thread
	.p2align	2
_is_fpu_kern_thread:                    ; @is_fpu_kern_thread
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _curthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TDP_KTHREAD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TDP_KTHREAD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _curpcb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _curpcb@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PCB_KERNFPU@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCB_KERNFPU@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,8,3                  ; @curthread
	.comm	_TDP_KTHREAD,4,2                ; @TDP_KTHREAD
	.comm	_curpcb,8,3                     ; @curpcb
	.comm	_PCB_KERNFPU,4,2                ; @PCB_KERNFPU
.subsections_via_symbols
