	.file	"extr_sti_hdmi.c_sti_hdmi_disable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.type	sti_hdmi_disable, @function
sti_hdmi_disable:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	mov	esi, DWORD PTR HDMI_CFG[rip]
	mov	rdi, rbx
	call	hdmi_read@PLT
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	mov	ebp, eax
	call	DRM_DEBUG_DRIVER@PLT
	mov	esi, DWORD PTR HDMI_CFG_DEVICE_EN[rip]
	mov	edx, DWORD PTR HDMI_CFG[rip]
	mov	rdi, rbx
	not	esi
	and	esi, ebp
	call	hdmi_write@PLT
	mov	edx, DWORD PTR HDMI_INT_CLR[rip]
	mov	esi, -1
	mov	rdi, rbx
	call	hdmi_write@PLT
	mov	rax, QWORD PTR 24[rbx]
	mov	rdi, rbx
	call	[QWORD PTR [rax]]
	mov	esi, DWORD PTR HDMI_IFRAME_SLOT_AVI[rip]
	mov	rdi, rbx
	call	hdmi_infoframe_reset@PLT
	mov	esi, DWORD PTR HDMI_IFRAME_SLOT_AUDIO[rip]
	mov	rdi, rbx
	call	hdmi_infoframe_reset@PLT
	mov	esi, DWORD PTR HDMI_IFRAME_SLOT_VENDOR[rip]
	mov	rdi, rbx
	call	hdmi_infoframe_reset@PLT
	mov	edx, DWORD PTR HDMI_DFLT_CHL0_DAT[rip]
	mov	rdi, rbx
	xor	esi, esi
	call	hdmi_write@PLT
	mov	edx, DWORD PTR HDMI_DFLT_CHL1_DAT[rip]
	mov	rdi, rbx
	xor	esi, esi
	call	hdmi_write@PLT
	mov	edx, DWORD PTR HDMI_DFLT_CHL2_DAT[rip]
	mov	esi, 96
	mov	rdi, rbx
	call	hdmi_write@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	clk_disable_unprepare@PLT
	mov	edi, DWORD PTR 12[rbx]
	call	clk_disable_unprepare@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	clk_disable_unprepare@PLT
	mov	DWORD PTR [rbx], 0
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR CEC_PHYS_ADDR_INVALID[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	cec_notifier_set_phys_addr@PLT
	.cfi_endproc
.LFE0:
	.size	sti_hdmi_disable, .-sti_hdmi_disable
	.comm	HDMI_INT_CLR,4,4
	.comm	HDMI_IFRAME_SLOT_VENDOR,4,4
	.comm	HDMI_IFRAME_SLOT_AVI,4,4
	.comm	HDMI_IFRAME_SLOT_AUDIO,4,4
	.comm	HDMI_DFLT_CHL2_DAT,4,4
	.comm	HDMI_DFLT_CHL1_DAT,4,4
	.comm	HDMI_DFLT_CHL0_DAT,4,4
	.comm	HDMI_CFG_DEVICE_EN,4,4
	.comm	HDMI_CFG,4,4
	.comm	CEC_PHYS_ADDR_INVALID,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_sti_hdmi.c_sti_hdmi_disable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sti_hdmi_disable, %function
sti_hdmi_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	ldr	r6, .L5
	mov	r0, r4
	ldr	r1, [r6]
	bl	hdmi_read
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r5, r0
	ldr	r0, .L5+4
	bl	DRM_DEBUG_DRIVER
	ldr	r3, .L5+8
	ldr	r2, [r6]
	ldr	r1, [r3]
	mov	r0, r4
	bic	r1, r5, r1
	bl	hdmi_write
	ldr	r3, .L5+12
	mvn	r1, #0
	ldr	r2, [r3]
	mov	r0, r4
	bl	hdmi_write
	ldr	r3, [r4, #20]
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	ldr	r3, .L5+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	hdmi_infoframe_reset
	ldr	r3, .L5+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	hdmi_infoframe_reset
	ldr	r3, .L5+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	hdmi_infoframe_reset
	ldr	r3, .L5+28
	mov	r1, #0
	ldr	r2, [r3]
	mov	r0, r4
	bl	hdmi_write
	ldr	r3, .L5+32
	mov	r1, #0
	ldr	r2, [r3]
	mov	r0, r4
	bl	hdmi_write
	ldr	r3, .L5+36
	mov	r1, #96
	ldr	r2, [r3]
	mov	r0, r4
	bl	hdmi_write
	ldr	r0, [r4, #16]
	bl	clk_disable_unprepare
	ldr	r0, [r4, #12]
	bl	clk_disable_unprepare
	ldr	r0, [r4, #8]
	bl	clk_disable_unprepare
	mov	r2, #0
	ldr	r3, .L5+40
	ldr	r0, [r4, #4]
	str	r2, [r4]
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	cec_notifier_set_phys_addr
.L6:
	.align	2
.L5:
	.word	HDMI_CFG
	.word	.LC0
	.word	HDMI_CFG_DEVICE_EN
	.word	HDMI_INT_CLR
	.word	HDMI_IFRAME_SLOT_AVI
	.word	HDMI_IFRAME_SLOT_AUDIO
	.word	HDMI_IFRAME_SLOT_VENDOR
	.word	HDMI_DFLT_CHL0_DAT
	.word	HDMI_DFLT_CHL1_DAT
	.word	HDMI_DFLT_CHL2_DAT
	.word	CEC_PHYS_ADDR_INVALID
	.size	sti_hdmi_disable, .-sti_hdmi_disable
	.comm	HDMI_INT_CLR,4,4
	.comm	HDMI_IFRAME_SLOT_VENDOR,4,4
	.comm	HDMI_IFRAME_SLOT_AVI,4,4
	.comm	HDMI_IFRAME_SLOT_AUDIO,4,4
	.comm	HDMI_DFLT_CHL2_DAT,4,4
	.comm	HDMI_DFLT_CHL1_DAT,4,4
	.comm	HDMI_DFLT_CHL0_DAT,4,4
	.comm	HDMI_CFG_DEVICE_EN,4,4
	.comm	HDMI_CFG,4,4
	.comm	CEC_PHYS_ADDR_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
