	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_tx_tso_post
_ionic_tx_tso_post:                     ## @ionic_tx_tso_post
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %esi
	movl	48(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_IONIC_TXQ_DESC_FLAG_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movl	56(%rbp), %eax
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movq	_IONIC_TXQ_DESC_FLAG_ENCAP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_4:
	movl	64(%rbp), %r12d
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_IONIC_TXQ_DESC_FLAG_TSO_SOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	24(%rbp), %r13d
	movl	16(%rbp), %r14d
	movl	40(%rbp), %r15d
	orl	%edx, %esi
	movl	%r12d, %edx
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.7:
	movq	_IONIC_TXQ_DESC_FLAG_TSO_EOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_8:
	orl	%edx, %eax
	orl	%eax, %esi
	movq	_IONIC_TXQ_DESC_OPCODE_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r8d, %edx
	callq	_encode_txq_desc_cmd
	movl	%eax, %edi
	callq	_cpu_to_le64
	movl	%eax, 32(%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movl	%r13d, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_tx_timestamp
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_q_to_ndq
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_netdev_tx_sent_queue
	xorl	%eax, %eax
	callq	_netdev_xmit_more
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	_ionic_tx_clean@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	jmp	LBB0_11
LBB0_10:
	movq	_ionic_tx_clean@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%ecx, %ecx
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ionic_txq_post                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IONIC_TXQ_DESC_FLAG_VLAN,4,2   ## @IONIC_TXQ_DESC_FLAG_VLAN
	.comm	_IONIC_TXQ_DESC_FLAG_ENCAP,4,2  ## @IONIC_TXQ_DESC_FLAG_ENCAP
	.comm	_IONIC_TXQ_DESC_FLAG_TSO_SOT,4,2 ## @IONIC_TXQ_DESC_FLAG_TSO_SOT
	.comm	_IONIC_TXQ_DESC_FLAG_TSO_EOT,4,2 ## @IONIC_TXQ_DESC_FLAG_TSO_EOT
	.comm	_IONIC_TXQ_DESC_OPCODE_TSO,4,2  ## @IONIC_TXQ_DESC_OPCODE_TSO
	.comm	_ionic_tx_clean,4,2             ## @ionic_tx_clean
	.no_dead_strip	_ionic_tx_tso_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_tx_tso_post
_ionic_tx_tso_post:                     ; @ionic_tx_tso_post
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x7
	mov	x23, x6
	mov	x24, x5
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldp	w9, w26, [x29, #28]
	ldp	w8, w25, [x29, #16]
	ldr	w10, [x29, #24]
Lloh0:
	adrp	x11, _IONIC_TXQ_DESC_FLAG_VLAN@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IONIC_TXQ_DESC_FLAG_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	cmp	w10, #0
	csel	w10, wzr, w11, eq
Lloh3:
	adrp	x11, _IONIC_TXQ_DESC_FLAG_ENCAP@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IONIC_TXQ_DESC_FLAG_ENCAP@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	w8, #0
	csel	w8, wzr, w11, eq
	orr	w8, w8, w10
Lloh6:
	adrp	x10, _IONIC_TXQ_DESC_FLAG_TSO_SOT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IONIC_TXQ_DESC_FLAG_TSO_SOT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, #0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IONIC_TXQ_DESC_FLAG_TSO_EOT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IONIC_TXQ_DESC_FLAG_TSO_EOT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w26, #0
	csel	w9, wzr, w9, eq
	orr	w1, w8, w9
Lloh12:
	adrp	x8, _IONIC_TXQ_DESC_OPCODE_TSO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IONIC_TXQ_DESC_OPCODE_TSO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x2, x4
	bl	_encode_txq_desc_cmd
	bl	_cpu_to_le64
	str	w0, [x22, #32]
	mov	x0, x24
	bl	_cpu_to_le16
	str	x0, [x22, #24]
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [x22, #16]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [x22, #8]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x22]
	cbz	w26, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_skb_tx_timestamp
	mov	x0, x19
	bl	_q_to_ndq
	ldr	w1, [x20]
	bl	_netdev_tx_sent_queue
	bl	_netdev_xmit_more
	cmp	w0, #0
Lloh15:
	adrp	x8, _ionic_tx_clean@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ionic_tx_clean@GOTPAGEOFF]
	cset	w1, eq
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	b	LBB0_3
LBB0_2:
Lloh18:
	adrp	x8, _ionic_tx_clean@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ionic_tx_clean@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	x3, #0
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ionic_txq_post
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IONIC_TXQ_DESC_FLAG_VLAN,4,2   ; @IONIC_TXQ_DESC_FLAG_VLAN
	.comm	_IONIC_TXQ_DESC_FLAG_ENCAP,4,2  ; @IONIC_TXQ_DESC_FLAG_ENCAP
	.comm	_IONIC_TXQ_DESC_FLAG_TSO_SOT,4,2 ; @IONIC_TXQ_DESC_FLAG_TSO_SOT
	.comm	_IONIC_TXQ_DESC_FLAG_TSO_EOT,4,2 ; @IONIC_TXQ_DESC_FLAG_TSO_EOT
	.comm	_IONIC_TXQ_DESC_OPCODE_TSO,4,2  ; @IONIC_TXQ_DESC_OPCODE_TSO
	.comm	_ionic_tx_clean,4,2             ; @ionic_tx_clean
	.no_dead_strip	_ionic_tx_tso_post
.subsections_via_symbols
