	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sja1105_crc32                  ## -- Begin function sja1105_crc32
	.p2align	4, 0x90
_sja1105_crc32:                         ## @sja1105_crc32
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$-1, %r13d
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%rbx), %rdi
	movq	%r12, %rsi
	movl	$31, %edx
	xorl	%ecx, %ecx
	movl	$4, %r8d
	callq	_sja1105_unpack
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_crc32_le
	movl	%eax, %r13d
	addl	$4, %ebx
	cmpq	%r15, %rbx
	jb	LBB0_3
## %bb.4:
	notl	%r13d
	jmp	LBB0_5
LBB0_1:
	xorl	%r13d, %r13d
LBB0_5:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sja1105_crc32                  ; -- Begin function sja1105_crc32
	.p2align	2
_sja1105_crc32:                         ; @sja1105_crc32
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x22, #0
	mov	w21, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, x22
	add	x1, sp, #12
	mov	w2, #31
	mov	w3, #0
	mov	w4, #4
	bl	_sja1105_unpack
	add	x1, sp, #12
	mov	x0, x21
	mov	w2, #4
	bl	_crc32_le
	mov	x21, x0
	add	w22, w22, #4
	cmp	x22, x19
	b.lo	LBB0_2
; %bb.3:
	mvn	w0, w21
	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
	add	sp, sp, #64
	ret
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
