	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_sd_start
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_command_setlights
LBB0_3:
	movq	%rbx, %rdi
	callq	_sd_stopN
	movq	_D_PROBE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	36(%rbx), %ecx
	movl	32(%rbx), %r8d
	movl	24(%rbx), %eax
	movl	28(%rbx), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_gspca_dbg
	movl	(%r15), %esi
	movl	20(%rbx), %ecx
	movl	12(%rbx), %r9d
	movl	16(%rbx), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_gspca_dbg
	movl	(%r15), %esi
	movl	8(%rbx), %ecx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_gspca_dbg
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CPIA Version:             %d.%02d (%d.%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"CPIA PnP-ID:              %04x:%04x:%04x"

L_.str.2:                               ## @.str.2
	.asciz	"VP-Version:               %d.%d %04x"

	.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:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	bl	_sd_start
	mov	x19, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_command_setlights
LBB0_3:
	mov	x0, x20
	bl	_sd_stopN
Lloh0:
	adrp	x21, _D_PROBE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _D_PROBE@GOTPAGEOFF]
	ldr	w1, [x21]
	ldp	w4, w3, [x20, #32]
	ldp	w8, w5, [x20, #24]
	str	x8, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_gspca_dbg
	ldr	w1, [x21]
	ldp	w4, w3, [x20, #16]
	ldr	w5, [x20, #12]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_gspca_dbg
	ldr	w1, [x21]
	ldp	w4, w3, [x20, #4]
	ldr	w5, [x20]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_gspca_dbg
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CPIA Version:             %d.%02d (%d.%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"CPIA PnP-ID:              %04x:%04x:%04x"

l_.str.2:                               ; @.str.2
	.asciz	"VP-Version:               %d.%d %04x"

	.no_dead_strip	_sd_init
.subsections_via_symbols
