	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm9601_rx_fixup
_dm9601_rx_fixup:                       ## @dm9601_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_DM_RX_OVERHEAD@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	movl	(%rax), %r12d
	movl	4(%rax), %r13d
	movl	8(%rax), %r15d
	movl	%r12d, %edi
	andl	$191, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	testb	$1, %r12b
	jne	LBB0_4
## %bb.5:
	testb	$2, %r12b
	jne	LBB0_6
LBB0_7:
	testb	$4, %r12b
	jne	LBB0_8
LBB0_9:
	testb	$32, %r12b
	je	LBB0_11
LBB0_10:
	movq	(%r14), %rax
	incl	4(%rax)
LBB0_11:
	xorl	%eax, %eax
	testb	$-112, %r12b
	je	LBB0_14
## %bb.12:
	movq	(%r14), %rcx
	incl	(%rcx)
	jmp	LBB0_14
LBB0_13:
	shll	$8, %r15d
	orl	%r13d, %r15d
	addl	$-4, %r15d
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_skb_pull
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_skb_trim
	movl	$1, %eax
	jmp	LBB0_14
LBB0_4:
	movq	(%r14), %rax
	incl	16(%rax)
	testb	$2, %r12b
	je	LBB0_7
LBB0_6:
	movq	(%r14), %rax
	incl	12(%rax)
	testb	$4, %r12b
	je	LBB0_9
LBB0_8:
	movq	(%r14), %rax
	incl	8(%rax)
	testb	$32, %r12b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_RX_OVERHEAD,8,3             ## @DM_RX_OVERHEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected tiny rx frame\n"

	.no_dead_strip	_dm9601_rx_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm9601_rx_fixup
_dm9601_rx_fixup:                       ; @dm9601_rx_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, x1
	mov	x19, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _DM_RX_OVERHEAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DM_RX_OVERHEAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	mov	w0, #0
LBB0_3:
	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_4:
	ldr	x8, [x20, #8]
	ldp	w21, w22, [x8]
	ldr	w23, [x8, #8]
	mov	w8, #191
	and	w0, w21, w8
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.5:
	tbnz	w21, #0, LBB0_13
; %bb.6:
	tbnz	w21, #1, LBB0_14
LBB0_7:
	tbnz	w21, #2, LBB0_15
LBB0_8:
	tbz	w21, #5, LBB0_10
LBB0_9:
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_10:
	mov	w8, #144
	tst	w21, w8
	b.eq	LBB0_2
; %bb.11:
	mov	w0, #0
	ldr	x8, [x19]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_3
LBB0_12:
	orr	w8, w22, w23, lsl #8
	sub	w19, w8, #4
	mov	x0, x20
	mov	w1, #3
	bl	_skb_pull
	mov	x0, x20
	mov	x1, x19
	bl	_skb_trim
	mov	w0, #1
	b	LBB0_3
LBB0_13:
	ldr	x8, [x19]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
	tbz	w21, #1, LBB0_7
LBB0_14:
	ldr	x8, [x19]
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
	tbz	w21, #2, LBB0_8
LBB0_15:
	ldr	x8, [x19]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	tbnz	w21, #5, LBB0_9
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_RX_OVERHEAD,8,3             ; @DM_RX_OVERHEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected tiny rx frame\n"

	.no_dead_strip	_dm9601_rx_fixup
.subsections_via_symbols
