	.file	"extr_uvc_ctrl.c___uvc_ctrl_add_mapping.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Adding mapping '%s' to control %pUl/%u.\n"
	.text
	.p2align 4
	.type	__uvc_ctrl_add_mapping, @function
__uvc_ctrl_add_mapping:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	esi, 48
	call	kmemdup@PLT
	test	rax, rax
	je	.L8
	mov	rbp, rax
	mov	eax, DWORD PTR [r12]
	mov	rdi, QWORD PTR 40[r12]
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	lea	esi, [rax+rax*2]
	sal	esi, 4
	call	kmemdup@PLT
	mov	QWORD PTR 40[rbp], rax
	test	rax, rax
	je	.L10
	cmp	QWORD PTR 32[rbp], 0
	je	.L11
	cmp	QWORD PTR 24[rbp], 0
	je	.L12
.L6:
	mov	QWORD PTR 16[rbp], rbx
	lea	rsi, 8[rbx]
	lea	rdi, 8[rbp]
	call	list_add_tail@PLT
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 4[rbp]
	lea	rsi, .LC0[rip]
	mov	r8d, DWORD PTR [rbx]
	mov	edi, DWORD PTR UVC_TRACE_CONTROL[rip]
	call	uvc_trace@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	kfree@PLT
.L8:
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rax, QWORD PTR uvc_set_le_value[rip]
	mov	QWORD PTR 24[rbp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR uvc_get_le_value[rip]
	cmp	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 32[rbp], rax
	jne	.L6
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	__uvc_ctrl_add_mapping, .-__uvc_ctrl_add_mapping
	.comm	uvc_set_le_value,8,8
	.comm	uvc_get_le_value,8,8
	.comm	UVC_TRACE_CONTROL,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_uvc_ctrl.c___uvc_ctrl_add_mapping.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Adding mapping '%s' to control %pUl/%u.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__uvc_ctrl_add_mapping, %function
__uvc_ctrl_add_mapping:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r7, .L11
	mov	r0, r2
	mov	r5, r2
	mov	r6, r1
	ldr	r2, [r7]
	mov	r1, #28
	sub	sp, sp, #12
	bl	kmemdup
	subs	r4, r0, #0
	beq	.L8
	ldr	r3, [r5]
	ldr	r2, [r7]
	rsb	r3, r3, r3, lsl #3
	ldr	r0, [r5, #24]
	lsl	r1, r3, #2
	bl	kmemdup
	cmp	r0, #0
	str	r0, [r4, #24]
	beq	.L10
	ldr	r3, [r4, #20]
	add	r1, r6, #8
	cmp	r3, #0
	ldreq	r3, .L11+4
	str	r6, [r4, #12]
	ldreq	r3, [r3]
	add	r0, r4, #8
	streq	r3, [r4, #20]
	ldr	r3, [r4, #16]
	cmp	r3, #0
	ldreq	r3, .L11+8
	ldreq	r3, [r3]
	streq	r3, [r4, #16]
	bl	list_add_tail
	ldr	r3, [r6]
	ldr	r1, .L11+12
	ldr	r2, [r4, #4]
	ldr	r0, [r1]
	str	r3, [sp]
	ldr	r3, [r6, #4]
	ldr	r1, .L11+16
	bl	uvc_trace
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r0, r4
	bl	kfree
.L8:
	ldr	r3, .L11+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	uvc_get_le_value
	.word	uvc_set_le_value
	.word	UVC_TRACE_CONTROL
	.word	.LC0
	.word	ENOMEM
	.size	__uvc_ctrl_add_mapping, .-__uvc_ctrl_add_mapping
	.comm	uvc_set_le_value,4,4
	.comm	uvc_get_le_value,4,4
	.comm	UVC_TRACE_CONTROL,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
