	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsys01_crc_valid
_tsys01_crc_valid:                      ## @tsys01_crc_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TSYS01_PROM_WORDS_NB@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_1
## %bb.2:
	movl	(%rdi), %eax
	movzbl	%al, %edx
	sarl	$8, %eax
	addl	%eax, %edx
	movslq	%edx, %rax
	imulq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TSYS01_PROM_WORDS_NB,8,3       ## @TSYS01_PROM_WORDS_NB
	.no_dead_strip	_tsys01_crc_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsys01_crc_valid
_tsys01_crc_valid:                      ; @tsys01_crc_valid
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TSYS01_PROM_WORDS_NB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TSYS01_PROM_WORDS_NB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x0]
	asr	w10, w9, #8
	add	w9, w10, w9, uxtb
	sxtw	x9, w9
	mul	x8, x8, x9
	cmp	x8, #0
	cset	w0, eq
	ret
LBB0_2:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TSYS01_PROM_WORDS_NB,8,3       ; @TSYS01_PROM_WORDS_NB
	.no_dead_strip	_tsys01_crc_valid
.subsections_via_symbols
