	.file	"extr_firedtv-avc.c_avc_register_remote_control.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	avc_register_remote_control
	.type	avc_register_remote_control, @function
avc_register_remote_control:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 4[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR 8[rdi]
	mov	rdi, r13
	call	mutex_lock@PLT
	mov	eax, DWORD PTR AVC_CTYPE_NOTIFY[rip]
	mov	rdx, QWORD PTR SFE_VENDOR_DE_COMPANYID_0[rip]
	mov	rdi, rbp
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR AVC_SUBUNIT_TYPE_UNIT[rip]
	or	eax, 7
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR AVC_OPCODE_VENDOR[rip]
	mov	DWORD PTR 16[rbx], eax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR SFE_VENDOR_DE_COMPANYID_1[rip]
	mov	QWORD PTR 32[rax], 0
	mov	QWORD PTR 8[rax], rdx
	mov	rdx, QWORD PTR SFE_VENDOR_DE_COMPANYID_2[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rdx, QWORD PTR SFE_VENDOR_OPCODE_REGISTER_REMOTE_CONTROL[rip]
	mov	QWORD PTR 24[rax], rdx
	mov	DWORD PTR 0[rbp], 8
	call	avc_write@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	avc_register_remote_control, .-avc_register_remote_control
	.comm	SFE_VENDOR_OPCODE_REGISTER_REMOTE_CONTROL,8,8
	.comm	SFE_VENDOR_DE_COMPANYID_2,8,8
	.comm	SFE_VENDOR_DE_COMPANYID_1,8,8
	.comm	SFE_VENDOR_DE_COMPANYID_0,8,8
	.comm	AVC_SUBUNIT_TYPE_UNIT,4,4
	.comm	AVC_OPCODE_VENDOR,4,4
	.comm	AVC_CTYPE_NOTIFY,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_firedtv-avc.c_avc_register_remote_control.c"
	.text
	.align	2
	.global	avc_register_remote_control
	.syntax unified
	.arm
	.fpu softvfp
	.type	avc_register_remote_control, %function
avc_register_remote_control:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r6, r0, #4
	mov	r0, r6
	ldr	r5, [r4, #8]
	bl	mutex_lock
	mov	r1, #0
	mov	r2, #8
	ldr	r0, .L4
	ldr	r3, .L4+4
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r0, [r5, #12]
	ldr	ip, .L4+8
	ldr	r0, .L4+12
	orr	r3, r3, #7
	ldr	ip, [ip]
	ldr	r0, [r0]
	str	r3, [r5]
	ldr	r3, [r5, #4]
	str	ip, [r5, #8]
	str	r0, [r3]
	ldr	ip, .L4+16
	ldr	r0, .L4+20
	ldr	lr, [ip]
	ldr	ip, [r0]
	ldr	r0, .L4+24
	str	lr, [r3, #4]
	ldr	r0, [r0]
	str	ip, [r3, #8]
	str	r0, [r3, #12]
	str	r1, [r3, #16]
	mov	r0, r4
	str	r2, [r4]
	bl	avc_write
	mov	r4, r0
	mov	r0, r6
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	AVC_CTYPE_NOTIFY
	.word	AVC_SUBUNIT_TYPE_UNIT
	.word	AVC_OPCODE_VENDOR
	.word	SFE_VENDOR_DE_COMPANYID_0
	.word	SFE_VENDOR_DE_COMPANYID_1
	.word	SFE_VENDOR_DE_COMPANYID_2
	.word	SFE_VENDOR_OPCODE_REGISTER_REMOTE_CONTROL
	.size	avc_register_remote_control, .-avc_register_remote_control
	.comm	SFE_VENDOR_OPCODE_REGISTER_REMOTE_CONTROL,4,4
	.comm	SFE_VENDOR_DE_COMPANYID_2,4,4
	.comm	SFE_VENDOR_DE_COMPANYID_1,4,4
	.comm	SFE_VENDOR_DE_COMPANYID_0,4,4
	.comm	AVC_SUBUNIT_TYPE_UNIT,4,4
	.comm	AVC_OPCODE_VENDOR,4,4
	.comm	AVC_CTYPE_NOTIFY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
