	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_tx_recover
_tg3_tx_recover:                        ## @tg3_tx_recover
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MBOX_WRITE_REORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tg3_flag
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_tg3_write_indirect_mbox@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
LBB0_2:
	callq	_BUG_ON
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_warn
	movq	_TX_RECOVERY_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_tg3_flag_set                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MBOX_WRITE_REORDER,4,2         ## @MBOX_WRITE_REORDER
	.comm	_tg3_write_indirect_mbox,8,3    ## @tg3_write_indirect_mbox
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The system may be re-ordering memory-mapped I/O cycles to the network device, attempting to recover. Please report the problem to the driver maintainer and include system chipset information.\n"

	.comm	_TX_RECOVERY_PENDING,4,2        ## @TX_RECOVERY_PENDING
	.no_dead_strip	_tg3_tx_recover
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_tx_recover
_tg3_tx_recover:                        ; @tg3_tx_recover
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MBOX_WRITE_REORDER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBOX_WRITE_REORDER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_tg3_flag
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _tg3_write_indirect_mbox@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tg3_write_indirect_mbox@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_3:
	bl	_BUG_ON
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_warn
Lloh8:
	adrp	x8, _TX_RECOVERY_PENDING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TX_RECOVERY_PENDING@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tg3_flag_set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MBOX_WRITE_REORDER,4,2         ; @MBOX_WRITE_REORDER
	.comm	_tg3_write_indirect_mbox,8,3    ; @tg3_write_indirect_mbox
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The system may be re-ordering memory-mapped I/O cycles to the network device, attempting to recover. Please report the problem to the driver maintainer and include system chipset information.\n"

	.comm	_TX_RECOVERY_PENDING,4,2        ; @TX_RECOVERY_PENDING
	.no_dead_strip	_tg3_tx_recover
.subsections_via_symbols
