	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efa_com_handle_admin_completion
_efa_com_handle_admin_completion:       ## @efa_com_handle_admin_completion
	.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
	movslq	(%rdi), %rbx
	decq	%rbx
	andq	16(%rdi), %rbx
	movl	24(%rdi), %r13d
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movl	(%r15,%rbx,4), %edi
	callq	_READ_ONCE
	movq	_EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	%r13d, %eax
	jne	LBB0_1
## %bb.2:
	leaq	(%r15,%rbx,4), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_dma_rmb
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_efa_com_handle_single_admin_completion
	incq	%rbx
	incq	%r12
	movslq	(%r14), %rax
	xorl	%ecx, %ecx
	testl	%r13d, %r13d
	sete	%cl
	cmpq	%rax, %rbx
	cmovel	%ecx, %r13d
	movl	$0, %eax
	cmoveq	%rax, %rbx
	movq	32(%r14), %rax
	leaq	(%rax,%rbx,4), %r15
	movl	(%rax,%rbx,4), %edi
	callq	_READ_ONCE
	movq	_EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	%r13d, %eax
	je	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	addq	%r12, 16(%r14)
	movl	%r13d, 24(%r14)
	addl	%r12d, 8(%r14)
	addq	$4, %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic64_add                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK,4,2 ## @EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK
	.no_dead_strip	_efa_com_handle_admin_completion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efa_com_handle_admin_completion
_efa_com_handle_admin_completion:       ; @efa_com_handle_admin_completion
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldrsw	x8, [x0]
	sub	x8, x8, #1
	ldr	x9, [x0, #16]
	and	x23, x9, x8
	ldr	w22, [x0, #24]
	ldr	x8, [x0, #32]
	add	x21, x8, x23, lsl #2
	ldr	w0, [x21]
	bl	_READ_ONCE
Lloh0:
	adrp	x24, _EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK@GOTPAGEOFF]
	ldr	w8, [x24]
	and	w8, w8, w0
	cmp	w8, w22
	b.ne	LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_dma_rmb
	mov	x0, x19
	mov	x1, x21
	bl	_efa_com_handle_single_admin_completion
	add	x8, x23, #1
	add	x20, x20, #1
	ldrsw	x9, [x19]
	cmp	w22, #0
	cset	w10, eq
	cmp	x8, x9
	csel	w22, w10, w22, eq
	csinc	x23, xzr, x23, eq
	ldr	x8, [x19, #32]
	add	x21, x8, x23, lsl #2
	ldr	w0, [x21]
	bl	_READ_ONCE
	ldr	w8, [x24]
	and	w8, w8, w0
	cmp	w8, w22
	b.eq	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	ldr	x8, [x19, #16]
	add	x8, x8, x20
	str	x8, [x19, #16]
	str	w22, [x19, #24]
	ldr	w8, [x19, #8]
	add	w8, w8, w20
	str	w8, [x19, #8]
	add	x1, x19, #4
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_atomic64_add
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK,4,2 ; @EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK
	.no_dead_strip	_efa_com_handle_admin_completion
.subsections_via_symbols
