	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meth_tx_short_prepare
_meth_tx_short_prepare:                 ## @meth_tx_short_prepare
	.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
	pushq	%rax
	.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	8(%rdi), %r13
	movl	(%rsi), %edx
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%ebx, %edx
	cmovgl	%edx, %ebx
	movq	_METH_TX_CMD_INT_EN@GOTPCREL(%rip), %rax
	leal	-1(%rbx), %ecx
	orl	(%rax), %ecx
	movl	%ebx, %eax
	shll	$16, %eax
	movl	$8388608, %esi                  ## imm = 0x800000
	subl	%eax, %esi
	orl	%ecx, %esi
	movl	%esi, 4(%r13,%r12,8)
	movl	$120, %r15d
	subl	%ebx, %r15d
	movl	(%r13,%r12,8), %esi
	addl	%r15d, %esi
	movq	%r14, %rdi
	callq	_skb_copy_from_linear_data
	movl	(%r14), %eax
	subl	%eax, %ebx
	jle	LBB0_1
## %bb.2:
	addl	%eax, %r15d
	addl	(%r13,%r12,8), %r15d
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_METH_TX_CMD_INT_EN,4,2         ## @METH_TX_CMD_INT_EN
	.no_dead_strip	_meth_tx_short_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meth_tx_short_prepare
_meth_tx_short_prepare:                 ; @meth_tx_short_prepare
	.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
	ldp	x9, x8, [x0]
Lloh0:
	adrp	x10, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ETH_ZLEN@GOTPAGEOFF]
	ldr	w2, [x1]
Lloh2:
	ldr	w10, [x10]
	cmp	w2, w10
	csel	w22, w2, w10, gt
Lloh3:
	adrp	x10, _METH_TX_CMD_INT_EN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _METH_TX_CMD_INT_EN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	sub	w11, w22, #1
	orr	w10, w11, w10
	mov	w11, #8388608
	sub	w11, w11, w22, lsl #16
	orr	w10, w10, w11
	add	x20, x8, x9, lsl #3
	str	w10, [x20, #4]
	ldr	w8, [x20]
	mov	w9, #120
	sub	w21, w9, w22
	add	w1, w21, w8
	mov	x0, x19
	bl	_skb_copy_from_linear_data
	ldr	w8, [x19]
	subs	w2, w22, w8
	b.le	LBB0_2
; %bb.1:
	ldr	w9, [x20]
	add	w8, w21, w8
	add	w0, w8, w9
	mov	w1, #0
	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
	b	_memset
LBB0_2:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_METH_TX_CMD_INT_EN,4,2         ; @METH_TX_CMD_INT_EN
	.no_dead_strip	_meth_tx_short_prepare
.subsections_via_symbols
