	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %rbx
	movq	8(%r15), %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_stop_queue
	xorl	%eax, %eax
	callq	_smp_mb
	movq	8(%r15), %rdi
	callq	_tg3_tx_avail
	cmpq	%rbx, %rax
	jle	LBB0_2
## %bb.3:
	movq	(%r15), %rdi
	callq	_netif_wake_queue
LBB0_4:
	movq	(%r15), %rax
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_gso_segment
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r12
	movq	$0, (%rbx)
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_tg3_start_xmit
	movq	%r12, %rbx
	testq	%r12, %r12
	jne	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	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	_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	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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x21, x8, x8, lsl #1
	ldr	x0, [x20, #8]
	bl	_tg3_tx_avail
	cmp	x0, x21
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x20]
	bl	_netif_stop_queue
	bl	_smp_mb
	ldr	x0, [x20, #8]
	bl	_tg3_tx_avail
	cmp	x0, x21
	b.le	LBB0_6
; %bb.2:
	ldr	x0, [x20]
	bl	_netif_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]
	bic	w1, w8, w9
	mov	x0, x19
	bl	_skb_gso_segment
	mov	x21, x0
	bl	_IS_ERR
	cbnz	x0, 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_kfree_skb
Lloh3:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_tg3_tso_bug
.subsections_via_symbols
