	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_process_error
_tg3_process_error:                     ## @tg3_process_error
	.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	_ERROR_PROCESSED@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_1
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_HOSTCC_FLOW_ATTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	movq	_HOSTCC_FLOW_ATTN_MBUF_LWM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movl	$1, %r15d
	jmp	LBB0_4
LBB0_2:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_MSGINT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	movq	_MSGINT_STATUS_MSI_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	movl	$1, %r15d
LBB0_6:
	movq	_RDMAC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_WDMAC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	testl	%eax, %eax
	je	LBB0_10
LBB0_8:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_err
LBB0_9:
	movq	%rbx, %rdi
	callq	_tg3_dump_state
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag_set
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tg3_reset_task_schedule        ## TAILCALL
LBB0_10:
	testl	%r15d, %r15d
	jne	LBB0_9
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_PROCESSED,4,2            ## @ERROR_PROCESSED
	.comm	_HOSTCC_FLOW_ATTN,4,2           ## @HOSTCC_FLOW_ATTN
	.comm	_HOSTCC_FLOW_ATTN_MBUF_LWM,4,2  ## @HOSTCC_FLOW_ATTN_MBUF_LWM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FLOW Attention error.  Resetting chip.\n"

	.comm	_MSGINT_STATUS,4,2              ## @MSGINT_STATUS
	.comm	_MSGINT_STATUS_MSI_REQ,4,2      ## @MSGINT_STATUS_MSI_REQ
L_.str.1:                               ## @.str.1
	.asciz	"MSI Status error.  Resetting chip.\n"

	.comm	_RDMAC_STATUS,4,2               ## @RDMAC_STATUS
	.comm	_WDMAC_STATUS,4,2               ## @WDMAC_STATUS
L_.str.2:                               ## @.str.2
	.asciz	"DMA Status error.  Resetting chip.\n"

	.no_dead_strip	_tg3_process_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_process_error
_tg3_process_error:                     ; @tg3_process_error
	.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	x20, _ERROR_PROCESSED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ERROR_PROCESSED@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_tg3_flag
	cbz	x0, LBB0_2
LBB0_1:
	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_2:
Lloh2:
	adrp	x8, _HOSTCC_FLOW_ATTN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HOSTCC_FLOW_ATTN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_tr32
Lloh5:
	adrp	x8, _HOSTCC_FLOW_ATTN_MBUF_LWM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HOSTCC_FLOW_ATTN_MBUF_LWM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bics	wzr, w0, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	mov	w21, #1
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
Lloh10:
	adrp	x8, _MSGINT_STATUS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSGINT_STATUS@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_tr32
Lloh13:
	adrp	x8, _MSGINT_STATUS_MSI_REQ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSGINT_STATUS_MSI_REQ@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	bics	wzr, w0, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
	mov	w21, #1
LBB0_7:
Lloh18:
	adrp	x8, _RDMAC_STATUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RDMAC_STATUS@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_tr32
	cbnz	w0, LBB0_9
; %bb.8:
Lloh21:
	adrp	x8, _WDMAC_STATUS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WDMAC_STATUS@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_tr32
	cbz	w0, LBB0_11
LBB0_9:
	ldr	w0, [x19]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_err
LBB0_10:
	mov	x0, x19
	bl	_tg3_dump_state
	ldr	w1, [x20]
	mov	x0, x19
	bl	_tg3_flag_set
	mov	x0, x19
	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	_tg3_reset_task_schedule
LBB0_11:
	cbnz	w21, LBB0_10
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_PROCESSED,4,2            ; @ERROR_PROCESSED
	.comm	_HOSTCC_FLOW_ATTN,4,2           ; @HOSTCC_FLOW_ATTN
	.comm	_HOSTCC_FLOW_ATTN_MBUF_LWM,4,2  ; @HOSTCC_FLOW_ATTN_MBUF_LWM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FLOW Attention error.  Resetting chip.\n"

	.comm	_MSGINT_STATUS,4,2              ; @MSGINT_STATUS
	.comm	_MSGINT_STATUS_MSI_REQ,4,2      ; @MSGINT_STATUS_MSI_REQ
l_.str.1:                               ; @.str.1
	.asciz	"MSI Status error.  Resetting chip.\n"

	.comm	_RDMAC_STATUS,4,2               ; @RDMAC_STATUS
	.comm	_WDMAC_STATUS,4,2               ; @WDMAC_STATUS
l_.str.2:                               ; @.str.2
	.asciz	"DMA Status error.  Resetting chip.\n"

	.no_dead_strip	_tg3_process_error
.subsections_via_symbols
