	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_reset_subtask
_i40e_reset_subtask:                    ## @i40e_reset_subtask
	.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	%rdi, %rbx
	movq	___I40E_REINIT_REQUESTED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	callq	_BIT
	movl	%eax, %r14d
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_clear_bit
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movq	___I40E_PF_RESET_REQUESTED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r15), %edi
	callq	_BIT
	orl	%eax, %r14d
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_clear_bit
LBB0_5:
	movq	___I40E_CORE_RESET_REQUESTED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	callq	_BIT
	orl	%eax, %r14d
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_clear_bit
LBB0_7:
	movq	___I40E_GLOBAL_RESET_REQUESTED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r15), %edi
	callq	_BIT
	orl	%eax, %r14d
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_clear_bit
LBB0_9:
	movq	___I40E_DOWN_REQUESTED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%r15), %edi
	callq	_BIT
	orl	%eax, %r14d
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_clear_bit
LBB0_11:
	movq	___I40E_RESET_INTR_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_i40e_prep_for_reset
	movq	%rbx, %rdi
	callq	_i40e_reset
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_i40e_rebuild
LBB0_13:
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.14:
	movq	___I40E_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movq	___I40E_CONFIG_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_do_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___I40E_REINIT_REQUESTED,4,2    ## @__I40E_REINIT_REQUESTED
	.comm	___I40E_PF_RESET_REQUESTED,4,2  ## @__I40E_PF_RESET_REQUESTED
	.comm	___I40E_CORE_RESET_REQUESTED,4,2 ## @__I40E_CORE_RESET_REQUESTED
	.comm	___I40E_GLOBAL_RESET_REQUESTED,4,2 ## @__I40E_GLOBAL_RESET_REQUESTED
	.comm	___I40E_DOWN_REQUESTED,4,2      ## @__I40E_DOWN_REQUESTED
	.comm	___I40E_RESET_INTR_RECEIVED,4,2 ## @__I40E_RESET_INTR_RECEIVED
	.comm	___I40E_DOWN,4,2                ## @__I40E_DOWN
	.comm	___I40E_CONFIG_BUSY,4,2         ## @__I40E_CONFIG_BUSY
	.no_dead_strip	_i40e_reset_subtask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_reset_subtask
_i40e_reset_subtask:                    ; @i40e_reset_subtask
	.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	x19, x0
Lloh0:
	adrp	x21, ___I40E_REINIT_REQUESTED@GOTPAGE
Lloh1:
	ldr	x21, [x21, ___I40E_REINIT_REQUESTED@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	bl	_BIT
	mov	x20, x0
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_clear_bit
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
Lloh2:
	adrp	x21, ___I40E_PF_RESET_REQUESTED@GOTPAGE
Lloh3:
	ldr	x21, [x21, ___I40E_PF_RESET_REQUESTED@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x21]
	bl	_BIT
	orr	w20, w0, w20
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_clear_bit
LBB0_5:
Lloh4:
	adrp	x21, ___I40E_CORE_RESET_REQUESTED@GOTPAGE
Lloh5:
	ldr	x21, [x21, ___I40E_CORE_RESET_REQUESTED@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x21]
	bl	_BIT
	orr	w20, w0, w20
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_clear_bit
LBB0_7:
Lloh6:
	adrp	x21, ___I40E_GLOBAL_RESET_REQUESTED@GOTPAGE
Lloh7:
	ldr	x21, [x21, ___I40E_GLOBAL_RESET_REQUESTED@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x21]
	bl	_BIT
	orr	w20, w0, w20
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_clear_bit
LBB0_9:
Lloh8:
	adrp	x21, ___I40E_DOWN_REQUESTED@GOTPAGE
Lloh9:
	ldr	x21, [x21, ___I40E_DOWN_REQUESTED@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x21]
	bl	_BIT
	orr	w20, w0, w20
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_clear_bit
LBB0_11:
Lloh10:
	adrp	x8, ___I40E_RESET_INTR_RECEIVED@GOTPAGE
Lloh11:
	ldr	x8, [x8, ___I40E_RESET_INTR_RECEIVED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	w1, #0
	bl	_i40e_prep_for_reset
	mov	x0, x19
	bl	_i40e_reset
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_i40e_rebuild
LBB0_13:
	cbz	w20, LBB0_16
; %bb.14:
Lloh13:
	adrp	x8, ___I40E_DOWN@GOTPAGE
Lloh14:
	ldr	x8, [x8, ___I40E_DOWN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbnz	x0, LBB0_16
; %bb.15:
Lloh16:
	adrp	x8, ___I40E_CONFIG_BUSY@GOTPAGE
Lloh17:
	ldr	x8, [x8, ___I40E_CONFIG_BUSY@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_17
LBB0_16:
	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_17:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	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	_i40e_do_reset
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	___I40E_REINIT_REQUESTED,4,2    ; @__I40E_REINIT_REQUESTED
	.comm	___I40E_PF_RESET_REQUESTED,4,2  ; @__I40E_PF_RESET_REQUESTED
	.comm	___I40E_CORE_RESET_REQUESTED,4,2 ; @__I40E_CORE_RESET_REQUESTED
	.comm	___I40E_GLOBAL_RESET_REQUESTED,4,2 ; @__I40E_GLOBAL_RESET_REQUESTED
	.comm	___I40E_DOWN_REQUESTED,4,2      ; @__I40E_DOWN_REQUESTED
	.comm	___I40E_RESET_INTR_RECEIVED,4,2 ; @__I40E_RESET_INTR_RECEIVED
	.comm	___I40E_DOWN,4,2                ; @__I40E_DOWN
	.comm	___I40E_CONFIG_BUSY,4,2         ; @__I40E_CONFIG_BUSY
	.no_dead_strip	_i40e_reset_subtask
.subsections_via_symbols
