	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sr_tx_fixup
_sr_tx_fixup:                           ## @sr_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	%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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_skb_headroom
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_skb_tailroom
	movl	%eax, %r13d
	movl	(%r15), %eax
	addl	$4, %eax
	movl	(%r14), %ecx
	decl	%ecx
	cltd
	idivl	%ecx
	xorl	%r14d, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	sete	%r14b
	shll	$2, %r14d
	movq	%r15, %rdi
	callq	_skb_cloned
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	leal	(%r12,%r13), %eax
	leal	4(%r14), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_2
LBB0_8:
	movq	%r15, %rdi
	movl	$4, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_skb_copy_expand
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	%rbx, %r15
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_5:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_skb_push
	movl	(%r15), %ecx
	movl	%ecx, %edx
	shll	$16, %edx
	negl	%edx
	leal	(%rcx,%rdx), %edi
	addl	$196604, %edi                   ## imm = 0x2FFFC
	movq	%rax, %rsi
	callq	_put_unaligned_le32
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_skb_tail_pointer
	movl	$-65536, %edi                   ## imm = 0xFFFF0000
	movq	%rax, %rsi
	callq	_put_unaligned_le32
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_skb_put
LBB0_7:
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_usbnet_set_skb_tx_stats
	jmp	LBB0_10
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$4, %r12d
	jl	LBB0_4
## %bb.3:
	cmpl	%r14d, %r13d
	jge	LBB0_5
LBB0_4:
	movq	8(%r15), %rdi
	addq	$4, %rdi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	callq	_memmove
	movl	%eax, 4(%r15)
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_skb_set_tail_pointer
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sr_tx_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sr_tx_fixup
_sr_tx_fixup:                           ; @sr_tx_fixup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	mov	x0, x1
	bl	_skb_headroom
	mov	x21, x0
	mov	x0, x19
	bl	_skb_tailroom
	mov	x22, x0
	ldr	w8, [x19]
	add	w8, w8, #4
	ldr	w9, [x23]
	sub	w9, w9, #1
	sdiv	w10, w8, w9
	msub	w24, w10, w9, w8
	cmp	w24, #0
	cset	w8, eq
	lsl	w23, w8, #2
	mov	x0, x19
	bl	_skb_cloned
	cbnz	w0, LBB0_2
; %bb.1:
	add	w8, w23, #4
	add	w9, w22, w21
	cmp	w9, w8
	b.ge	LBB0_7
LBB0_2:
	mov	x0, x19
	mov	w1, #4
	mov	x2, x23
	mov	x3, x20
	bl	_skb_copy_expand
	mov	x20, x0
	mov	x0, x19
	bl	_dev_kfree_skb_any
	mov	x19, x20
	cbz	x20, LBB0_6
LBB0_3:
	mov	x0, x19
	mov	w1, #4
	bl	_skb_push
	mov	x1, x0
	ldr	w8, [x19]
	sub	w8, w8, w8, lsl #16
	add	w8, w8, #47, lsl #12            ; =192512
	add	w0, w8, #4092
	bl	_put_unaligned_le32
	cbnz	w24, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_skb_tail_pointer
	mov	x1, x0
	mov	w0, #-65536
	bl	_put_unaligned_le32
	mov	x0, x19
	mov	w1, #4
	bl	_skb_put
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_usbnet_set_skb_tx_stats
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	cmp	w21, #4
	b.lt	LBB0_9
; %bb.8:
	cmp	w22, w23
	b.ge	LBB0_3
LBB0_9:
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	ldp	w2, w1, [x19]
	bl	_memmove
	str	w0, [x19, #4]
	ldr	w1, [x19]
	mov	x0, x19
	bl	_skb_set_tail_pointer
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sr_tx_fixup
.subsections_via_symbols
