	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_fill_tx_desc
_jme_fill_tx_desc:                      ## @jme_fill_tx_desc
	.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	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r12
	movslq	%edx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %r13
	movq	16(%r12,%r13,8), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movups	%xmm0, (%rax)
	movl	(%rsi), %edi
	callq	_cpu_to_le16
	movl	%eax, 12(%r12,%r13,8)
	xorl	%eax, %eax
	callq	_wmb
	movq	_TXFLAG_OWN@GOTPCREL(%rip), %rax
	movq	_TXFLAG_INT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	leaq	(%r12,%r13,8), %rsi
	addq	$8, %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_jme_tx_tso
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_jme_tx_csum
LBB0_2:
	leaq	(%r12,%r13,8), %rsi
	addq	$4, %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_jme_tx_vlan
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_jme_map_tx_skb
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-44(%rbp), %eax
	movl	%eax, (%r12,%r13,8)
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_wmb
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	(%rax), %rax
	addq	$2, %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	shlq	$5, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 24(%rcx,%rdx)
	movq	%rbx, 16(%rcx,%rdx)
	movl	(%rbx), %eax
	movl	%eax, 8(%rcx,%rdx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$1, %rax
	sbbq	%r15, %r15
	orq	%rax, %r15
	movq	%r15, (%rcx,%rdx)
LBB0_4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXFLAG_OWN,4,2                 ## @TXFLAG_OWN
	.comm	_TXFLAG_INT,4,2                 ## @TXFLAG_INT
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_jme_fill_tx_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_fill_tx_desc
_jme_fill_tx_desc:                      ; @jme_fill_tx_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
	sxtw	x22, w20
	ldp	x23, x24, [x8]
	mov	w8, #24
	smaddl	x25, w2, w8, x24
	ldr	x8, [x25, #16]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8]
	ldr	w0, [x1]
	bl	_cpu_to_le16
	str	w0, [x25, #12]
	bl	_wmb
Lloh0:
	adrp	x8, _TXFLAG_OWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXFLAG_OWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TXFLAG_INT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TXFLAG_INT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	add	x1, x25, #8
	add	x2, sp, #12
	mov	x0, x19
	bl	_jme_tx_tso
	cbz	x0, LBB0_2
; %bb.1:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x19
	bl	_jme_tx_csum
LBB0_2:
	mov	w8, #24
	madd	x8, x22, x8, x24
	add	x1, x8, #4
	add	x2, sp, #12
	mov	x0, x19
	bl	_jme_tx_vlan
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_jme_map_tx_skb
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
	mov	w9, #24
	mul	x9, x22, x9
	str	w8, [x24, x9]
	bl	_wmb
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0]
	add	x8, x8, #2
	add	x9, x23, x22, lsl #5
	stp	x19, x8, [x9, #16]
	ldr	w8, [x19]
	str	w8, [x9, #8]
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, #0
	csinv	x8, x8, xzr, ne
	str	x8, [x9]
LBB0_4:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TXFLAG_OWN,4,2                 ; @TXFLAG_OWN
	.comm	_TXFLAG_INT,4,2                 ; @TXFLAG_INT
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_jme_fill_tx_desc
.subsections_via_symbols
