	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_for_admin_com_state
_check_for_admin_com_state:             ## @check_for_admin_com_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	_ena_com_get_admin_running_state
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_err
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_u64_stats_update_begin
	incl	12(%rbx)
	movq	%r14, %rdi
	callq	_u64_stats_update_end
	movq	_ENA_REGS_RESET_ADMIN_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ENA_FLAG_TRIGGER_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENA admin queue is not in running state!\n"

	.comm	_ENA_REGS_RESET_ADMIN_TO,4,2    ## @ENA_REGS_RESET_ADMIN_TO
	.comm	_ENA_FLAG_TRIGGER_RESET,4,2     ## @ENA_FLAG_TRIGGER_RESET
	.no_dead_strip	_check_for_admin_com_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_for_admin_com_state
_check_for_admin_com_state:             ; @check_for_admin_com_state
	.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
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_ena_com_get_admin_running_state
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _drv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x19, #16]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	add	x20, x19, #8
	mov	x0, x20
	bl	_u64_stats_update_begin
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	mov	x0, x20
	bl	_u64_stats_update_end
Lloh5:
	adrp	x8, _ENA_REGS_RESET_ADMIN_TO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENA_REGS_RESET_ADMIN_TO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh8:
	adrp	x8, _ENA_FLAG_TRIGGER_RESET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENA_FLAG_TRIGGER_RESET@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_bit
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENA admin queue is not in running state!\n"

	.comm	_ENA_REGS_RESET_ADMIN_TO,4,2    ; @ENA_REGS_RESET_ADMIN_TO
	.comm	_ENA_FLAG_TRIGGER_RESET,4,2     ; @ENA_FLAG_TRIGGER_RESET
	.no_dead_strip	_check_for_admin_com_state
.subsections_via_symbols
