	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc75xx_rx_fixup
_smsc75xx_rx_fixup:                     ## @smsc75xx_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), %rdx
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdx
	jl	LBB0_18
## %bb.1:
	testq	%rdx, %rdx
	jle	LBB0_17
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	callq	_get_unaligned_le32
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movq	8(%r14), %rdi
	callq	_get_unaligned_le32
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_RXW_PADDING@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	addl	$4, %esi
	movq	%r14, %rdi
	callq	_skb_pull
	movq	8(%r14), %rbx
	movq	_RX_CMD_A_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%r15d, %r12d
	movslq	%r12d, %rcx
	movslq	(%r13), %rax
	movq	%rcx, %r13
	subq	%rax, %r13
	movq	_RX_CMD_A_RED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r15d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rcx
	movl	%r15d, %r8d
	callq	_netif_dbg
	movq	(%rbx), %rax
	incl	20(%rax)
	incl	16(%rax)
	movq	_RX_CMD_A_FCS@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	12(%rax)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_MAX_SINGLE_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	addl	$12, %eax
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r13, (%r14)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_clone
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, (%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_skb_set_tail_pointer
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_smsc75xx_rx_csum_offload
	movl	(%r15), %esi
	addl	$-4, %esi
	movq	%r15, %rdi
	callq	_skb_trim
	leal	24(%r13), %eax
	movl	%eax, 16(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_usbnet_skb_return
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_RX_CMD_A_RUNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_RX_CMD_A_LONG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%r15d, %ecx
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	8(%rax)
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_skb_pull
	cmpq	$0, (%r14)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	negl	%r12d
	andl	$3, %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_skb_pull
	cmpq	$0, (%r14)
	jg	LBB0_3
	jmp	LBB0_17
LBB0_9:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rdx
	leaq	L_.str.1(%rip), %rcx
	movl	%r15d, %r8d
	callq	_netif_dbg
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_11:
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_smsc75xx_rx_csum_offload
	movl	(%r14), %esi
	addl	$-4, %esi
	movq	%r14, %rdi
	callq	_skb_trim
	leal	24(%r13), %eax
	movl	%eax, 16(%r14)
LBB0_17:
	movl	$1, %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_warn
	xorl	%eax, %eax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_RXW_PADDING,4,2                ## @RXW_PADDING
	.comm	_RX_CMD_A_LEN,4,2               ## @RX_CMD_A_LEN
	.comm	_RX_CMD_A_RED,4,2               ## @RX_CMD_A_RED
	.comm	_rx_err,4,2                     ## @rx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error rx_cmd_a=0x%08x\n"

	.comm	_RX_CMD_A_FCS,4,2               ## @RX_CMD_A_FCS
	.comm	_RX_CMD_A_LONG,4,2              ## @RX_CMD_A_LONG
	.comm	_RX_CMD_A_RUNT,4,2              ## @RX_CMD_A_RUNT
	.comm	_MAX_SINGLE_PACKET_SIZE,4,2     ## @MAX_SINGLE_PACKET_SIZE
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
L_.str.1:                               ## @.str.1
	.asciz	"size err rx_cmd_a=0x%08x\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.2:                               ## @.str.2
	.asciz	"Error allocating skb\n"

	.no_dead_strip	_smsc75xx_rx_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc75xx_rx_fixup
_smsc75xx_rx_fixup:                     ; @smsc75xx_rx_fixup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	ldr	x8, [x1]
	ldr	x9, [x0]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_18
LBB0_2:
	cmp	x8, #1
	b.lt	LBB0_17
; %bb.3:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _RXW_PADDING@GOTPAGE
Lloh1:
	ldr	x26, [x26, _RXW_PADDING@GOTPAGEOFF]
Lloh2:
	adrp	x25, _RX_CMD_A_LEN@GOTPAGE
Lloh3:
	ldr	x25, [x25, _RX_CMD_A_LEN@GOTPAGEOFF]
Lloh4:
	adrp	x28, _RX_CMD_A_RED@GOTPAGE
Lloh5:
	ldr	x28, [x28, _RX_CMD_A_RED@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	movi.2s	v8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	bl	_get_unaligned_le32
	mov	x23, x0
	mov	x0, x19
	mov	w1, #4
	bl	_skb_pull
	ldr	x0, [x19, #8]
	bl	_get_unaligned_le32
	mov	x24, x0
	ldr	w8, [x26]
	add	w1, w8, #4
	mov	x0, x19
	bl	_skb_pull
	ldr	x27, [x19, #8]
	ldr	w8, [x25]
	and	w8, w8, w23
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	sxtw	x8, w8
	ldrsw	x9, [x26]
	sub	x22, x8, x9
	ldr	w8, [x28]
	and	w0, w8, w23
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x8, _rx_err@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	x2, [x20]
	mov	x0, x20
	mov	x3, x21
	mov	x4, x23
	bl	_netif_dbg
	ldr	x8, [x20]
	ldr	d0, [x8, #16]
	add.2s	v0, v0, v8
	str	d0, [x8, #16]
Lloh11:
	adrp	x9, _RX_CMD_A_FCS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RX_CMD_A_FCS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w23
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w24, [sp, #4]                   ; 4-byte Folded Spill
Lloh14:
	adrp	x8, _MAX_SINGLE_PACKET_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_SINGLE_PACKET_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	add	w8, w8, w9
	add	w8, w8, #12
	cmp	w22, w8
	cset	w0, gt
	bl	_unlikely
	cbnz	x0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	cmp	x8, x22
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x26
	mov	x26, x28
	mov	x28, x25
Lloh20:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_clone
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	stp	x22, x27, [x25]
	mov	x0, x25
	mov	x1, x22
	bl	_skb_set_tail_pointer
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	ldr	w3, [sp, #4]                    ; 4-byte Folded Reload
	bl	_smsc75xx_rx_csum_offload
	ldr	w8, [x25]
	sub	w1, w8, #4
	mov	x0, x25
	bl	_skb_trim
	add	w8, w22, #24
	str	w8, [x25, #16]
	mov	x0, x20
	mov	x1, x25
	bl	_usbnet_skb_return
	mov	x25, x28
	mov	x28, x26
	mov	x26, x24
Lloh23:
	adrp	x21, l_.str@PAGE
Lloh24:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh25:
	adrp	x9, _RX_CMD_A_LONG@GOTPAGE
Lloh26:
	ldr	x9, [x9, _RX_CMD_A_LONG@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _RX_CMD_A_RUNT@GOTPAGE
Lloh29:
	ldr	x10, [x10, _RX_CMD_A_RUNT@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w23
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_skb_pull
	ldr	x8, [x19]
	cbz	x8, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	neg	w8, w8
	and	w1, w8, #0x3
	mov	x0, x19
	bl	_skb_pull
	ldr	x8, [x19]
	cmp	x8, #0
	b.gt	LBB0_4
	b	LBB0_17
LBB0_15:
Lloh31:
	adrp	x8, _rx_err@GOTPAGE
Lloh32:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	x2, [x20]
Lloh34:
	adrp	x3, l_.str.1@PAGE
Lloh35:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x23
	bl	_netif_dbg
	mov	w0, #0
	b	LBB0_18
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	ldr	w3, [sp, #4]                    ; 4-byte Folded Reload
	bl	_smsc75xx_rx_csum_offload
	ldr	w8, [x19]
	sub	w1, w8, #4
	mov	x0, x19
	bl	_skb_trim
	add	w8, w22, #24
	str	w8, [x19, #16]
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	ldr	x0, [x20]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_warn
	mov	w0, #0
	b	LBB0_18
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_RXW_PADDING,4,2                ; @RXW_PADDING
	.comm	_RX_CMD_A_LEN,4,2               ; @RX_CMD_A_LEN
	.comm	_RX_CMD_A_RED,4,2               ; @RX_CMD_A_RED
	.comm	_rx_err,4,2                     ; @rx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error rx_cmd_a=0x%08x\n"

	.comm	_RX_CMD_A_FCS,4,2               ; @RX_CMD_A_FCS
	.comm	_RX_CMD_A_LONG,4,2              ; @RX_CMD_A_LONG
	.comm	_RX_CMD_A_RUNT,4,2              ; @RX_CMD_A_RUNT
	.comm	_MAX_SINGLE_PACKET_SIZE,4,2     ; @MAX_SINGLE_PACKET_SIZE
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
l_.str.1:                               ; @.str.1
	.asciz	"size err rx_cmd_a=0x%08x\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.2:                               ; @.str.2
	.asciz	"Error allocating skb\n"

	.no_dead_strip	_smsc75xx_rx_fixup
.subsections_via_symbols
