	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_tso_bug
_tg3_tso_bug:                           ## @tg3_tso_bug
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rcx, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %rbx
	movq	%r12, %rdi
	callq	_tg3_tx_avail
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_netif_tx_stop_queue
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r12, %rdi
	callq	_tg3_tx_avail
	cmpq	%rbx, %rax
	jle	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	callq	_netif_tx_wake_queue
LBB0_4:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rax
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	(%r13), %rax
	notl	%esi
	andl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_gso_segment
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:
	testq	%rax, %rax
	jne	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r15
	movq	$0, (%rbx)
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_tg3_start_xmit
	movq	%r15, %rbx
	testq	%r15, %r15
	jne	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	callq	_dev_consume_skb_any
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_tg3_tso_bug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_tso_bug
_tg3_tso_bug:                           ; @tg3_tso_bug
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x3
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x23, x8, x8, lsl #1
	mov	x0, x22
	bl	_tg3_tx_avail
	cmp	x0, x23
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_netif_tx_stop_queue
	bl	_smp_mb
	mov	x0, x22
	bl	_tg3_tx_avail
	cmp	x0, x23
	b.le	LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_netif_tx_wake_queue
LBB0_3:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _NETIF_F_TSO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_TSO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _NETIF_F_TSO6@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w1, w8, w9
	mov	x0, x19
	bl	_skb_gso_segment
	mov	x21, x0
	bl	_IS_ERR
	cmp	x21, #0
	ccmp	x0, #0, #0, ne
	b.ne	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x21]
	str	xzr, [x21]
	ldr	x1, [x20]
	mov	x0, x21
	bl	_tg3_start_xmit
	mov	x21, x22
	cbnz	x22, LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_dev_consume_skb_any
Lloh6:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_tg3_tso_bug
.subsections_via_symbols
