	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_tx_calc_no_csum
_ionic_tx_calc_no_csum:                 ## @ionic_tx_calc_no_csum
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_q_to_tx_stats
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	(%rax), %r13
	movq	%r14, %rdi
	callq	_skb_vlan_tag_present
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14), %r15d
	movl	4(%r14), %r12d
	movq	%r14, %rdi
	callq	_skb_headlen
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_ionic_tx_map_single
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movq	_IONIC_TXQ_DESC_FLAG_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	movq	_IONIC_TXQ_DESC_FLAG_ENCAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_6:
	orl	%ecx, %r15d
	movq	_IONIC_TXQ_DESC_OPCODE_CSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	callq	_encode_txq_desc_cmd
	movl	%eax, %edi
	callq	_cpu_to_le64
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	callq	_skb_headlen
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	callq	_skb_vlan_tag_get
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	incl	(%r13)
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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_OPCODE_CSUM_NONE,4,2 ## @IONIC_TXQ_DESC_OPCODE_CSUM_NONE
	.no_dead_strip	_ionic_tx_calc_no_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_tx_calc_no_csum
_ionic_tx_calc_no_csum:                 ; @ionic_tx_calc_no_csum
	.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	x20, x1
	mov	x21, x0
	bl	_q_to_tx_stats
	mov	x19, x0
	ldp	x9, x8, [x21]
	ldr	x25, [x8]
	ldr	x8, [x9]
	ldr	x23, [x8]
	mov	x0, x20
	bl	_skb_vlan_tag_present
	mov	x22, x0
	ldp	w26, w24, [x20]
	mov	x0, x20
	bl	_skb_headlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_ionic_tx_map_single
	mov	x21, x0
	mov	x0, x23
	mov	x1, x21
	bl	_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _IONIC_TXQ_DESC_FLAG_VLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IONIC_TXQ_DESC_FLAG_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w22, #0
	csel	w8, wzr, w8, eq
Lloh6:
	adrp	x9, _IONIC_TXQ_DESC_FLAG_ENCAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IONIC_TXQ_DESC_FLAG_ENCAP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w26, #0
	csel	w9, wzr, w9, eq
	orr	w22, w9, w8
Lloh9:
	adrp	x8, _IONIC_TXQ_DESC_OPCODE_CSUM_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IONIC_TXQ_DESC_OPCODE_CSUM_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w2, [x0]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	bl	_encode_txq_desc_cmd
	bl	_cpu_to_le64
	str	w0, [x25, #16]
	mov	x0, x20
	bl	_skb_headlen
	bl	_cpu_to_le16
	str	x0, [x25, #8]
	mov	x0, x20
	bl	_skb_vlan_tag_get
	bl	_cpu_to_le16
	mov	x8, x0
	mov	w0, #0
	str	x8, [x25]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.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_OPCODE_CSUM_NONE,4,2 ; @IONIC_TXQ_DESC_OPCODE_CSUM_NONE
	.no_dead_strip	_ionic_tx_calc_no_csum
.subsections_via_symbols
