	.file	"extr_hdmi_bridge.c_msm_hdmi_bridge_pre_enable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"power up"
	.text
	.p2align 4
	.type	msm_hdmi_bridge_pre_enable, @function
msm_hdmi_bridge_pre_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	to_hdmi_bridge@PLT
	lea	rdi, .LC0[rip]
	mov	rbx, QWORD PTR [rax]
	mov	r12, QWORD PTR 32[rbx]
	call	DBG@PLT
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L8
.L3:
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, r12
	call	msm_hdmi_phy_powerup@PLT
	mov	rdi, rbx
	mov	esi, 1
	call	msm_hdmi_set_mode@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	jne	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, r12
	call	msm_hdmi_phy_resource_enable@PLT
	mov	rdi, rbp
	call	msm_hdmi_power_on@PLT
	cmp	QWORD PTR 24[rbx], 0
	mov	DWORD PTR [rbx], 1
	je	.L3
	mov	rdi, rbx
	call	msm_hdmi_config_avi_infoframe@PLT
	mov	rdi, rbx
	call	msm_hdmi_audio_update@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	msm_hdmi_hdcp_on@PLT
	.cfi_endproc
.LFE0:
	.size	msm_hdmi_bridge_pre_enable, .-msm_hdmi_bridge_pre_enable
	.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_hdmi_bridge.c_msm_hdmi_bridge_pre_enable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"power up\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msm_hdmi_bridge_pre_enable, %function
msm_hdmi_bridge_pre_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	to_hdmi_bridge
	ldr	r4, [r0]
	ldr	r0, .L12
	ldr	r6, [r4, #16]
	bl	DBG
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L11
.L3:
	ldr	r1, [r4, #8]
	mov	r0, r6
	bl	msm_hdmi_phy_powerup
	mov	r1, #1
	mov	r0, r4
	bl	msm_hdmi_set_mode
	ldr	r0, [r4, #4]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	pop	{r4, r5, r6, lr}
	b	msm_hdmi_hdcp_on
.L11:
	mov	r0, r6
	bl	msm_hdmi_phy_resource_enable
	mov	r0, r5
	bl	msm_hdmi_power_on
	mov	r2, #1
	ldr	r3, [r4, #12]
	str	r2, [r4]
	cmp	r3, #0
	beq	.L3
	mov	r0, r4
	bl	msm_hdmi_config_avi_infoframe
	mov	r0, r4
	bl	msm_hdmi_audio_update
	b	.L3
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	msm_hdmi_bridge_pre_enable, .-msm_hdmi_bridge_pre_enable
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
