	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	cmpl	$132, (%rdi)
	jne	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.3:
	movq	_spacecam_init@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	addl	$-129, %eax
	cmpl	$2, %eax
	ja	LBB0_7
## %bb.5:
	movq	_proscope_init@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_nw800_init@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_reg_w_buf
LBB0_7:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_spacecam_init,4,2              ## @spacecam_init
	.comm	_nw800_init,4,2                 ## @nw800_init
	.comm	_proscope_init,4,2              ## @proscope_init
	.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	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
	mov	x19, x0
	ldp	w9, w8, [x0]
	cmp	w9, #132
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _nw800_init@GOTPAGE
Lloh1:
	ldr	x9, [x9, _nw800_init@GOTPAGEOFF]
Lloh2:
	adrp	x10, _spacecam_init@GOTPAGE
Lloh3:
	ldr	x10, [x10, _spacecam_init@GOTPAGEOFF]
	cmp	w8, #128
	csel	x8, x10, x9, eq
	b	LBB0_4
LBB0_2:
	sub	w8, w8, #129
	cmp	w8, #2
	b.hi	LBB0_5
; %bb.3:
Lloh4:
	adrp	x8, _proscope_init@GOTPAGE
Lloh5:
	ldr	x8, [x8, _proscope_init@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reg_w_buf
LBB0_5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_spacecam_init,4,2              ; @spacecam_init
	.comm	_nw800_init,4,2                 ; @nw800_init
	.comm	_proscope_init,4,2              ; @proscope_init
	.no_dead_strip	_sd_init
.subsections_via_symbols
