	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_xmit
_start_xmit:                            ## @start_xmit
	.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
	subq	$40, %rsp
	.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, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_skb_get_queue_mapping
	movq	(%rbx), %r15
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%eax, %rsi
	leaq	(%rsi,%rsi,2), %rbx
	leaq	(%r15,%rbx,8), %r13
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_netdev_get_tx_queue
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_netdev_xmit_more
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r15,%rbx,8), %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_free_old_xmit_skbs
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r15,%rax,8), %rdi
	callq	_virtqueue_enable_cb_delayed
LBB0_3:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_tx_timestamp
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_xmit_skb
	movq	%r13, %r15
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incl	4(%rbx)
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_dev_warn
LBB0_6:
	incl	(%rbx)
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
LBB0_19:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_skb_orphan
	movq	%r12, %rdi
	callq	_nf_reset_ct
LBB0_9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %r12
	addq	$8, %r12
	movq	8(%rax,%rcx,8), %rax
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	addq	$2, %rcx
	cmpq	%rcx, (%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_14
## %bb.10:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_netif_stop_subqueue
	testl	%r14d, %r14d
	je	LBB0_11
LBB0_14:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
## %bb.15:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_xmit_stopped
	testq	%rax, %rax
	je	LBB0_19
LBB0_16:
	movq	(%r12), %rdi
	callq	_virtqueue_kick_prepare
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	(%r12), %rdi
	callq	_virtqueue_notify
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	callq	_u64_stats_update_begin
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incl	4(%rax,%rcx,8)
	movq	%r15, %rdi
	callq	_u64_stats_update_end
	jmp	LBB0_19
LBB0_11:
	movq	(%r12), %rdi
	callq	_virtqueue_enable_cb_delayed
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_free_old_xmit_skbs
	movq	(%r12), %rax
	movq	(%r13), %rcx
	addq	$2, %rcx
	cmpq	%rcx, (%rax)
	jl	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_netif_start_subqueue
	movq	(%r12), %rdi
	callq	_virtqueue_disable_cb
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected TXQ (%d) queue failure: %d\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_MAX_SKB_FRAGS,8,3              ## @MAX_SKB_FRAGS
	.no_dead_strip	_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_xmit
_start_xmit:                            ; @start_xmit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x24, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x24
	bl	_skb_get_queue_mapping
	mov	x1, x0
	ldr	x26, [x19]
	sxtw	x19, w1
	mov	w8, #24
	smaddl	x20, w0, w8, x26
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_netdev_get_tx_queue
	mov	x22, x0
	bl	_netdev_xmit_more
	mov	x23, x0
	ldr	w27, [x20, #16]
	mov	x0, x20
	mov	w1, #0
	bl	_free_old_xmit_skbs
	cmp	w27, #0
	ccmp	w23, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #24
	madd	x8, x19, x8, x26
	ldr	x0, [x8, #8]
	bl	_virtqueue_enable_cb_delayed
LBB0_2:
	mov	x0, x24
	bl	_skb_tx_timestamp
	mov	x0, x20
	mov	x1, x24
	bl	_xmit_skb
	mov	x25, x0
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	bl	_net_ratelimit
	cbz	x0, LBB0_5
; %bb.4:
	add	x0, x21, #8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x25
	bl	_dev_warn
LBB0_5:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x24
	bl	_dev_kfree_skb_any
LBB0_6:
Lloh2:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	cbnz	w27, LBB0_9
; %bb.8:
	mov	x0, x24
	bl	_skb_orphan
	mov	x0, x24
	bl	_nf_reset_ct
LBB0_9:
	mov	w8, #24
	madd	x24, x19, x8, x26
	ldr	x8, [x24, #8]!
	ldr	x8, [x8]
Lloh5:
	adrp	x25, _MAX_SKB_FRAGS@GOTPAGE
Lloh6:
	ldr	x25, [x25, _MAX_SKB_FRAGS@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x9, x9, #2
	cmp	x8, x9
	b.ge	LBB0_11
; %bb.10:
	mov	x0, x21
	mov	x1, x19
	bl	_netif_stop_subqueue
	cbz	w27, LBB0_16
LBB0_11:
	cbz	w23, LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_netif_xmit_stopped
	cbz	x0, LBB0_6
LBB0_13:
	ldr	x0, [x24]
	bl	_virtqueue_kick_prepare
	cbz	x0, LBB0_6
; %bb.14:
	ldr	x0, [x24]
	bl	_virtqueue_notify
	cbz	x0, LBB0_6
; %bb.15:
	mov	x0, x20
	bl	_u64_stats_update_begin
	mov	w8, #24
	madd	x8, x19, x8, x26
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	mov	x0, x20
	bl	_u64_stats_update_end
	b	LBB0_6
LBB0_16:
	ldr	x0, [x24]
	bl	_virtqueue_enable_cb_delayed
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.17:
	mov	x0, x20
	mov	w1, #0
	bl	_free_old_xmit_skbs
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x9, [x25]
	add	x9, x9, #2
	cmp	x8, x9
	b.lt	LBB0_11
; %bb.18:
	mov	x0, x21
	mov	x1, x19
	bl	_netif_start_subqueue
	ldr	x0, [x24]
	bl	_virtqueue_disable_cb
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected TXQ (%d) queue failure: %d\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_MAX_SKB_FRAGS,8,3              ; @MAX_SKB_FRAGS
	.no_dead_strip	_start_xmit
.subsections_via_symbols
