	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_tx
_ionic_tx:                              ## @ionic_tx
	.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, %r12
	movq	%rdi, %r14
	callq	_q_to_tx_stats
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ionic_tx_calc_csum
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ionic_tx_calc_no_csum
LBB0_3:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ionic_tx_skb_frags
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_skb_tx_timestamp
	incl	4(%r15)
	movl	8(%r12), %eax
	addl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_q_to_ndq
	movq	8(%r12), %rsi
	movl	%eax, %edi
	callq	_netdev_tx_sent_queue
	xorl	%ebx, %ebx
	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	%r12, %rcx
	callq	_ionic_txq_post
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_ionic_tx_clean,4,2             ## @ionic_tx_clean
	.no_dead_strip	_ionic_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_tx
_ionic_tx:                              ; @ionic_tx
	.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
	bl	_q_to_tx_stats
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	x0, x20
	mov	x1, x19
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_ionic_tx_calc_csum
	cbnz	w0, LBB0_5
	b	LBB0_3
LBB0_2:
	bl	_ionic_tx_calc_no_csum
	cbnz	w0, LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_ionic_tx_skb_frags
	cbnz	w0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_skb_tx_timestamp
	add	x8, x19, #8
	ldr	d0, [x21]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x21]
	mov	x0, x20
	bl	_q_to_ndq
	ldr	x1, [x19, #8]
	bl	_netdev_tx_sent_queue
	bl	_netdev_xmit_more
	cmp	w0, #0
	cset	w1, eq
Lloh3:
	adrp	x8, _ionic_tx_clean@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ionic_tx_clean@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_ionic_txq_post
	mov	w0, #0
LBB0_5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_ionic_tx_clean,4,2             ; @ionic_tx_clean
	.no_dead_strip	_ionic_tx
.subsections_via_symbols
