	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilo_ccb_verify
_ilo_ccb_verify:                        ## @ilo_ccb_verify
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_MAX_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.1:
	incl	%ebx
	leaq	-44(%rbp), %r15
	movq	_WAIT_TIME@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SENDQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ilo_pkt_dequeue
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	callq	_udelay
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_2
	jmp	LBB0_5
LBB0_4:
	je	LBB0_5
LBB0_6:
	movq	_SENDQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %ecx
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	callq	_ilo_pkt_enqueue
	movq	%r14, %rdi
	callq	_doorbell_set
	jmp	LBB0_7
LBB0_5:
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WAIT,4,2                   ## @MAX_WAIT
	.comm	_SENDQ,4,2                      ## @SENDQ
	.comm	_WAIT_TIME,4,2                  ## @WAIT_TIME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Open could not dequeue a packet\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_ilo_ccb_verify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilo_ccb_verify
_ilo_ccb_verify:                        ; @ilo_ccb_verify
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MAX_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _SENDQ@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SENDQ@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	add	w22, w8, #1
Lloh5:
	adrp	x23, _WAIT_TIME@GOTPAGE
Lloh6:
	ldr	x23, [x23, _WAIT_TIME@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x4, #0
	mov	x5, #0
	bl	_ilo_pkt_dequeue
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x23]
	bl	_udelay
	sub	w22, w22, #1
	cmp	w22, #1
	b.gt	LBB0_2
	b	LBB0_6
LBB0_4:
	cbz	w8, LBB0_6
LBB0_5:
	ldr	w2, [x21]
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	bl	_ilo_pkt_enqueue
	mov	x0, x19
	bl	_doorbell_set
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	ldr	x0, [x20]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh9:
	adrp	x8, _EBUSY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WAIT,4,2                   ; @MAX_WAIT
	.comm	_SENDQ,4,2                      ; @SENDQ
	.comm	_WAIT_TIME,4,2                  ; @WAIT_TIME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Open could not dequeue a packet\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_ilo_ccb_verify
.subsections_via_symbols
