	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function toshoboe_checkfcs
_toshoboe_checkfcs:                     ## @toshoboe_checkfcs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_INIT_FCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	movl	%esi, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rbx), %esi
	movq	%rax, %rdi
	callq	_irda_fcs
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_2
LBB0_3:
	movq	_GOOD_FCS@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT_FCS,8,3                   ## @INIT_FCS
	.comm	_GOOD_FCS,8,3                   ## @GOOD_FCS
	.no_dead_strip	_toshoboe_checkfcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function toshoboe_checkfcs
_toshoboe_checkfcs:                     ; @toshoboe_checkfcs
	.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
Lloh0:
	adrp	x8, _INIT_FCS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INIT_FCS@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x20], #1
	bl	_irda_fcs
	subs	w19, w19, #1
	b.ne	LBB0_2
LBB0_3:
Lloh3:
	adrp	x8, _GOOD_FCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GOOD_FCS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT_FCS,8,3                   ; @INIT_FCS
	.comm	_GOOD_FCS,8,3                   ; @GOOD_FCS
	.no_dead_strip	_toshoboe_checkfcs
.subsections_via_symbols
