	.file	"extr_ti-sysc.c_sysc_init_early_quirks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sysc_init_early_quirks, @function
sysc_init_early_quirks:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR sysc_revision_quirks[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jle	.L13
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR sysc_revision_quirks[rip]
	lea	rax, [rbx+rbx*4]
	lea	rax, [rdi+rax*8]
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	je	.L3
	cmp	rdx, QWORD PTR 0[rbp]
	jne	.L3
	mov	rdx, QWORD PTR 8[rax]
	test	rdx, rdx
	js	.L4
	mov	rcx, QWORD PTR 8[rbp]
	mov	rsi, QWORD PTR SYSC_REVISION[rip]
	cmp	rdx, QWORD PTR [rcx+rsi*8]
	jne	.L3
.L4:
	mov	rdx, QWORD PTR 16[rax]
	test	rdx, rdx
	js	.L5
	mov	rcx, QWORD PTR 8[rbp]
	mov	rsi, QWORD PTR SYSC_SYSCONFIG[rip]
	cmp	rdx, QWORD PTR [rcx+rsi*8]
	jne	.L3
.L5:
	mov	rdx, QWORD PTR 24[rax]
	test	rdx, rdx
	js	.L6
	mov	rcx, QWORD PTR 8[rbp]
	mov	rsi, QWORD PTR SYSC_SYSSTATUS[rip]
	cmp	rdx, QWORD PTR [rcx+rsi*8]
	jne	.L3
.L6:
	mov	edx, DWORD PTR 36[rax]
	mov	eax, DWORD PTR 32[rax]
	or	DWORD PTR 16[rbp], eax
	mov	DWORD PTR 20[rbp], edx
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L7
.L13:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sysc_init_early_quirks, .-sysc_init_early_quirks
	.comm	sysc_revision_quirks,8,8
	.comm	SYSC_SYSSTATUS,8,8
	.comm	SYSC_SYSCONFIG,8,8
	.comm	SYSC_REVISION,8,8
	.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_ti-sysc.c_sysc_init_early_quirks.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sysc_init_early_quirks, %function
sysc_init_early_quirks:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, #0
	ldr	r5, .L14
	mov	r9, r0
	ldr	r8, .L14+4
	ldr	r0, [r5]
	ldr	r7, .L14+8
	ldr	r6, .L14+12
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r0, [r5]
	add	r3, r4, r4, lsl #1
	ldr	r2, [r0, r3, lsl #3]
	add	r3, r0, r3, lsl #3
	cmp	r2, #0
	beq	.L3
	ldr	r1, [r9]
	cmp	r2, r1
	bne	.L3
	ldr	r2, [r3, #4]
	cmp	r2, #0
	blt	.L4
	ldr	ip, [r6]
	ldr	r1, [r9, #4]
	ldr	r1, [r1, ip, lsl #2]
	cmp	r2, r1
	bne	.L3
.L4:
	ldr	r2, [r3, #8]
	cmp	r2, #0
	blt	.L5
	ldr	ip, [r7]
	ldr	r1, [r9, #4]
	ldr	r1, [r1, ip, lsl #2]
	cmp	r2, r1
	bne	.L3
.L5:
	ldr	r2, [r3, #12]
	cmp	r2, #0
	blt	.L6
	ldr	ip, [r8]
	ldr	r1, [r9, #4]
	ldr	r1, [r1, ip, lsl #2]
	cmp	r2, r1
	bne	.L3
.L6:
	ldr	ip, [r3, #16]
	ldr	r2, [r9, #8]
	ldr	r1, [r3, #20]
	orr	r3, r2, ip
	str	r3, [r9, #8]
	str	r1, [r9, #12]
.L3:
	add	r4, r4, #1
	b	.L2
.L15:
	.align	2
.L14:
	.word	sysc_revision_quirks
	.word	SYSC_SYSSTATUS
	.word	SYSC_SYSCONFIG
	.word	SYSC_REVISION
	.size	sysc_init_early_quirks, .-sysc_init_early_quirks
	.comm	sysc_revision_quirks,4,4
	.comm	SYSC_SYSSTATUS,4,4
	.comm	SYSC_SYSCONFIG,4,4
	.comm	SYSC_REVISION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
