	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __dsp_donecallback
___dsp_donecallback:                    ## @__dsp_donecallback
	.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
	movq	_EXI_CHANNEL_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	_cardmap@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	addq	$24, %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	$32, %rbx
	cmpq	%r12, %rax
	jne	LBB0_2
	jmp	LBB0_14
LBB0_4:
	movq	-8(%rbx), %rax
	addq	$47, %rax
	andq	$-32, %rax
	movq	64(%rax), %r13
	movq	-24(%rbx), %r15
	xorq	%r13, %r15
	andq	$-65536, %r15                   ## imm = 0xFFFF0000
	xorl	%eax, %eax
	callq	___card_dummylen
	movq	%rax, %r14
	movq	_tmp_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	___card_readarrayunlock
	testq	%rax, %rax
	js	LBB0_15
## %bb.5:
	movq	-24(%rbx), %rdi
	addq	-16(%rbx), %r14
	leaq	33(,%r14,8), %rsi
	callq	_exnor
	movq	%rax, %rcx
	shlq	$23, %rcx
	movq	%rax, %rdx
	shlq	$15, %rdx
	xorq	%rcx, %rdx
	movq	%rax, %r14
	shlq	$7, %r14
	xorq	%rax, %r14
	xorq	%rdx, %r14
	notq	%r14
	shrq	$31, %r14
	orq	%rax, %r14
	movq	%r14, -24(%rbx)
	shlq	$16, %r13
	andq	$-65536, %r14                   ## imm = 0xFFFF0000
	xorq	%r13, %r14
	xorl	%eax, %eax
	callq	___card_dummylen
	movq	_tmp_buffer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rax, %rcx
	movl	$1, %r8d
	callq	___card_readarrayunlock
	testq	%rax, %rax
	js	LBB0_15
## %bb.6:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	___card_readstatus
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_EXI_Probe
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	testq	%r14, %r14
	jne	LBB0_12
## %bb.9:
	movq	_CARD_STATUS_UNLOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_11
## %bb.10:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_15:
	movq	%r12, %rdi
	callq	_EXI_Unlock
	movq	_CARD_ERROR_NOCARD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___card_mountcallback           ## TAILCALL
LBB0_7:
	movq	%r12, %rdi
	callq	_EXI_Unlock
	movq	_CARD_ERROR_NOCARD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	jmp	LBB0_13
LBB0_11:
	movq	%r12, %rdi
	callq	_EXI_Unlock
	movq	_CARD_ERROR_IOERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_12:
	movq	%r12, %rdi
	movq	%r14, %rsi
LBB0_13:
	callq	___card_mountcallback
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXI_CHANNEL_2,8,3              ## @EXI_CHANNEL_2
	.comm	_cardmap,8,3                    ## @cardmap
	.comm	_tmp_buffer,4,2                 ## @tmp_buffer
	.comm	_CARD_ERROR_NOCARD,8,3          ## @CARD_ERROR_NOCARD
	.comm	_CARD_STATUS_UNLOCKED,4,2       ## @CARD_STATUS_UNLOCKED
	.comm	_CARD_ERROR_IOERROR,8,3         ## @CARD_ERROR_IOERROR
	.no_dead_strip	___dsp_donecallback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __dsp_donecallback
___dsp_donecallback:                    ; @__dsp_donecallback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _EXI_CHANNEL_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXI_CHANNEL_2@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x19, #0
Lloh3:
	adrp	x9, _cardmap@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cardmap@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x22, x9, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, x0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
	add	x22, x22, #32
	cmp	x8, x19
	b.ne	LBB0_2
	b	LBB0_15
LBB0_4:
	ldur	x8, [x22, #-8]
	add	x8, x8, #47
	and	x8, x8, #0xffffffffffffffe0
	ldr	x23, [x8, #64]
	ldur	x8, [x22, #-24]
	eor	x8, x8, x23
	and	x21, x8, #0xffffffffffff0000
	bl	___card_dummylen
	mov	x20, x0
Lloh6:
	adrp	x24, _tmp_buffer@GOTPAGE
Lloh7:
	ldr	x24, [x24, _tmp_buffer@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	w4, #1
	bl	___card_readarrayunlock
	tbnz	x0, #63, LBB0_10
; %bb.5:
	ldp	x0, x8, [x22, #-24]
	add	x8, x8, x20
	lsl	x8, x8, #3
	add	x1, x8, #33
	bl	_exnor
	eor	x8, x0, x0, lsl #7
	eor	x8, x8, x0, lsl #15
	eon	x8, x8, x0, lsl #23
	orr	x8, x0, x8, lsr #31
	stur	x8, [x22, #-24]
	and	x8, x8, #0xffffffffffff0000
	eor	x20, x8, x23, lsl #16
	bl	___card_dummylen
	mov	x3, x0
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #1
	bl	___card_readarrayunlock
	tbnz	x0, #63, LBB0_10
; %bb.6:
	add	x1, sp, #12
	mov	x0, x19
	bl	___card_readstatus
	mov	x20, x0
	mov	x0, x19
	bl	_EXI_Probe
	cbz	x0, LBB0_11
; %bb.7:
	cbnz	x20, LBB0_13
; %bb.8:
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _CARD_STATUS_UNLOCKED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CARD_STATUS_UNLOCKED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:
	mov	x20, #0
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	bl	_EXI_Unlock
Lloh11:
	adrp	x8, _CARD_ERROR_NOCARD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CARD_ERROR_NOCARD@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	___card_mountcallback
LBB0_11:
	mov	x0, x19
	bl	_EXI_Unlock
Lloh14:
	adrp	x8, _CARD_ERROR_NOCARD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CARD_ERROR_NOCARD@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	mov	x0, x19
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	bl	_EXI_Unlock
Lloh17:
	adrp	x8, _CARD_ERROR_IOERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CARD_ERROR_IOERROR@GOTPAGEOFF]
Lloh19:
	ldr	x20, [x8]
LBB0_13:
	mov	x0, x19
	mov	x1, x20
LBB0_14:
	bl	___card_mountcallback
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EXI_CHANNEL_2,8,3              ; @EXI_CHANNEL_2
	.comm	_cardmap,8,3                    ; @cardmap
	.comm	_tmp_buffer,4,2                 ; @tmp_buffer
	.comm	_CARD_ERROR_NOCARD,8,3          ; @CARD_ERROR_NOCARD
	.comm	_CARD_STATUS_UNLOCKED,4,2       ; @CARD_STATUS_UNLOCKED
	.comm	_CARD_ERROR_IOERROR,8,3         ; @CARD_ERROR_IOERROR
	.no_dead_strip	___dsp_donecallback
.subsections_via_symbols
