	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcs7830_rx_fixup
_mcs7830_rx_fixup:                      ## @mcs7830_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	decl	%esi
	movq	%rbx, %rdi
	callq	_skb_trim
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edx
	cmpl	$32, %edx
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	movl	(%rbx), %ecx
LBB0_4:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setg	%al
	jmp	LBB0_5
LBB0_1:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected empty rx frame\n"

L_.str.1:                               ## @.str.1
	.asciz	"rx fixup status %x\n"

	.no_dead_strip	_mcs7830_rx_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcs7830_rx_fixup
_mcs7830_rx_fixup:                      ; @mcs7830_rx_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, x0
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x1
	sub	w1, w8, #1
	mov	x0, x19
	bl	_skb_trim
	ldr	x9, [x19, #8]
	ldrsw	x8, [x19]
	ldr	w2, [x9, x8, lsl #2]
	cmp	w2, #32
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x20]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19]
LBB0_3:
	cmp	w8, #0
	cset	w0, gt
	b	LBB0_5
LBB0_4:
	ldr	x0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected empty rx frame\n"

l_.str.1:                               ; @.str.1
	.asciz	"rx fixup status %x\n"

	.no_dead_strip	_mcs7830_rx_fixup
.subsections_via_symbols
