	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vl600_rx_fixup
_vl600_rx_fixup:                        ## @vl600_rx_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
	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, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rdi
	movl	8(%rax), %ebx
	addl	8(%r12), %ebx
	addq	$4, %rdi
	callq	_le32_to_cpup
	cmpl	%eax, %ebx
	jle	LBB0_6
## %bb.2:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rdx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	cmpl	$3, 8(%r12)
	movq	%r12, %r14
	jg	LBB0_7
## %bb.5:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rcx
LBB0_3:
	movq	%r15, %rdi
	callq	_netif_err
	movq	(%r15), %rax
	incl	12(%rax)
	jmp	LBB0_18
LBB0_6:
	movq	(%r14), %r14
	movq	(%r12), %rsi
	movl	8(%r12), %edx
	movq	%r14, %rdi
	callq	_skb_put_data
LBB0_7:
	movq	(%r14), %r13
	movl	8(%r13), %edi
	callq	_ntohl
	cmpl	$1398031432, %eax               ## imm = 0x53544448
	je	LBB0_9
## %bb.8:
	cmpl	$1146375496, %eax               ## imm = 0x44544D48
	jne	LBB0_18
LBB0_9:
	movl	8(%r14), %ebx
	cmpl	$12, %ebx
	jb	LBB0_11
## %bb.10:
	leaq	4(%r13), %rdi
	callq	_le32_to_cpup
	cmpl	%eax, %ebx
	jne	LBB0_11
## %bb.14:
	movq	%r13, %rdi
	callq	_le32_to_cpup
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_skb_pull
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_18
## %bb.15:
	cmpl	$4, 8(%r14)
	jb	LBB0_16
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	callq	_le32_to_cpup
	movl	%eax, %r13d
	leal	4(%r13), %eax
	cmpl	8(%r14), %eax
	jg	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	decl	-48(%rbp)                       ## 4-byte Folded Spill
	movq	(%r12), %rbx
	movq	%rbx, %rdi
	callq	_be16_to_cpup
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$39, 8(%r14)
	jl	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	8(%rbx), %edi
	movq	(%r14), %rsi
	addq	$80, %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	4(%rbx), %edi
	movq	(%r14), %rsi
	addq	$120, %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	8(%rbx), %edi
	callq	_eth_zero_addr
	movl	4(%rbx), %edi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	(%r14), %rax
	movl	48(%rax), %eax
	movl	$240, %ecx
	andl	%ecx, %eax
	cmpl	$96, %eax
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%rbx)
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_clone
	testq	%rax, %rax
	je	LBB0_18
## %bb.30:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_trim
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_usbnet_skb_return
	addl	$7, %r13d
	andl	$-4, %r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_skb_pull
	cmpl	$4, 8(%r14)
	jae	LBB0_21
LBB0_16:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rcx
LBB0_17:
	movq	%r15, %rdi
	callq	_netif_err
LBB0_18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_dev_kfree_skb_any
	movq	$0, (%rbx)
LBB0_20:
	movq	(%r15), %rax
	incl	8(%rax)
LBB0_34:
	xorl	%ebx, %ebx
LBB0_35:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, (%r14)
	jne	LBB0_35
## %bb.12:
	addq	$4, %r13
	movq	%r13, %rdi
	callq	_le32_to_cpup
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_skb_copy_expand
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_35
## %bb.13:
	movq	(%r15), %rax
	incl	8(%rax)
	jmp	LBB0_35
LBB0_22:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rdx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_17
LBB0_31:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_trim
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, (%rbx)
	je	LBB0_32
## %bb.33:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_usbnet_skb_return
	movq	$0, (%rbx)
	jmp	LBB0_34
LBB0_32:
	movl	$1, %ebx
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fragment too long\n"

L_.str.1:                               ## @.str.1
	.asciz	"Frame too short\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.2:                               ## @.str.2
	.asciz	"Packet too short\n"

