	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fir_eof
_fir_eof:                               ## @fir_eof
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movslq	8(%rdi), %rbx
	xorl	%edi, %edi
	cmpq	$5, %rbx
	setl	%dil
	leaq	-4(%rbx), %r14
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movl	24(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	callq	_pr_debug
	movq	(%r12), %rax
	incl	16(%rax)
	incl	20(%rax)
	jmp	LBB0_11
LBB0_2:
	movq	24(%r12), %rsi
	movl	$-1, %edi
	movl	%r14d, %edx
	callq	_crc32_le
	movl	%eax, %r15d
	notl	%r15d
	movq	%r14, %rdi
	addq	24(%r12), %rdi
	callq	_get_unaligned_le32
	cmpl	%r15d, %eax
	jne	LBB0_3
## %bb.4:
	movq	_IRDA_RX_COPY_THRESHOLD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_8
## %bb.5:
	addl	$-3, %ebx
	movl	%ebx, %edi
	callq	_dev_alloc_skb
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_skb_reserve
	movq	24(%r12), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_skb_copy_to_linear_data
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_pr_debug
	movq	(%r12), %rax
	incl	16(%rax)
	incl	12(%rax)
	jmp	LBB0_11
LBB0_8:
	movl	12(%r12), %edi
	callq	_dev_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	movq	(%r12), %rax
	incl	8(%rax)
	jmp	LBB0_11
LBB0_9:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_skb_reserve
	movq	32(%r12), %r15
	movq	%rbx, 32(%r12)
	movq	16(%rbx), %rax
	movq	%rax, 16(%r12)
LBB0_10:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	%r15, %rdi
	callq	_skb_reset_mac_header
	movq	_ETH_P_IRDA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 8(%r15)
	movq	(%r12), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	callq	_netif_rx
	movq	(%r12), %rax
	incl	4(%rax)
	addl	%r14d, (%rax)
	movq	16(%r12), %rax
	movq	%rax, 24(%r12)
	movl	$0, 8(%r12)
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: short frame len %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"crc error calc 0x%x len %d\n"

	.comm	_IRDA_RX_COPY_THRESHOLD,4,2     ## @IRDA_RX_COPY_THRESHOLD
	.comm	_ETH_P_IRDA,4,2                 ## @ETH_P_IRDA
	.no_dead_strip	_fir_eof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fir_eof
_fir_eof:                               ; @fir_eof
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldrsw	x22, [x0, #8]
	cmp	x22, #5
	cset	w0, lt
	sub	x20, x22, #4
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w1, [x8, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
	ldr	x8, [x19]
	ldr	d0, [x8, #16]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x8, #16]
	b	LBB0_11
LBB0_2:
	ldr	x1, [x19, #24]
	mov	w0, #-1
	mov	x2, x20
	bl	_crc32_le
	mvn	w21, w0
	ldr	x8, [x19, #24]
	add	x0, x8, x20
	bl	_get_unaligned_le32
	cmp	w0, w21
	b.ne	LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _IRDA_RX_COPY_THRESHOLD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRDA_RX_COPY_THRESHOLD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ge	LBB0_7
; %bb.4:
	sub	w0, w22, #3
	bl	_dev_alloc_skb
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_8
; %bb.5:
	mov	x0, x21
	mov	w1, #1
	bl	_skb_reserve
	ldr	x1, [x19, #24]
	mov	x0, x21
	mov	x2, x20
	bl	_skb_copy_to_linear_data
	b	LBB0_10
LBB0_6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	bl	_pr_debug
	ldr	x8, [x19]
	ldur	d0, [x8, #12]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x8, #12]
	b	LBB0_11
LBB0_7:
	ldr	w0, [x19, #12]
	bl	_dev_alloc_skb
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_9
LBB0_8:
	ldr	x8, [x19]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_11
LBB0_9:
	mov	x0, x22
	mov	w1, #1
	bl	_skb_reserve
	ldr	x21, [x19, #32]
	str	x22, [x19, #32]
	ldr	x8, [x22, #16]
	str	x8, [x19, #16]
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	bl	_skb_put
	mov	x0, x21
	bl	_skb_reset_mac_header
Lloh7:
	adrp	x8, _ETH_P_IRDA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_P_IRDA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x21, #8]
	ldr	x8, [x19]
	str	x8, [x21]
	mov	x0, x21
	bl	_netif_rx
	ldr	x8, [x19]
	movi.2s	v0, #1
	mov.s	v0[0], w20
	ldr	d1, [x8]
	add.2s	v0, v1, v0
	str	d0, [x8]
	ldr	x8, [x19, #16]
	str	x8, [x19, #24]
	str	wzr, [x19, #8]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: short frame len %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"crc error calc 0x%x len %d\n"

	.comm	_IRDA_RX_COPY_THRESHOLD,4,2     ; @IRDA_RX_COPY_THRESHOLD
	.comm	_ETH_P_IRDA,4,2                 ; @ETH_P_IRDA
	.no_dead_strip	_fir_eof
.subsections_via_symbols
