	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sb1000_check_CRC
_sb1000_check_CRC:                      ## @sb1000_check_CRC
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	_sb1000_check_CRC.Command0(%rip), %rdx
	leaq	-7(%rbp), %rcx
	callq	_card_send_command
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movb	-6(%rbp), %al
	cmpb	-4(%rbp), %al
	jne	LBB0_3
## %bb.2:
	movb	-5(%rbp), %cl
	xorl	%eax, %eax
	cmpb	-3(%rbp), %cl
	je	LBB0_4
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_sb1000_check_CRC.Command0:             ## @sb1000_check_CRC.Command0
	.asciz	"\200\037\000\000\000"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_sb1000_check_CRC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sb1000_check_CRC
_sb1000_check_CRC:                      ; @sb1000_check_CRC
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x2, _sb1000_check_CRC.Command0@PAGE
Lloh1:
	add	x2, x2, _sb1000_check_CRC.Command0@PAGEOFF
	sub	x3, x29, #7
	bl	_card_send_command
	cbnz	w0, LBB0_5
; %bb.1:
	ldurb	w8, [x29, #-6]
	ldurb	w9, [x29, #-4]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldurb	w8, [x29, #-5]
	ldurb	w9, [x29, #-3]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_sb1000_check_CRC.Command0:             ; @sb1000_check_CRC.Command0
	.asciz	"\200\037\000\000\000"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_sb1000_check_CRC
.subsections_via_symbols
