	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __card_iscard
___card_iscard:                         ## @__card_iscard
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%r14d, %r14d
	testl	$-65533, %edi                   ## imm = 0xFFFF0003
	jne	LBB0_9
## %bb.1:
	movl	%edi, %ebx
	andl	$252, %ebx
	movq	_EXI_MEMCARD59@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_7
## %bb.2:
	movq	_EXI_MEMCARD123@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_7
## %bb.3:
	movq	_EXI_MEMCARD251@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_7
## %bb.4:
	movq	_EXI_MEMCARD507@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_7
## %bb.5:
	movq	_EXI_MEMCARD1019@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_7
## %bb.6:
	movq	_EXI_MEMCARD2043@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_9
LBB0_7:
	movl	$23, %esi
	callq	__ROTL
                                        ## kill: def $eax killed $eax def $rax
	movq	_card_sector_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shrl	$2, %eax
	andl	$7, %eax
	movl	(%rcx,%rax,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.8:
	shll	$20, %ebx
	movl	%ebx, %eax
	xorl	%edx, %edx
	idivl	%ecx
	xorl	%r14d, %r14d
	cmpl	$9, %eax
	setge	%r14b
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXI_MEMCARD59,4,2              ## @EXI_MEMCARD59
	.comm	_EXI_MEMCARD123,4,2             ## @EXI_MEMCARD123
	.comm	_EXI_MEMCARD251,4,2             ## @EXI_MEMCARD251
	.comm	_EXI_MEMCARD507,4,2             ## @EXI_MEMCARD507
	.comm	_EXI_MEMCARD1019,4,2            ## @EXI_MEMCARD1019
	.comm	_EXI_MEMCARD2043,4,2            ## @EXI_MEMCARD2043
	.comm	_card_sector_size,8,3           ## @card_sector_size
	.no_dead_strip	___card_iscard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __card_iscard
___card_iscard:                         ; @__card_iscard
	.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
	tst	w0, #0xffff0003
	b.ne	LBB0_4
; %bb.1:
	and	w19, w0, #0xfc
Lloh0:
	adrp	x8, _EXI_MEMCARD59@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXI_MEMCARD59@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EXI_MEMCARD123@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXI_MEMCARD123@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _EXI_MEMCARD251@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EXI_MEMCARD251@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _EXI_MEMCARD507@GOTPAGE
Lloh10:
	ldr	x11, [x11, _EXI_MEMCARD507@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x12, _EXI_MEMCARD1019@GOTPAGE
Lloh13:
	ldr	x12, [x12, _EXI_MEMCARD1019@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
Lloh15:
	adrp	x13, _EXI_MEMCARD2043@GOTPAGE
Lloh16:
	ldr	x13, [x13, _EXI_MEMCARD2043@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x13]
	cmp	w19, w8
	ccmp	w19, w9, #4, ne
	ccmp	w19, w10, #4, ne
	ccmp	w19, w11, #4, ne
	ccmp	w19, w12, #4, ne
	ccmp	w19, w13, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	w1, #23
	bl	__ROTL
Lloh18:
	adrp	x8, _card_sector_size@GOTPAGE
Lloh19:
	ldr	x8, [x8, _card_sector_size@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ubfx	w9, w0, #2, #3
	ldr	w8, [x8, w9, uxtw #2]
	cbz	w8, LBB0_4
; %bb.3:
	lsl	w9, w19, #20
	sdiv	w8, w9, w8
	cmp	w8, #8
	cset	w0, gt
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EXI_MEMCARD59,4,2              ; @EXI_MEMCARD59
	.comm	_EXI_MEMCARD123,4,2             ; @EXI_MEMCARD123
	.comm	_EXI_MEMCARD251,4,2             ; @EXI_MEMCARD251
	.comm	_EXI_MEMCARD507,4,2             ; @EXI_MEMCARD507
	.comm	_EXI_MEMCARD1019,4,2            ; @EXI_MEMCARD1019
	.comm	_EXI_MEMCARD2043,4,2            ; @EXI_MEMCARD2043
	.comm	_card_sector_size,8,3           ; @card_sector_size
	.no_dead_strip	___card_iscard
.subsections_via_symbols
