	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finish_spin_delay              ## -- Begin function finish_spin_delay
	.p2align	4, 0x90
_finish_spin_delay:                     ## @finish_spin_delay
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, (%rdi)
	movq	_spins_per_delay@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	je	LBB0_1
## %bb.3:
	movq	_MIN_SPINS_PER_DELAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, %rdi
	jle	LBB0_6
## %bb.4:
	decq	%rdi
	callq	_Max
	jmp	LBB0_5
LBB0_1:
	movq	_MAX_SPINS_PER_DELAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, %rdi
	jge	LBB0_6
## %bb.2:
	addq	$100, %rdi
	callq	_Min
LBB0_5:
	movq	%rax, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_spins_per_delay,8,3            ## @spins_per_delay
	.comm	_MAX_SPINS_PER_DELAY,8,3        ## @MAX_SPINS_PER_DELAY
	.comm	_MIN_SPINS_PER_DELAY,8,3        ## @MIN_SPINS_PER_DELAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finish_spin_delay              ; -- Begin function finish_spin_delay
	.p2align	2
_finish_spin_delay:                     ; @finish_spin_delay
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x9, [x0]
Lloh0:
	adrp	x19, _spins_per_delay@GOTPAGE
Lloh1:
	ldr	x19, [x19, _spins_per_delay@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x9, LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _MIN_SPINS_PER_DELAY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MIN_SPINS_PER_DELAY@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x9]
	cmp	x8, x1
	b.le	LBB0_6
; %bb.2:
	sub	x0, x8, #1
	bl	_Max
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x9, _MAX_SPINS_PER_DELAY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_SPINS_PER_DELAY@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x9]
	cmp	x8, x1
	b.ge	LBB0_6
; %bb.4:
	add	x0, x8, #100
	bl	_Min
LBB0_5:
	str	x0, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_spins_per_delay,8,3            ; @spins_per_delay
	.comm	_MAX_SPINS_PER_DELAY,8,3        ; @MAX_SPINS_PER_DELAY
	.comm	_MIN_SPINS_PER_DELAY,8,3        ; @MIN_SPINS_PER_DELAY
.subsections_via_symbols