L_.str.3:                               ## @.str.3
	.asciz	"Bad packet length stored in header\n"

	.comm	_ETH_P_ARP,8,3                  ## @ETH_P_ARP
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.no_dead_strip	_vl600_rx_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vl600_rx_fixup
_vl600_rx_fixup:                        ; @vl600_rx_fixup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x26, [x0, #8]
	ldr	x8, [x26]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
	ldr	w10, [x20, #8]
	ldr	w8, [x8, #8]
	add	w21, w8, w10
	add	x0, x9, #4
	bl	_le32_to_cpup
	cmp	w21, w0
	b.le	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _ifup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [x19]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	ldr	w8, [x20, #8]
	mov	x21, x20
	cmp	w8, #3
	b.gt	LBB0_7
; %bb.4:
Lloh5:
	adrp	x8, _ifup@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	x2, [x19]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_netif_err
	ldr	x8, [x19]
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
	b	LBB0_14
LBB0_6:
	ldr	x21, [x26]
	ldr	x1, [x20]
	ldr	w2, [x20, #8]
	mov	x0, x21
	bl	_skb_put_data
LBB0_7:
	ldr	x22, [x21]
	ldr	w0, [x22, #8]
	bl	_ntohl
	mov	w8, #17480
	movk	w8, #21332, lsl #16
	cmp	w0, w8
	mov	w8, #19784
	movk	w8, #17492, lsl #16
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_14
; %bb.8:
	ldr	w23, [x21, #8]
	cmp	w23, #12
	b.lo	LBB0_18
; %bb.9:
	add	x0, x22, #4
	bl	_le32_to_cpup
	cmp	w23, w0
	b.ne	LBB0_18
; %bb.10:
	mov	x0, x22
	bl	_le32_to_cpup
	mov	x22, x0
	mov	x0, x21
	mov	w1, #12
	bl	_skb_pull
	cbz	w22, LBB0_14
; %bb.11:
	ldr	w8, [x21, #8]
	cmp	w8, #4
	b.hs	LBB0_21
LBB0_12:
Lloh10:
	adrp	x8, _ifup@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x2, [x19]
Lloh13:
	adrp	x3, l_.str.2@PAGE
Lloh14:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_netif_err
LBB0_14:
	ldr	x0, [x26]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_dev_kfree_skb_any
	str	xzr, [x26]
LBB0_16:
	mov	w0, #0
	ldr	x8, [x19]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
LBB0_17:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	x8, [x26]
	cbz	x8, LBB0_20
; %bb.19:
	mov	w0, #0
	b	LBB0_17
LBB0_20:
	add	x0, x22, #4
	bl	_le32_to_cpup
	mov	x2, x0
Lloh15:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_skb_copy_expand
	mov	x8, x0
	mov	w0, #0
	str	x8, [x26]
	cbnz	x8, LBB0_17
	b	LBB0_16
LBB0_21:
Lloh18:
	adrp	x27, _ETH_P_ARP@GOTPAGE
Lloh19:
	ldr	x27, [x27, _ETH_P_ARP@GOTPAGEOFF]
Lloh20:
	adrp	x28, _ETH_ALEN@GOTPAGE
Lloh21:
	ldr	x28, [x28, _ETH_ALEN@GOTPAGEOFF]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	bl	_le32_to_cpup
	add	w24, w0, #4
	ldr	w8, [x21, #8]
	cmp	w24, w8
	b.gt	LBB0_31
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x23, x0
	sub	w22, w22, #1
	ldr	x25, [x20]
	mov	x0, x25
	bl	_be16_to_cpup
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x21, #8]
	cmp	w8, #39
	b.lt	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x25, #8]
	ldr	x8, [x21]
	add	x1, x8, #80
	ldr	w2, [x28]
	bl	_memcpy
	ldr	w0, [x25, #4]
	ldr	x8, [x21]
	add	x1, x8, #120
	ldr	w2, [x28]
	bl	_memcpy
	b	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x25, #8]
	bl	_eth_zero_addr
	ldr	w0, [x25, #4]
	ldr	x8, [x19]
	ldr	x1, [x8]
	ldr	w2, [x28]
	bl	_memcpy
	ldr	x8, [x21]
	ldr	w8, [x8, #48]
	and	w8, w8, #0xf0
	cmp	w8, #96
	b.ne	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_22 Depth=1
Lloh22:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x25]
LBB0_28:                                ;   in Loop: Header=BB0_22 Depth=1
	cbz	w22, LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_22 Depth=1
Lloh25:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_skb_clone
	cbz	x0, LBB0_14
; %bb.30:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x25, x0
	mov	x1, x24
	bl	_skb_trim
	mov	x0, x19
	mov	x1, x25
	bl	_usbnet_skb_return
	add	w8, w23, #7
	and	w1, w8, #0xfffffffc
	mov	x0, x21
	bl	_skb_pull
	ldr	w8, [x21, #8]
	cmp	w8, #4
	b.hs	LBB0_22
	b	LBB0_12
LBB0_31:
Lloh28:
	adrp	x8, _ifup@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	x2, [x19]
Lloh31:
	adrp	x3, l_.str.3@PAGE
Lloh32:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_32:
	mov	x0, x21
	mov	x1, x24
	bl	_skb_trim
	ldr	x8, [x26]
	cbz	x8, LBB0_34
; %bb.33:
	mov	x0, x19
	mov	x1, x21
	bl	_usbnet_skb_return
	mov	w0, #0
	str	xzr, [x26]
	b	LBB0_17
LBB0_34:
	mov	w0, #1
	b	LBB0_17
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fragment too long\n"

l_.str.1:                               ; @.str.1
	.asciz	"Frame too short\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.2:                               ; @.str.2
	.asciz	"Packet too short\n"

l_.str.3:                               ; @.str.3
	.asciz	"Bad packet length stored in header\n"

	.comm	_ETH_P_ARP,8,3                  ; @ETH_P_ARP
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.no_dead_strip	_vl600_rx_fixup
.subsections_via_symbols
