	.file	"extr_efuse.c_efuse_write_1byte.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Addr=%x Data =%x\n"
	.text
	.p2align 4
	.globl	efuse_write_1byte
	.type	efuse_write_1byte, @function
efuse_write_1byte:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	rtl_priv@PLT
	mov	rdx, QWORD PTR EFUSE_REAL_CONTENT_SIZE[rip]
	mov	r9d, r12d
	mov	r8, rbp
	mov	rbx, rax
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR COMP_EFUSE[rip]
	lea	rcx, .LC0[rip]
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	mov	r13, QWORD PTR [rax+rdx*8]
	mov	edx, DWORD PTR DBG_LOUD[rip]
	call	RT_TRACE@PLT
	cmp	r13, rbp
	jg	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR EFUSE_CTRL[rip]
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rdx*8]
	mov	edx, r12d
	call	rtl_write_byte@PLT
	mov	rax, QWORD PTR [rbx]
	movzx	edx, bpl
	mov	rdi, rbx
	mov	rcx, QWORD PTR EFUSE_CTRL[rip]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rcx*8]
	add	rsi, 1
	call	rtl_write_byte@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR EFUSE_CTRL[rip]
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rdx*8]
	add	rsi, 2
	call	rtl_read_byte@PLT
	mov	rdx, rbp
	mov	rdi, rbx
	mov	ebp, 100
	sar	rdx, 8
	and	eax, 252
	mov	rcx, QWORD PTR EFUSE_CTRL[rip]
	and	edx, 3
	or	edx, eax
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rcx*8]
	add	rsi, 2
	call	rtl_write_byte@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR EFUSE_CTRL[rip]
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rdx*8]
	add	rsi, 3
	call	rtl_read_byte@PLT
	mov	rcx, QWORD PTR EFUSE_CTRL[rip]
	mov	rdi, rbx
	or	al, -128
	mov	edx, eax
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rcx*8]
	add	rsi, 3
	call	rtl_write_byte@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR EFUSE_CTRL[rip]
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rdx*8]
	add	rsi, 3
	call	rtl_read_byte@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR EFUSE_CTRL[rip]
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax+rdx*8]
	add	rsi, 3
	call	rtl_read_byte@PLT
	sub	rbp, 1
	je	.L1
.L3:
	test	al, -128
	jne	.L5
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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	efuse_write_1byte, .-efuse_write_1byte
	.comm	EFUSE_REAL_CONTENT_SIZE,8,8
	.comm	EFUSE_CTRL,8,8
	.comm	DBG_LOUD,4,4
	.comm	COMP_EFUSE,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_efuse.c_efuse_write_1byte.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Addr=%x Data =%x\012\000"
	.text
	.align	2
	.global	efuse_write_1byte
	.syntax unified
	.arm
	.fpu softvfp
	.type	efuse_write_1byte, %function
efuse_write_1byte:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r7, r1
	mov	r5, r2
	bl	rtl_priv
	ldr	r2, .L12
	ldr	r3, [r0]
	ldr	ip, [r2]
	ldr	r1, [r3]
	ldr	r2, .L12+4
	ldr	r3, .L12+8
	ldr	r6, [r1, ip, lsl #2]
	ldr	r2, [r2]
	str	r5, [sp, #4]
	str	r7, [sp]
	ldr	r1, [r3]
	ldr	r3, .L12+12
	mov	r4, r0
	bl	RT_TRACE
	cmp	r6, r7
	bgt	.L11
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r6, .L12+16
	ldr	r3, [r4]
	ldr	r1, [r6]
	ldr	r3, [r3]
	mov	r2, r5
	ldr	r1, [r3, r1, lsl #2]
	mov	r0, r4
	bl	rtl_write_byte
	ldr	r3, [r4]
	ldr	r1, [r6]
	ldr	r3, [r3]
	and	r2, r7, #255
	ldr	r1, [r3, r1, lsl #2]
	mov	r0, r4
	add	r1, r1, #1
	bl	rtl_write_byte
	ldr	r3, [r4]
	ldr	r2, [r6]
	ldr	r3, [r3]
	mov	r0, r4
	ldr	r1, [r3, r2, lsl #2]
	lsl	r7, r7, #22
	add	r1, r1, #2
	bl	rtl_read_byte
	ldr	r3, [r4]
	ldr	r1, [r6]
	ldr	r3, [r3]
	and	r2, r0, #252
	ldr	r1, [r3, r1, lsl #2]
	orr	r2, r2, r7, lsr #30
	mov	r0, r4
	add	r1, r1, #2
	bl	rtl_write_byte
	ldr	r3, [r4]
	ldr	r2, [r6]
	ldr	r3, [r3]
	mov	r0, r4
	ldr	r1, [r3, r2, lsl #2]
	mov	r5, #100
	add	r1, r1, #3
	bl	rtl_read_byte
	ldr	r3, [r4]
	ldr	r1, [r6]
	ldr	r3, [r3]
	orr	r2, r0, #128
	ldr	r1, [r3, r1, lsl #2]
	mov	r0, r4
	add	r1, r1, #3
	bl	rtl_write_byte
	ldr	r3, [r4]
	ldr	r2, [r6]
	ldr	r3, [r3]
	mov	r0, r4
	ldr	r1, [r3, r2, lsl #2]
	add	r1, r1, #3
	bl	rtl_read_byte
	b	.L3
.L5:
	ldr	r3, [r4]
	ldr	r2, [r6]
	ldr	r3, [r3]
	mov	r0, r4
	ldr	r1, [r3, r2, lsl #2]
	add	r1, r1, #3
	bl	rtl_read_byte
	subs	r5, r5, #1
	beq	.L1
.L3:
	tst	r0, #128
	bne	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	.align	2
.L12:
	.word	EFUSE_REAL_CONTENT_SIZE
	.word	DBG_LOUD
	.word	COMP_EFUSE
	.word	.LC0
	.word	EFUSE_CTRL
	.size	efuse_write_1byte, .-efuse_write_1byte
	.comm	EFUSE_REAL_CONTENT_SIZE,4,4
	.comm	EFUSE_CTRL,4,4
	.comm	DBG_LOUD,4,4
	.comm	COMP_EFUSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
