	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qed_spq_block
___qed_spq_block:                       ## @__qed_spq_block
	.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	%ecx, %r15d
	testl	%ecx, %ecx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_1
## %bb.2:
	movq	_SPQ_BLOCK_DELAY_MAX_ITER@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SPQ_BLOCK_SLEEP_MAX_ITER@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.4:
	movq	(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%rax), %r13
	movq	_SPQ_BLOCK_DELAY_US@GOTPCREL(%rip), %r14
	movq	_SPQ_BLOCK_SLEEP_MS@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %edi
	callq	_msleep
	testl	%ebx, %ebx
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_smp_load_acquire
	cmpl	$1, %eax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%ebx
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %edi
	callq	_udelay
	testl	%ebx, %ebx
	jne	LBB0_5
LBB0_12:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_6:
	xorl	%eax, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.7:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, (%rdx)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPQ_BLOCK_SLEEP_MAX_ITER,4,2   ## @SPQ_BLOCK_SLEEP_MAX_ITER
	.comm	_SPQ_BLOCK_DELAY_MAX_ITER,4,2   ## @SPQ_BLOCK_DELAY_MAX_ITER
	.comm	_SPQ_BLOCK_SLEEP_MS,4,2         ## @SPQ_BLOCK_SLEEP_MS
	.comm	_SPQ_BLOCK_DELAY_US,4,2         ## @SPQ_BLOCK_DELAY_US
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	___qed_spq_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __qed_spq_block
___qed_spq_block:                       ; @__qed_spq_block
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _SPQ_BLOCK_SLEEP_MAX_ITER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPQ_BLOCK_SLEEP_MAX_ITER@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SPQ_BLOCK_DELAY_MAX_ITER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SPQ_BLOCK_DELAY_MAX_ITER@GOTPAGEOFF]
	cmp	w3, #0
	csel	x8, x9, x8, eq
	ldr	w22, [x8]
	cbz	w22, LBB0_6
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	ldr	x23, [x1]
	add	x21, x23, #4
Lloh4:
	adrp	x24, _SPQ_BLOCK_DELAY_US@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SPQ_BLOCK_DELAY_US@GOTPAGEOFF]
Lloh6:
	adrp	x25, _SPQ_BLOCK_SLEEP_MS@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SPQ_BLOCK_SLEEP_MS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_msleep
	cbz	w22, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_smp_load_acquire
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w22, #1
	cbnz	w20, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	bl	_udelay
	cbnz	w22, LBB0_3
LBB0_6:
Lloh8:
	adrp	x8, _EBUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	cbz	x19, LBB0_9
; %bb.8:
	ldr	w8, [x23]
	str	w8, [x19]
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SPQ_BLOCK_SLEEP_MAX_ITER,4,2   ; @SPQ_BLOCK_SLEEP_MAX_ITER
	.comm	_SPQ_BLOCK_DELAY_MAX_ITER,4,2   ; @SPQ_BLOCK_DELAY_MAX_ITER
	.comm	_SPQ_BLOCK_SLEEP_MS,4,2         ; @SPQ_BLOCK_SLEEP_MS
	.comm	_SPQ_BLOCK_DELAY_US,4,2         ; @SPQ_BLOCK_DELAY_US
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	___qed_spq_block
.subsections_via_symbols
