	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zaurus_tx_fixup
_zaurus_tx_fixup:                       ## @zaurus_tx_fixup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_skb_cloned
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_skb_tailroom
	cmpl	$5, %eax
	jg	LBB0_4
LBB0_2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	movl	%ebx, %ecx
	callq	_skb_copy_expand
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
	movq	%rbx, %r14
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_4:
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movl	$-1, %edi
	callq	_crc32_le
	movl	%eax, %ebx
	notl	%ebx
	movzbl	%bl, %esi
	movq	%r14, %rdi
	callq	_skb_put_u8
	movzbl	%bh, %esi
	movq	%r14, %rdi
	callq	_skb_put_u8
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %esi
	movq	%r14, %rdi
	callq	_skb_put_u8
	shrl	$24, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_skb_put_u8
	jmp	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_zaurus_tx_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zaurus_tx_fixup
_zaurus_tx_fixup:                       ; @zaurus_tx_fixup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	mov	x0, x1
	bl	_skb_cloned
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_skb_tailroom
	cmp	w0, #5
	b.gt	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #6
	mov	x3, x20
	bl	_skb_copy_expand
	mov	x20, x0
	mov	x0, x19
	bl	_dev_kfree_skb_any
	mov	x19, x20
	cbz	x20, LBB0_4
LBB0_3:
	ldp	w2, w1, [x19]
	mov	w0, #-1
	bl	_crc32_le
	mvn	w20, w0
	and	w1, w20, #0xff
	mov	x0, x19
	bl	_skb_put_u8
	ubfx	w1, w20, #8, #8
	mov	x0, x19
	bl	_skb_put_u8
	ubfx	w1, w20, #16, #8
	mov	x0, x19
	bl	_skb_put_u8
	lsr	w1, w20, #24
	mov	x0, x19
	bl	_skb_put_u8
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_zaurus_tx_fixup
.subsections_via_symbols
