	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efa_com_handle_single_admin_completion
_efa_com_handle_single_admin_completion: ## @efa_com_handle_single_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%r15), %esi
	xorl	%edx, %edx
	callq	_efa_com_get_comp_ctx
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_EFA_CMD_COMPLETED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movl	4(%rbx), %edx
	movq	%r15, %rsi
	callq	_memcpy
LBB0_3:
	movq	_EFA_AQ_STATE_POLLING_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ibdev_err
	movq	_EFA_AQ_STATE_RUNNING_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK,4,2 ## @EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"comp_ctx is NULL. Changing the admin queue running state\n"

	.comm	_EFA_AQ_STATE_RUNNING_BIT,4,2   ## @EFA_AQ_STATE_RUNNING_BIT
	.comm	_EFA_CMD_COMPLETED,4,2          ## @EFA_CMD_COMPLETED
	.comm	_EFA_AQ_STATE_POLLING_BIT,4,2   ## @EFA_AQ_STATE_POLLING_BIT
	.no_dead_strip	_efa_com_handle_single_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_single_admin_completion
_efa_com_handle_single_admin_completion: ; @efa_com_handle_single_admin_completion
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w1, w9, w8
	mov	w2, #0
	bl	_efa_com_get_comp_ctx
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _EFA_CMD_COMPLETED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFA_CMD_COMPLETED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x21, #4]
	stp	w9, w8, [x0, #16]
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w2, [x20, #4]
	mov	x1, x21
	bl	_memcpy
LBB0_3:
Lloh6:
	adrp	x8, _EFA_AQ_STATE_POLLING_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFA_AQ_STATE_POLLING_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ibdev_err
Lloh11:
	adrp	x8, _EFA_AQ_STATE_RUNNING_BIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFA_AQ_STATE_RUNNING_BIT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_clear_bit
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_complete
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK,4,2 ; @EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"comp_ctx is NULL. Changing the admin queue running state\n"

	.comm	_EFA_AQ_STATE_RUNNING_BIT,4,2   ; @EFA_AQ_STATE_RUNNING_BIT
	.comm	_EFA_CMD_COMPLETED,4,2          ; @EFA_CMD_COMPLETED
	.comm	_EFA_AQ_STATE_POLLING_BIT,4,2   ; @EFA_AQ_STATE_POLLING_BIT
	.no_dead_strip	_efa_com_handle_single_admin_completion
.subsections_via_symbols
