	.file	"extr_ov534_9.c_set_led.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"led status: %d\n"
	.text
	.p2align 4
	.type	set_led, @function
set_led:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ecx, esi
	mov	rbp, rdi
	lea	rdx, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR D_CONF[rip]
	call	gspca_dbg@PLT
	mov	esi, 33
	mov	rdi, rbp
	call	reg_r@PLT
	mov	esi, 33
	mov	rdi, rbp
	or	al, -128
	mov	edx, eax
	call	reg_w@PLT
	mov	esi, 35
	mov	rdi, rbp
	call	reg_r@PLT
	mov	edx, eax
	test	ebx, ebx
	je	.L2
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	or	dl, -128
	mov	esi, 35
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	reg_w@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	and	dl, 127
	mov	rdi, rbp
	mov	esi, 35
	call	reg_w@PLT
	mov	rdi, rbp
	mov	esi, 33
	call	reg_r@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	esi, 33
	and	al, 127
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	edx, eax
	jmp	reg_w@PLT
	.cfi_endproc
.LFE0:
	.size	set_led, .-set_led
	.comm	D_CONF,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_ov534_9.c_set_led.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"led status: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_led, %function
set_led:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r2, .L5
	mov	r3, r1
	mov	r5, r1
	ldr	r1, [r2]
	ldr	r2, .L5+4
	bl	gspca_dbg
	mov	r1, #33
	mov	r0, r4
	bl	reg_r
	mov	r1, #33
	orr	r2, r0, #128
	mov	r0, r4
	bl	reg_w
	mov	r0, r4
	mov	r1, #35
	bl	reg_r
	cmp	r5, #0
	beq	.L2
	orr	r2, r0, #128
	mov	r1, #35
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	reg_w
.L2:
	bic	r2, r0, #128
	mov	r1, #35
	mov	r0, r4
	bl	reg_w
	mov	r1, #33
	mov	r0, r4
	bl	reg_r
	mov	r1, #33
	bic	r2, r0, #128
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	reg_w
.L6:
	.align	2
.L5:
	.word	D_CONF
	.word	.LC0
	.size	set_led, .-set_led
	.comm	D_CONF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
