	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_port_xmit
_rocker_port_xmit:                      ## @rocker_port_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, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %r12
	movq	%rax, %rdi
	callq	_rocker_desc_head_get
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_net_ratelimit
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_err
	jmp	LBB0_16
LBB0_3:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_rocker_desc_cookie_ptr_set
	movq	_ROCKER_TLV_TX_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rocker_tlv_nest_start
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %r13d
	callq	_skb_headlen
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_rocker_tx_desc_frag_map_put
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	_ROCKER_TX_FRAGS_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_linearize
	testl	%eax, %eax
	je	LBB0_7
LBB0_11:
	movq	%r14, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rocker_tx_desc_frags_unmap
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_12:
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_rocker_tlv_nest_cancel
LBB0_13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
	incl	(%r15)
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
LBB0_16:
	movl	(%rbx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.8:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	8(%rax), %rbx
	addq	%r15, %rbx
	movq	%rbx, %rdi
	callq	_skb_frag_address
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_skb_frag_size
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_rocker_tx_desc_frag_map_put
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	incq	%r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movslq	(%rax), %rax
	addq	$4, %r15
	cmpq	%rax, %r12
	jl	LBB0_10
LBB0_14:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_rocker_tlv_nest_end
	movq	%rbx, %rdi
	callq	_rocker_desc_gen_clear
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_rocker_desc_head_set
	movq	%r14, %rdi
	callq	_rocker_desc_head_get
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_stop_queue
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx ring full when queue awake\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_ROCKER_TLV_TX_FRAGS,4,2        ## @ROCKER_TLV_TX_FRAGS
	.comm	_ROCKER_TX_FRAGS_MAX,4,2        ## @ROCKER_TX_FRAGS_MAX
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_rocker_port_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_port_xmit
_rocker_port_xmit:                      ; @rocker_port_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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x23, [x0, #8]
	bl	_rocker_desc_head_get
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
	bl	_net_ratelimit
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_3:
Lloh2:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	mov	x0, x22
	mov	x1, x21
	bl	_rocker_desc_cookie_ptr_set
Lloh4:
	adrp	x8, _ROCKER_TLV_TX_FRAGS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ROCKER_TLV_TX_FRAGS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_rocker_tlv_nest_start
	cbz	x0, LBB0_10
; %bb.5:
	mov	x24, x0
	ldr	w25, [x21]
	mov	x0, x21
	bl	_skb_headlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x25
	bl	_rocker_tx_desc_frag_map_put
	cbnz	w0, LBB0_9
; %bb.6:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh7:
	adrp	x9, _ROCKER_TX_FRAGS_MAX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ROCKER_TX_FRAGS_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_13
; %bb.7:
	mov	x0, x21
	bl	_skb_linearize
	cbz	w0, LBB0_13
LBB0_8:
	mov	x0, x20
	mov	x1, x22
	bl	_rocker_tx_desc_frags_unmap
LBB0_9:
	mov	x0, x22
	mov	x1, x24
	bl	_rocker_tlv_nest_cancel
LBB0_10:
	mov	x0, x21
	bl	_dev_kfree_skb
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_11:
Lloh10:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_12:
	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_13:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.14:
	mov	x27, #0
	mov	x28, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x25, x8, x27
	mov	x0, x25
	bl	_skb_frag_address
	mov	x26, x0
	mov	x0, x25
	bl	_skb_frag_size
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x26
	bl	_rocker_tx_desc_frag_map_put
	cbnz	w0, LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x28, x28, #1
	mov	x0, x21
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x27, x27, #4
	cmp	x28, x8
	b.lt	LBB0_15
LBB0_17:
	mov	x0, x22
	mov	x1, x24
	bl	_rocker_tlv_nest_end
	mov	x0, x22
	bl	_rocker_desc_gen_clear
	mov	x0, x23
	mov	x1, x20
	mov	x2, x22
	bl	_rocker_desc_head_set
	mov	x0, x20
	bl	_rocker_desc_head_get
	cbnz	x0, LBB0_11
; %bb.18:
	mov	x0, x19
	bl	_netif_stop_queue
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx ring full when queue awake\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_ROCKER_TLV_TX_FRAGS,4,2        ; @ROCKER_TLV_TX_FRAGS
	.comm	_ROCKER_TX_FRAGS_MAX,4,2        ; @ROCKER_TX_FRAGS_MAX
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_rocker_port_xmit
.subsections_via_symbols
