	.file	"extr_tau32-ddk.c_TAU32_UpdateIdleCodes.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	TAU32_UpdateIdleCodes
	.type	TAU32_UpdateIdleCodes, @function
TAU32_UpdateIdleCodes:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, 1
	jg	.L30
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	test	rdx, rdx
	je	.L1
	cmp	DWORD PTR [rdi], 2
	mov	r12, rdi
	mov	r13d, esi
	mov	ebp, ecx
	jne	.L14
	xor	eax, eax
	cmp	esi, 1
	jne	.L14
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	lea	r14, 16[r12]
	mov	rdi, r14
	call	h2LrH3@PLT
	lea	ecx, 1[r13]
	xor	eax, eax
	xor	esi, esi
	mov	edi, ecx
	and	edi, -3
	.p2align 4,,10
	.p2align 3
.L4:
	test	bl, 1
	je	.L10
	cmp	ecx, 1
	ja	.L7
	mov	rdx, QWORD PTR 8[r12]
	mov	r8, QWORD PTR [rdx]
	add	r8, rax
	cmp	BYTE PTR [r8], bpl
	je	.L7
	mov	BYTE PTR [r8], bpl
	mov	esi, 1
.L6:
.L7:
	cmp	DWORD PTR [r12], 2
	je	.L10
	test	edi, edi
	jne	.L10
	mov	rdx, QWORD PTR 8[r12]
	mov	r9, QWORD PTR 8[rdx]
	add	r9, rax
	cmp	BYTE PTR [r9], bpl
	je	.L10
	mov	BYTE PTR [r9], bpl
	mov	esi, 1
.L5:
.L8:
.L9:
.L10:
	add	rax, 1
	shr	rbx
	jne	.L4
	test	esi, esi
	jne	.L35
.L11:
	endbr64
	mov	rdi, r14
	call	uYS5N2@PLT
	mov	eax, 1
.L36:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.cfi_offset 6, -40
	.cfi_offset 12, -32
	.cfi_offset 13, -24
	.cfi_offset 14, -16
	mov	esi, r13d
	mov	rdi, r12
	call	GLE_s4@PLT
	mov	rdi, r14
	call	uYS5N2@PLT
	mov	eax, 1
	jmp	.L36
	.cfi_endproc
.LFE0:
	.size	TAU32_UpdateIdleCodes, .-TAU32_UpdateIdleCodes
	.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_tau32-ddk.c_TAU32_UpdateIdleCodes.c"
	.text
	.align	2
	.global	TAU32_UpdateIdleCodes
	.syntax unified
	.arm
	.fpu softvfp
	.type	TAU32_UpdateIdleCodes, %function
TAU32_UpdateIdleCodes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #1
	movgt	ip, #0
	movle	ip, #1
	cmp	r2, #0
	moveq	ip, #0
	cmp	ip, #0
	bne	.L28
	mov	r0, ip
	bx	lr
.L28:
	ldr	ip, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r1, #1
	cmpeq	ip, #2
	mov	r7, r1
	mov	r5, r0
	movne	ip, #1
	moveq	ip, #0
	beq	.L12
	add	r8, r0, #8
	mov	r0, r8
	mov	r4, r2
	mov	r6, r3
	bl	h2LrH3
	mov	r2, #0
	mov	r0, r2
	add	r1, r7, #1
	bic	lr, r1, #2
.L3:
	tst	r4, #1
	beq	.L9
	cmp	r1, #1
	bhi	.L6
	ldr	r3, [r5, #4]
	ldr	r3, [r3]
	ldrb	ip, [r3, r2]	@ zero_extendqisi2
	cmp	ip, r6
	movne	r0, #1
	strbne	r6, [r3, r2]
.L5:
.L6:
	ldr	r3, [r5]
	cmp	r3, #2
	beq	.L9
	cmp	lr, #0
	bne	.L9
	ldr	r3, [r5, #4]
	ldr	r3, [r3, #4]
	ldrb	ip, [r3, r2]	@ zero_extendqisi2
	cmp	ip, r6
	movne	r0, #1
	strbne	r6, [r3, r2]
.L4:
.L7:
.L8:
.L9:
	lsrs	r4, r4, #1
	add	r2, r2, #1
	bne	.L3
	cmp	r0, #0
	bne	.L29
.L10:
	mov	r0, r8
	bl	uYS5N2
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L29:
	mov	r1, r7
	mov	r0, r5
	bl	GLE_s4
	b	.L10
.L12:
	mov	r0, ip
	pop	{r4, r5, r6, r7, r8, pc}
	.size	TAU32_UpdateIdleCodes, .-TAU32_UpdateIdleCodes
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
