	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _task_fn_admin
__task_fn_admin:                        ## @_task_fn_admin
	.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
	movq	%rdi, %r14
	movq	_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_STATE_LOCK
	movl	16(%r14), %edi
	callq	_if_getdrvflags
	movl	%eax, %r15d
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movl	16(%r14), %edi
	callq	_if_getdrvflags
	movl	%eax, %ebx
	movq	_IFF_DRV_OACTIVE@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	(%r14), %r13d
	movq	_IFC_DO_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IFC_DO_WATCHDOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IFC_IN_DETACH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	orl	%ecx, %eax
	notl	%eax
	andl	%r13d, %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_STATE_UNLOCK
	orl	%r15d, %ebx
	je	LBB0_1
## %bb.3:
	testl	%r13d, %r12d
	jne	LBB0_18
	jmp	LBB0_4
LBB0_1:
	movq	24(%r14), %rax
	movq	_IFLIB_ADMIN_ALWAYS_RUN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_18
## %bb.2:
	andl	%r13d, %r12d
	jne	LBB0_18
LBB0_4:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	callq	_CTX_LOCK
	cmpl	$0, 32(%r14)
	jle	LBB0_7
## %bb.5:
	movq	8(%r14), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_CALLOUT_LOCK
	movq	%rbx, %rdi
	callq	_callout_stop
	movq	%rbx, %rdi
	callq	_CALLOUT_UNLOCK
	incl	%r15d
	addq	$4, %rbx
	cmpl	32(%r14), %r15d
	jl	LBB0_6
LBB0_7:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:
	incl	20(%r14)
	movq	%r14, %rdi
	callq	_IFDI_WATCHDOG_RESET
LBB0_9:
	movq	%r14, %rdi
	callq	_IFDI_UPDATE_ADMIN_STATUS
	cmpl	$0, 32(%r14)
	jle	LBB0_12
## %bb.10:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	movq	8(%r14), %rbx
	xorl	%r12d, %r12d
	movq	_iflib_timer@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movl	(%rbx), %r8d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rcx
	callq	_callout_reset_on
	incl	%r12d
	addq	$4, %rbx
	cmpl	32(%r14), %r12d
	jl	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	callq	_IFDI_LINK_INTR_ENABLE
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_iflib_if_init_locked
LBB0_14:
	movq	%r14, %rdi
	callq	_CTX_UNLOCK
	movq	%r14, %rdi
	callq	_LINK_ACTIVE
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	cmpl	$0, 32(%r14)
	jle	LBB0_18
## %bb.16:
	movq	8(%r14), %r15
	xorl	%ebx, %ebx
	movq	_IFLIB_RESTART_BUDGET@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_iflib_txq_check_drain
	incl	%ebx
	addq	$4, %r15
	cmpl	32(%r14), %ebx
	jl	LBB0_17
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hz,4,2                         ## @hz
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_IFF_DRV_OACTIVE,4,2            ## @IFF_DRV_OACTIVE
	.comm	_IFC_DO_RESET,4,2               ## @IFC_DO_RESET
	.comm	_IFC_DO_WATCHDOG,4,2            ## @IFC_DO_WATCHDOG
	.comm	_IFC_IN_DETACH,4,2              ## @IFC_IN_DETACH
	.comm	_IFLIB_ADMIN_ALWAYS_RUN,4,2     ## @IFLIB_ADMIN_ALWAYS_RUN
	.comm	_iflib_timer,4,2                ## @iflib_timer
	.comm	_IFLIB_RESTART_BUDGET,4,2       ## @IFLIB_RESTART_BUDGET
	.comm	_IFCAP_NETMAP,4,2               ## @IFCAP_NETMAP
	.no_dead_strip	__task_fn_admin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _task_fn_admin
__task_fn_admin:                        ; @_task_fn_admin
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _hz@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hz@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w21, w8, lt
	bl	_STATE_LOCK
	ldr	w0, [x19, #16]
	bl	_if_getdrvflags
Lloh3:
	adrp	x8, _IFF_DRV_RUNNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w25, w8, w0
	ldr	w0, [x19, #16]
	bl	_if_getdrvflags
Lloh6:
	adrp	x8, _IFF_DRV_OACTIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFF_DRV_OACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w26, w8, w0
Lloh9:
	adrp	x8, _IFC_DO_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFC_DO_RESET@GOTPAGEOFF]
	ldr	w22, [x19]
Lloh11:
	ldr	w23, [x8]
Lloh12:
	adrp	x8, _IFC_DO_WATCHDOG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IFC_DO_WATCHDOG@GOTPAGEOFF]
