	.file	"extr_ti-sysc.c_sysc_init_module_quirks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sysc_init_module_quirks, @function
sysc_init_module_quirks:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 40[rdi], 0
	jne	.L1
	mov	eax, DWORD PTR 32[rdi]
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR 16[rdi]
	test	DWORD PTR SYSC_MODULE_QUIRK_HDQ1W[rip], eax
	jne	.L15
	test	DWORD PTR SYSC_MODULE_QUIRK_I2C[rip], eax
	jne	.L16
	test	DWORD PTR SYSC_MODULE_QUIRK_SGX[rip], eax
	je	.L7
	mov	edx, DWORD PTR sysc_module_enable_quirk_sgx[rip]
	mov	DWORD PTR 20[rdi], edx
.L7:
	test	DWORD PTR SYSC_MODULE_QUIRK_WDT[rip], eax
	je	.L1
	mov	rax, QWORD PTR sysc_reset_done_quirk_wdt[rip]
	mov	QWORD PTR 8[rdi], rax
	mov	QWORD PTR [rdi], rax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, DWORD PTR sysc_clk_enable_quirk_i2c[rip]
	mov	DWORD PTR 28[rdi], eax
	mov	eax, DWORD PTR sysc_clk_disable_quirk_i2c[rip]
	mov	DWORD PTR 24[rdi], eax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	mov	eax, DWORD PTR sysc_clk_enable_quirk_hdq1w[rip]
	mov	DWORD PTR 28[rdi], eax
	ret
	.cfi_endproc
.LFE0:
	.size	sysc_init_module_quirks, .-sysc_init_module_quirks
	.comm	sysc_reset_done_quirk_wdt,8,8
	.comm	sysc_module_enable_quirk_sgx,4,4
	.comm	sysc_clk_enable_quirk_i2c,4,4
	.comm	sysc_clk_enable_quirk_hdq1w,4,4
	.comm	sysc_clk_disable_quirk_i2c,4,4
	.comm	SYSC_MODULE_QUIRK_WDT,4,4
	.comm	SYSC_MODULE_QUIRK_SGX,4,4
	.comm	SYSC_MODULE_QUIRK_I2C,4,4
	.comm	SYSC_MODULE_QUIRK_HDQ1W,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_ti-sysc.c_sysc_init_module_quirks.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sysc_init_module_quirks, %function
sysc_init_module_quirks:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r0, #28]
	cmp	r3, #0
	bxne	lr
	ldr	r3, [r0, #24]
	cmp	r3, #0
	bxeq	lr
	ldr	r2, .L20
	ldr	r3, [r0, #8]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L18
	ldr	r2, .L20+4
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L19
	ldr	r2, .L20+8
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r2, .L20+12
	ldrne	r2, [r2]
	strne	r2, [r0, #12]
	ldr	r2, .L20+16
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r3, .L20+20
	ldrne	r3, [r3]
	strne	r3, [r0, #4]
	strne	r3, [r0]
	bx	lr
.L19:
	ldr	r2, .L20+24
	ldr	r3, .L20+28
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r0, #20]
	str	r3, [r0, #16]
	bx	lr
.L18:
	ldr	r3, .L20+32
	ldr	r3, [r3]
	str	r3, [r0, #20]
	bx	lr
.L21:
	.align	2
.L20:
	.word	SYSC_MODULE_QUIRK_HDQ1W
	.word	SYSC_MODULE_QUIRK_I2C
	.word	SYSC_MODULE_QUIRK_SGX
	.word	sysc_module_enable_quirk_sgx
	.word	SYSC_MODULE_QUIRK_WDT
	.word	sysc_reset_done_quirk_wdt
	.word	sysc_clk_enable_quirk_i2c
	.word	sysc_clk_disable_quirk_i2c
	.word	sysc_clk_enable_quirk_hdq1w
	.size	sysc_init_module_quirks, .-sysc_init_module_quirks
	.comm	sysc_reset_done_quirk_wdt,4,4
	.comm	sysc_module_enable_quirk_sgx,4,4
	.comm	sysc_clk_enable_quirk_i2c,4,4
	.comm	sysc_clk_enable_quirk_hdq1w,4,4
	.comm	sysc_clk_disable_quirk_i2c,4,4
	.comm	SYSC_MODULE_QUIRK_WDT,4,4
	.comm	SYSC_MODULE_QUIRK_SGX,4,4
	.comm	SYSC_MODULE_QUIRK_I2C,4,4
	.comm	SYSC_MODULE_QUIRK_HDQ1W,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
