	.file	"extr_cpia1.c_sd_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CPIA Version:             %d.%02d (%d.%d)\n"
	.align 8
.LC1:
	.string	"CPIA PnP-ID:              %04x:%04x:%04x"
	.align 8
.LC2:
	.string	"VP-Version:               %d.%d %04x"
	.text
	.p2align 4
	.type	sd_init, @function
sd_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	sd_start@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	cmp	QWORD PTR 40[rbp], 0
	jne	.L6
.L3:
	mov	rdi, rbp
	call	sd_stopN@PLT
	mov	eax, DWORD PTR 24[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	ecx, DWORD PTR 36[rbp]
	mov	r9d, DWORD PTR 28[rbp]
	mov	r8d, DWORD PTR 32[rbp]
	mov	rdi, rbp
	lea	rdx, .LC0[rip]
	push	rax
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR D_PROBE[rip]
	xor	eax, eax
	call	gspca_dbg@PLT
	mov	ecx, DWORD PTR 20[rbp]
	mov	r9d, DWORD PTR 12[rbp]
	mov	rdi, rbp
	mov	r8d, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR D_PROBE[rip]
	lea	rdx, .LC1[rip]
	xor	eax, eax
	call	gspca_dbg@PLT
	mov	ecx, DWORD PTR 8[rbp]
	mov	r9d, DWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	r8d, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR D_PROBE[rip]
	lea	rdx, .LC2[rip]
	xor	eax, eax
	call	gspca_dbg@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	command_setlights@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	sd_init, .-sd_init
	.comm	D_PROBE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cpia1.c_sd_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CPIA Version:             %d.%02d (%d.%d)\012\000"
	.align	2
.LC1:
	.ascii	"CPIA PnP-ID:              %04x:%04x:%04x\000"
	.align	2
.LC2:
	.ascii	"VP-Version:               %d.%d %04x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sd_init, %function
sd_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #16
	mov	r4, r0
	bl	sd_start
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, [r4, #40]
	cmp	r3, #0
	bne	.L9
.L3:
	mov	r0, r4
	bl	sd_stopN
	ldr	r6, .L10
	add	r0, r4, #24
	ldm	r0, {r0, r2, r3}
	str	r0, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r1, [r6]
	ldr	r3, [r4, #36]
	ldr	r2, .L10+4
	mov	r0, r4
	bl	gspca_dbg
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #16]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r1, [r6]
	ldr	r3, [r4, #20]
	ldr	r2, .L10+8
	mov	r0, r4
	bl	gspca_dbg
	ldm	r4, {r2, r3}
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r0, r4
	ldr	r1, [r6]
	ldr	r3, [r4, #8]
	ldr	r2, .L10+12
	bl	gspca_dbg
.L1:
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r4
	bl	command_setlights
	b	.L3
.L11:
	.align	2
.L10:
	.word	D_PROBE
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	sd_init, .-sd_init
	.comm	D_PROBE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
