	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_xmit_frame_ring
_iavf_xmit_frame_ring:                  ## @iavf_xmit_frame_ring
	.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	_IAVF_TX_DESC_DTYPE_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -56(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movl	$0, -52(%rbp)
	movl	4(%rdi), %edi
	callq	_prefetch
	movq	_xmit_frame_ring@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_iavf_trace
	movq	%r12, %rdi
	callq	_iavf_xmit_descriptor_count
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_iavf_chk_linearize
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	callq	___skb_linearize
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_17
LBB0_3:
	movl	(%r12), %edi
	callq	_iavf_txd_use_count
	movl	%eax, %ebx
	incl	20(%r14)
LBB0_4:
	addl	$5, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_iavf_maybe_stop_tx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	incl	16(%r14)
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_6:
	movq	(%r14), %rax
	movq	8(%r14), %rbx
	leaq	(%rax,%rax,2), %r15
	movq	%r12, 8(%rbx,%r15,8)
	movl	(%r12), %eax
	movl	%eax, 16(%rbx,%r15,8)
	movl	$1, (%rbx,%r15,8)
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_iavf_tx_prepare_vlan_flags
	testq	%rax, %rax
	je	LBB0_7
LBB0_16:
	leaq	(%rbx,%r15,8), %rbx
	addq	$8, %rbx
	movq	_xmit_frame_ring_drop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	movq	%r14, %rdx
	callq	_iavf_trace
	movq	(%rbx), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, (%rbx)
LBB0_17:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	(%rbx,%r15,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_vlan_get_protocol
	movq	%rax, %r13
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r13
	jne	LBB0_9
## %bb.8:
	movq	_IAVF_TX_FLAGS_IPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_9:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r13
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	_IAVF_TX_FLAGS_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
LBB0_11:
	leaq	-52(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	callq	_iavf_tso
	testl	%eax, %eax
	js	LBB0_16
## %bb.12:
	je	LBB0_14
## %bb.13:
	movq	_IAVF_TX_FLAGS_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
LBB0_14:
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-60(%rbp), %r9
	movq	%r12, %rdi
	movq	%r14, %r8
	callq	_iavf_tx_enable_csum
	testl	%eax, %eax
	js	LBB0_16
## %bb.15:
	movq	_IAVF_TX_DESC_CMD_ICRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_iavf_create_tx_ctx
	movl	-44(%rbp), %ecx
	movl	-52(%rbp), %r8d
	movl	-48(%rbp), %r9d
	movl	-56(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_iavf_tx_map
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_IAVF_TX_DESC_DTYPE_CONTEXT,4,2 ## @IAVF_TX_DESC_DTYPE_CONTEXT
	.comm	_xmit_frame_ring,4,2            ## @xmit_frame_ring
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_IAVF_TX_FLAGS_IPV4,4,2         ## @IAVF_TX_FLAGS_IPV4
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_IAVF_TX_FLAGS_IPV6,4,2         ## @IAVF_TX_FLAGS_IPV6
	.comm	_IAVF_TX_FLAGS_TSO,4,2          ## @IAVF_TX_FLAGS_TSO
	.comm	_IAVF_TX_DESC_CMD_ICRC,4,2      ## @IAVF_TX_DESC_CMD_ICRC
	.comm	_xmit_frame_ring_drop,4,2       ## @xmit_frame_ring_drop
	.no_dead_strip	_iavf_xmit_frame_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_xmit_frame_ring
_iavf_xmit_frame_ring:                  ; @iavf_xmit_frame_ring
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IAVF_TX_DESC_DTYPE_CONTEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IAVF_TX_DESC_DTYPE_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #24]
	stp	xzr, xzr, [sp, #8]
	ldr	w0, [x0, #4]
	bl	_prefetch
Lloh3:
	adrp	x8, _xmit_frame_ring@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xmit_frame_ring@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_iavf_trace
	mov	x0, x20
	bl	_iavf_xmit_descriptor_count
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_iavf_chk_linearize
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	___skb_linearize
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_dev_kfree_skb_any
	b	LBB0_8
LBB0_3:
	ldr	w0, [x20]
	bl	_iavf_txd_use_count
	mov	x21, x0
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
LBB0_4:
	add	w1, w21, #5
	mov	x0, x19
	bl	_iavf_maybe_stop_tx
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldp	x9, x8, [x19]
	mov	w10, #24
	madd	x21, x9, x10, x8
	mov	x23, x21
	str	x20, [x23, #8]!
	ldr	w8, [x20]
	str	w8, [x21, #16]
	mov	w8, #1
	str	w8, [x21]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_iavf_tx_prepare_vlan_flags
	cbz	x0, LBB0_10
LBB0_7:
Lloh8:
	adrp	x8, _xmit_frame_ring_drop@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xmit_frame_ring_drop@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x1, [x23]
	mov	x2, x19
	bl	_iavf_trace
	ldr	x0, [x23]
	bl	_dev_kfree_skb_any
	str	xzr, [x23]
LBB0_8:
Lloh11:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_9:
	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
	add	sp, sp, #96
	ret
LBB0_10:
	mov	x0, x20
	bl	_vlan_get_protocol
	mov	x22, x0
Lloh13:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_12
; %bb.11:
Lloh16:
	adrp	x8, _IAVF_TX_FLAGS_IPV4@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IAVF_TX_FLAGS_IPV4@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh18:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_15
; %bb.13:
Lloh21:
	adrp	x8, _IAVF_TX_FLAGS_IPV6@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IAVF_TX_FLAGS_IPV6@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	str	w8, [sp, #16]
LBB0_15:
	add	x1, sp, #8
	add	x2, sp, #28
	mov	x0, x21
	bl	_iavf_tso
	tbnz	w0, #31, LBB0_7
; %bb.16:
	cbz	w0, LBB0_18
; %bb.17:
Lloh23:
	adrp	x8, _IAVF_TX_FLAGS_TSO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IAVF_TX_FLAGS_TSO@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	str	w8, [sp, #16]
LBB0_18:
	add	x1, sp, #16
	add	x2, sp, #12
	add	x3, sp, #20
	add	x5, sp, #24
	mov	x0, x20
	mov	x4, x19
	bl	_iavf_tx_enable_csum
	tbnz	w0, #31, LBB0_7
; %bb.19:
Lloh26:
	adrp	x8, _IAVF_TX_DESC_CMD_ICRC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IAVF_TX_DESC_CMD_ICRC@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	ldp	w2, w1, [sp, #24]
	mov	x0, x19
	mov	w3, #0
	bl	_iavf_create_tx_ctx
	ldp	w5, w3, [sp, #12]
	ldr	w4, [sp, #8]
	ldr	w6, [sp, #20]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_iavf_tx_map
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IAVF_TX_DESC_DTYPE_CONTEXT,4,2 ; @IAVF_TX_DESC_DTYPE_CONTEXT
	.comm	_xmit_frame_ring,4,2            ; @xmit_frame_ring
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_IAVF_TX_FLAGS_IPV4,4,2         ; @IAVF_TX_FLAGS_IPV4
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_IAVF_TX_FLAGS_IPV6,4,2         ; @IAVF_TX_FLAGS_IPV6
	.comm	_IAVF_TX_FLAGS_TSO,4,2          ; @IAVF_TX_FLAGS_TSO
	.comm	_IAVF_TX_DESC_CMD_ICRC,4,2      ; @IAVF_TX_DESC_CMD_ICRC
	.comm	_xmit_frame_ring_drop,4,2       ; @xmit_frame_ring_drop
	.no_dead_strip	_iavf_xmit_frame_ring
.subsections_via_symbols
