	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_recovery_handler
_qede_recovery_handler:                 ## @qede_recovery_handler
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	leaq	L_.str(%rip), %rsi
	callq	_DP_NOTICE
	movq	_QEDE_STATE_RECOVERY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	16(%rbx), %rdi
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	callq	*(%rax)
	movq	_QEDE_STATE_OPEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_2
## %bb.1:
	movq	_QEDE_UNLOAD_RECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_qede_unload
LBB0_2:
	movl	32(%rbx), %edi
	movq	_QEDE_REMOVE_RECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	___qede_remove
	movl	32(%rbx), %r14d
	movl	24(%rbx), %r15d
	movl	28(%rbx), %r12d
	movq	%rbx, %rdi
	callq	_IS_VF
	movq	_QEDE_PROBE_RECOVERY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	___qede_probe
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	$0, 16(%rbx)
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qede_recovery_failed           ## TAILCALL
LBB0_5:
	movq	_QEDE_STATE_OPEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_8
## %bb.6:
	movq	_QEDE_LOAD_RECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_qede_load
	testl	%eax, %eax
	jne	LBB0_4
## %bb.7:
	movl	8(%rbx), %edi
	callq	_qede_config_rx_mode
	movl	8(%rbx), %edi
	callq	_udp_tunnel_get_rx_info
LBB0_8:
	movq	%r13, (%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP_NOTICE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Starting a recovery process\n"

	.comm	_QEDE_STATE_RECOVERY,8,3        ## @QEDE_STATE_RECOVERY
	.comm	_QEDE_STATE_OPEN,8,3            ## @QEDE_STATE_OPEN
	.comm	_QEDE_UNLOAD_RECOVERY,4,2       ## @QEDE_UNLOAD_RECOVERY
	.comm	_QEDE_REMOVE_RECOVERY,4,2       ## @QEDE_REMOVE_RECOVERY
	.comm	_QEDE_PROBE_RECOVERY,4,2        ## @QEDE_PROBE_RECOVERY
	.comm	_QEDE_LOAD_RECOVERY,4,2         ## @QEDE_LOAD_RECOVERY
L_.str.1:                               ## @.str.1
	.asciz	"Recovery handling is done\n"

	.no_dead_strip	_qede_recovery_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_recovery_handler
_qede_recovery_handler:                 ; @qede_recovery_handler
	.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
	ldr	x23, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP_NOTICE
Lloh2:
	adrp	x8, _QEDE_STATE_RECOVERY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QEDE_STATE_RECOVERY@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x19, #16]
	blr	x8
Lloh5:
	adrp	x24, _QEDE_STATE_OPEN@GOTPAGE
Lloh6:
	ldr	x24, [x24, _QEDE_STATE_OPEN@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x23, x8
	b.ne	LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _QEDE_UNLOAD_RECOVERY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QEDE_UNLOAD_RECOVERY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_qede_unload
LBB0_2:
	ldr	w0, [x19, #32]
Lloh10:
	adrp	x8, _QEDE_REMOVE_RECOVERY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QEDE_REMOVE_RECOVERY@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	___qede_remove
	ldp	w21, w20, [x19, #28]
	ldr	w22, [x19, #24]
	mov	x0, x19
	bl	_IS_VF
	mov	x3, x0
Lloh13:
	adrp	x8, _QEDE_PROBE_RECOVERY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QEDE_PROBE_RECOVERY@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	___qede_probe
	cbz	w0, LBB0_5
; %bb.3:
	str	xzr, [x19, #16]
LBB0_4:
	mov	x0, x19
	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	_qede_recovery_failed
LBB0_5:
	ldr	x8, [x24]
	cmp	x23, x8
	b.ne	LBB0_8
; %bb.6:
Lloh16:
	adrp	x8, _QEDE_LOAD_RECOVERY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QEDE_LOAD_RECOVERY@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_qede_load
	cbnz	w0, LBB0_4
; %bb.7:
	ldr	w0, [x19, #8]
	bl	_qede_config_rx_mode
	ldr	w0, [x19, #8]
	bl	_udp_tunnel_get_rx_info
LBB0_8:
	str	x23, [x19]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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	_DP_NOTICE
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Starting a recovery process\n"

	.comm	_QEDE_STATE_RECOVERY,8,3        ; @QEDE_STATE_RECOVERY
	.comm	_QEDE_STATE_OPEN,8,3            ; @QEDE_STATE_OPEN
	.comm	_QEDE_UNLOAD_RECOVERY,4,2       ; @QEDE_UNLOAD_RECOVERY
	.comm	_QEDE_REMOVE_RECOVERY,4,2       ; @QEDE_REMOVE_RECOVERY
	.comm	_QEDE_PROBE_RECOVERY,4,2        ; @QEDE_PROBE_RECOVERY
	.comm	_QEDE_LOAD_RECOVERY,4,2         ; @QEDE_LOAD_RECOVERY
l_.str.1:                               ; @.str.1
	.asciz	"Recovery handling is done\n"

	.no_dead_strip	_qede_recovery_handler
.subsections_via_symbols
