	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_error_indication
_handle_error_indication:               ## @handle_error_indication
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rsi), %r15
	movl	4(%rdi), %edi
	callq	_be16_to_cpu
	movq	_IBMVNIC_FATAL_ERROR@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	andl	(%r12), %ecx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rcx, %rbx
	movl	%eax, %edi
	callq	_ibmvnic_fw_err_cause
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_dev_warn_ratelimited
	movl	(%r13), %eax
	andl	(%r12), %eax
	jne	LBB0_1
## %bb.2:
	movq	_VNIC_RESET_NON_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_VNIC_RESET_FATAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ibmvnic_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Firmware reports %serror, cause: %s. Starting recovery...\n"

	.comm	_IBMVNIC_FATAL_ERROR,4,2        ## @IBMVNIC_FATAL_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"FATAL "

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_VNIC_RESET_FATAL,4,2           ## @VNIC_RESET_FATAL
	.comm	_VNIC_RESET_NON_FATAL,4,2       ## @VNIC_RESET_NON_FATAL
	.no_dead_strip	_handle_error_indication
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_error_indication
_handle_error_indication:               ; @handle_error_indication
	.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, x1
	mov	x20, x0
	ldr	x21, [x1]
	ldr	w0, [x0, #4]
	bl	_be16_to_cpu
	ldr	w8, [x20]
Lloh0:
	adrp	x23, _IBMVNIC_FATAL_ERROR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IBMVNIC_FATAL_ERROR@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh4:
	adrp	x11, l_.str.2@PAGE
Lloh5:
	add	x11, x11, l_.str.2@PAGEOFF
	tst	w9, w8
	csel	x22, x11, x10, eq
	bl	_ibmvnic_fw_err_cause
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_warn_ratelimited
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _VNIC_RESET_NON_FATAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VNIC_RESET_NON_FATAL@GOTPAGEOFF]
Lloh10:
	adrp	x10, _VNIC_RESET_FATAL@GOTPAGE
Lloh11:
	ldr	x10, [x10, _VNIC_RESET_FATAL@GOTPAGEOFF]
	ldr	w11, [x23]
	tst	w11, w8
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	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	_ibmvnic_reset
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Firmware reports %serror, cause: %s. Starting recovery...\n"

	.comm	_IBMVNIC_FATAL_ERROR,4,2        ; @IBMVNIC_FATAL_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"FATAL "

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_VNIC_RESET_FATAL,4,2           ; @VNIC_RESET_FATAL
	.comm	_VNIC_RESET_NON_FATAL,4,2       ; @VNIC_RESET_NON_FATAL
	.no_dead_strip	_handle_error_indication
.subsections_via_symbols
