	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spin
_spin:                                  ## @spin
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HRTIMER_MODE_ABS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_hrtimer_init_on_stack
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_hrtimer_set_expires
	movq	%rbx, %rdi
	callq	_hrtimer_expires_remaining
	movl	%eax, %edi
	callq	_ktime_to_us
	testq	%rax, %rax
	jle	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ktime_now
	movl	%eax, %r14d
	cmpq	$99, %rbx
	ja	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_udelay
	jmp	LBB0_13
LBB0_3:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_current@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_hrtimer_init_sleeper
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_set_current_state
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_hrtimer_start_expires
	movq	%rbx, %rdi
	callq	_hrtimer_active
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, -56(%rbp)
	xorl	%edi, %edi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_schedule
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_hrtimer_cancel
	cmpq	$0, -56(%rbp)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 24(%r15)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %edi
	callq	_signal_pending
	testl	%eax, %eax
	je	LBB0_4
LBB0_12:
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_current_state
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_13:
	xorl	%eax, %eax
	callq	_ktime_now
	movl	%eax, %r12d
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_ktime_sub
	movl	%eax, %edi
	callq	_ktime_to_ns
	addl	%eax, 16(%r15)
LBB0_14:
	movl	(%r15), %esi
	movl	%r12d, %edi
	callq	_ktime_add_ns
	movq	%rax, 8(%r15)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_HRTIMER_MODE_ABS,4,2           ## @HRTIMER_MODE_ABS
	.comm	_current,4,2                    ## @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.no_dead_strip	_spin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spin
_spin:                                  ; @spin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x23, _HRTIMER_MODE_ABS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _HRTIMER_MODE_ABS@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, sp
	bl	_hrtimer_init_on_stack
	mov	x0, sp
	mov	x1, x21
	bl	_hrtimer_set_expires
	mov	x0, sp
	bl	_hrtimer_expires_remaining
	bl	_ktime_to_us
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x22, x0
	bl	_ktime_now
	mov	x20, x0
	cmp	x22, #99
	b.hi	LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_udelay
	b	LBB0_12
LBB0_3:
Lloh5:
	adrp	x21, _current@GOTPAGE
Lloh6:
	ldr	x21, [x21, _current@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, sp
	bl	_hrtimer_init_sleeper
Lloh7:
	adrp	x22, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_set_current_state
	ldr	w1, [x23]
	mov	x0, sp
	bl	_hrtimer_start_expires
	mov	x0, sp
	bl	_hrtimer_active
	cbz	w0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #8]
	bl	_likely
	cbz	x0, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_schedule
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	bl	_hrtimer_cancel
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_signal_pending
	cbz	w0, LBB0_4
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	str	xzr, [sp, #8]
	bl	_likely
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_11:
Lloh9:
	adrp	x8, _TASK_RUNNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TASK_RUNNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	___set_current_state
LBB0_12:
	bl	_ktime_now
	mov	x21, x0
	mov	x1, x20
	bl	_ktime_sub
	bl	_ktime_to_ns
	ldr	w8, [x19, #16]
	add	w8, w8, w0
	str	w8, [x19, #16]
LBB0_13:
	ldr	w1, [x19]
	mov	x0, x21
	bl	_ktime_add_ns
	str	x0, [x19, #8]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_HRTIMER_MODE_ABS,4,2           ; @HRTIMER_MODE_ABS
	.comm	_current,4,2                    ; @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.no_dead_strip	_spin
.subsections_via_symbols
