	.file	"extr_cam.c_rtl_cam_add_one_entry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EntryNo:%x, ulKeyId=%x, ulEncAlg=%x, ulUseDK=%x MacAddr %pM\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"ulKeyId exceed!\n"
.LC2:
	.string	"end\n"
	.text
	.p2align 4
	.globl	rtl_cam_add_one_entry
	.type	rtl_cam_add_one_entry, @function
rtl_cam_add_one_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], r9d
	call	rtl_priv@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	r9d, r13d
	mov	r8d, r15d
	push	r12
	.cfi_def_cfa_offset 96
	mov	rbp, rax
	mov	eax, DWORD PTR 28[rsp]
	lea	rcx, .LC0[rip]
	mov	edx, DWORD PTR DBG_DMESG[rip]
	mov	esi, DWORD PTR COMP_SEC[rip]
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 104
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 112
	call	RT_TRACE@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 80
	cmp	DWORD PTR TOTAL_CAM_ENTRY[rip], r13d
	je	.L8
	mov	r8d, DWORD PTR CFG_VALID[rip]
	sal	ebx, 2
	mov	rdx, r12
	mov	esi, r15d
	mov	eax, ebx
	or	ebx, r13d
	mov	rcx, QWORD PTR 80[rsp]
	mov	rdi, r14
	or	eax, r8d
	or	r8d, ebx
	cmp	DWORD PTR 12[rsp], 1
	cmove	r8d, eax
	call	rtl_cam_program_entry@PLT
	mov	edx, DWORD PTR DBG_DMESG[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	esi, DWORD PTR COMP_SEC[rip]
	lea	rcx, .LC2[rip]
	call	RT_TRACE@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR DBG_WARNING[rip]
	mov	esi, DWORD PTR COMP_ERR[rip]
	mov	rdi, rbp
	xor	eax, eax
	lea	rcx, .LC1[rip]
	call	RT_TRACE@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rtl_cam_add_one_entry, .-rtl_cam_add_one_entry
	.comm	TOTAL_CAM_ENTRY,4,4
	.comm	DBG_WARNING,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_SEC,4,4
	.comm	COMP_ERR,4,4
	.comm	CFG_VALID,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_cam.c_rtl_cam_add_one_entry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EntryNo:%x, ulKeyId=%x, ulEncAlg=%x, ulUseDK=%x Mac"
	.ascii	"Addr %pM\012\000"
	.align	2
.LC1:
	.ascii	"ulKeyId exceed!\012\000"
	.align	2
.LC2:
	.ascii	"end\012\000"
	.text
	.align	2
	.global	rtl_cam_add_one_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl_cam_add_one_entry, %function
rtl_cam_add_one_entry:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	sub	sp, sp, #28
	mov	r6, r1
	mov	r5, r3
	ldr	fp, [sp, #68]
	mov	r8, r0
	bl	rtl_priv
	ldr	r10, .L9
	ldr	r3, [sp, #64]
	ldr	r9, .L9+4
	str	r3, [sp, #8]
	ldr	r2, [r10]
	ldr	r3, .L9+8
	ldr	r1, [r9]
	str	r6, [sp, #16]
	str	r4, [sp, #4]
	str	r5, [sp]
	str	fp, [sp, #12]
	mov	r7, r0
	bl	RT_TRACE
	ldr	r3, .L9+12
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L8
	ldr	r2, [sp, #64]
	ldr	r3, .L9+16
	cmp	fp, #1
	ldr	r3, [r3]
	lsl	r2, r2, #2
	orrne	r4, r2, r4
	orreq	r4, r2, r3
	orrne	r4, r4, r3
	mov	r2, r6
	mov	r1, r5
	ldr	r3, [sp, #72]
	mov	r0, r8
	str	r4, [sp]
	bl	rtl_cam_program_entry
	mov	r0, r7
	ldr	r2, [r10]
	ldr	r1, [r9]
	ldr	r3, .L9+20
	bl	RT_TRACE
	mov	r0, #1
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r3, .L9+24
	ldr	r2, .L9+28
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r2, [r2]
	ldr	r3, .L9+32
	bl	RT_TRACE
	mov	r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	.align	2
.L9:
	.word	DBG_DMESG
	.word	COMP_SEC
	.word	.LC0
	.word	TOTAL_CAM_ENTRY
	.word	CFG_VALID
	.word	.LC2
	.word	COMP_ERR
	.word	DBG_WARNING
	.word	.LC1
	.size	rtl_cam_add_one_entry, .-rtl_cam_add_one_entry
	.comm	TOTAL_CAM_ENTRY,4,4
	.comm	DBG_WARNING,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_SEC,4,4
	.comm	COMP_ERR,4,4
	.comm	CFG_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
