	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __card_read
___card_read:                           ## @__card_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EXI_CHANNEL_0@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	ja	LBB0_2
## %bb.1:
	movq	_EXI_CHANNEL_2@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_2
## %bb.3:
	movq	_cardmap@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	leaq	(%rdi,%rdi,2), %rax
	movl	%esi, (%r9,%rax,8)
	sarl	$9, %edx
	movl	%edx, 4(%r9,%rax,8)
	movq	%rcx, 16(%r9,%rax,8)
	movl	%r8d, 8(%r9,%rax,8)
	movq	___blockreadcallback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	___card_readsegment             ## TAILCALL
LBB0_2:
	movq	_CARD_ERROR_NOCARD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXI_CHANNEL_0,8,3              ## @EXI_CHANNEL_0
	.comm	_EXI_CHANNEL_2,8,3              ## @EXI_CHANNEL_2
	.comm	_CARD_ERROR_NOCARD,8,3          ## @CARD_ERROR_NOCARD
	.comm	_cardmap,8,3                    ## @cardmap
	.comm	___blockreadcallback,4,2        ## @__blockreadcallback
	.no_dead_strip	___card_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __card_read
___card_read:                           ; @__card_read
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EXI_CHANNEL_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXI_CHANNEL_0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EXI_CHANNEL_2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXI_CHANNEL_2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #0, ls
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _CARD_ERROR_NOCARD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CARD_ERROR_NOCARD@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ret
LBB0_2:
Lloh9:
	adrp	x8, _cardmap@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cardmap@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w9, #24
	madd	x8, x0, x9, x8
	asr	w9, w2, #9
	stp	w1, w9, [x8]
	str	x3, [x8, #16]
	str	w4, [x8, #8]
Lloh12:
	adrp	x8, ___blockreadcallback@GOTPAGE
Lloh13:
	ldr	x8, [x8, ___blockreadcallback@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	b	___card_readsegment
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EXI_CHANNEL_0,8,3              ; @EXI_CHANNEL_0
	.comm	_EXI_CHANNEL_2,8,3              ; @EXI_CHANNEL_2
	.comm	_CARD_ERROR_NOCARD,8,3          ; @CARD_ERROR_NOCARD
	.comm	_cardmap,8,3                    ; @cardmap
	.comm	___blockreadcallback,4,2        ; @__blockreadcallback
	.no_dead_strip	___card_read
.subsections_via_symbols
