	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_init
_sd_init:                               ## @sd_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_Nxultra@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_spca505b_init_data@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_spca505_init_data@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_write_vector
	movq	_EIO@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	cmovel	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Nxultra,8,3                    ## @Nxultra
	.comm	_spca505b_init_data,4,2         ## @spca505b_init_data
	.comm	_spca505_init_data,4,2          ## @spca505_init_data
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_sd_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_init
_sd_init:                               ; @sd_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _Nxultra@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Nxultra@GOTPAGEOFF]
Lloh2:
	adrp	x10, _spca505b_init_data@GOTPAGE
Lloh3:
	ldr	x10, [x10, _spca505b_init_data@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _spca505_init_data@GOTPAGE
Lloh6:
	ldr	x11, [x11, _spca505_init_data@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	bl	_write_vector
Lloh7:
	adrp	x8, _EIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Nxultra,8,3                    ; @Nxultra
	.comm	_spca505b_init_data,4,2         ; @spca505b_init_data
	.comm	_spca505_init_data,4,2          ; @spca505_init_data
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_sd_init
.subsections_via_symbols
