	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kthread
_kthread:                               ## @kthread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_wait@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_current@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	callq	_DECLARE_WAITQUEUE
	movq	_PF_NOFREEZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rdi
	orl	%eax, (%rdi)
	movl	$-10, %esi
	callq	_set_user_nice
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_complete
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%rbx), %edi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_cond_resched
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %edi
	callq	_spin_lock_irq
	movl	20(%rbx), %edi
	callq	*(%rbx)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%rbx), %edi
	movq	%r14, %rsi
	callq	_add_wait_queue
	movl	(%r12), %edi
	callq	___set_current_state
	movl	16(%rbx), %edi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_schedule
	movl	12(%rbx), %edi
	movq	%r14, %rsi
	callq	_remove_wait_queue
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_complete
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_current,8,3                    ## @current
	.comm	_PF_NOFREEZE,4,2                ## @PF_NOFREEZE
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.no_dead_strip	_kthread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kthread
_kthread:                               ; @kthread
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _wait@GOTPAGE
Lloh1:
	ldr	x20, [x20, _wait@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _current@GOTPAGE
Lloh3:
	ldr	x21, [x21, _current@GOTPAGEOFF]
	ldr	x1, [x21]
	bl	_DECLARE_WAITQUEUE
Lloh4:
	adrp	x8, _PF_NOFREEZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PF_NOFREEZE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	x0, [x21]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	mov	w1, #-10
	bl	_set_user_nice
	add	x21, x19, #8
	mov	x0, x21
	bl	_complete
Lloh7:
	adrp	x22, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #16]
	bl	_spin_unlock_irq
	bl	_cond_resched
	bl	_kthread_should_stop
	cbnz	w0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	bl	_spin_lock_irq
	ldr	x8, [x19]
	ldr	w0, [x19, #20]
	blr	x8
	cbnz	w0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_add_wait_queue
	ldr	w0, [x22]
	bl	___set_current_state
	ldr	w0, [x19, #16]
	bl	_spin_unlock_irq
	bl	_schedule
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_remove_wait_queue
	bl	_kthread_should_stop
	cbz	w0, LBB0_2
LBB0_4:
	mov	x0, x21
	bl	_complete
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_current,8,3                    ; @current
	.comm	_PF_NOFREEZE,4,2                ; @PF_NOFREEZE
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.no_dead_strip	_kthread
.subsections_via_symbols