Lloh14:
	adrp	x9, _IFC_IN_DETACH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IFC_IN_DETACH@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	ldr	w8, [x9]
	and	w24, w8, w22
	orr	w8, w20, w23
	bic	w8, w22, w8
	str	w8, [x19]
	mov	x0, x19
	bl	_STATE_UNLOCK
	orr	w8, w25, w26
	cbz	w8, LBB0_2
; %bb.1:
	cbnz	w24, LBB0_17
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _IFLIB_ADMIN_ALWAYS_RUN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IFLIB_ADMIN_ALWAYS_RUN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	w24, #0, #0, ne
	b.ne	LBB0_17
LBB0_3:
	and	w24, w20, w22
	mov	x0, x19
	bl	_CTX_LOCK
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w25, #0
	ldr	x20, [x19, #8]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_CALLOUT_LOCK
	mov	x0, x20
	bl	_callout_stop
	mov	x0, x20
	bl	_CALLOUT_UNLOCK
	add	w25, w25, #1
	add	x20, x20, #4
	ldr	w8, [x19, #32]
	cmp	w25, w8
	b.lt	LBB0_5
LBB0_6:
	cbz	w24, LBB0_8
; %bb.7:
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
	mov	x0, x19
	bl	_IFDI_WATCHDOG_RESET
LBB0_8:
	and	w22, w23, w22
	mov	x0, x19
	bl	_IFDI_UPDATE_ADMIN_STATUS
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w23, #0
	asr	w20, w21, #1
	ldr	x0, [x19, #8]
Lloh21:
	adrp	x21, _iflib_timer@GOTPAGE
Lloh22:
	ldr	x21, [x21, _iflib_timer@GOTPAGEOFF]
	mov	x24, x0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	ldr	w4, [x24], #4
	mov	x1, x20
	mov	x3, x0
	bl	_callout_reset_on
	add	w23, w23, #1
	ldr	w8, [x19, #32]
	mov	x0, x24
	cmp	w23, w8
	b.lt	LBB0_10
LBB0_11:
	mov	x0, x19
	bl	_IFDI_LINK_INTR_ENABLE
	cbz	w22, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_iflib_if_init_locked
LBB0_13:
	mov	x0, x19
	bl	_CTX_UNLOCK
	mov	x0, x19
	bl	_LINK_ACTIVE
	cbz	x0, LBB0_17
; %bb.14:
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:
	mov	w21, #0
	ldr	x20, [x19, #8]
Lloh23:
	adrp	x22, _IFLIB_RESTART_BUDGET@GOTPAGE
Lloh24:
	ldr	x22, [x22, _IFLIB_RESTART_BUDGET@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_iflib_txq_check_drain
	add	w21, w21, #1
	add	x20, x20, #4
	ldr	w8, [x19, #32]
	cmp	w21, w8
	b.lt	LBB0_16
LBB0_17:
	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 AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_hz,4,2                         ; @hz
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_IFF_DRV_OACTIVE,4,2            ; @IFF_DRV_OACTIVE
	.comm	_IFC_DO_RESET,4,2               ; @IFC_DO_RESET
	.comm	_IFC_DO_WATCHDOG,4,2            ; @IFC_DO_WATCHDOG
	.comm	_IFC_IN_DETACH,4,2              ; @IFC_IN_DETACH
	.comm	_IFLIB_ADMIN_ALWAYS_RUN,4,2     ; @IFLIB_ADMIN_ALWAYS_RUN
	.comm	_iflib_timer,4,2                ; @iflib_timer
	.comm	_IFLIB_RESTART_BUDGET,4,2       ; @IFLIB_RESTART_BUDGET
	.comm	_IFCAP_NETMAP,4,2               ; @IFCAP_NETMAP
	.no_dead_strip	__task_fn_admin
.subsections_via_symbols
