	.file	"extr_dw-hdmi.c___dw_hdmi_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__dw_hdmi_remove, @function
__dw_hdmi_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	rdi, QWORD PTR 48[rdi]
	test	rdi, rdi
	jne	.L13
.L3:
	mov	rdi, QWORD PTR 40[rbx]
	call	IS_ERR@PLT
	test	eax, eax
	je	.L14
.L5:
	mov	edx, DWORD PTR HDMI_IH_MUTE_PHY_STAT0[rip]
	mov	esi, -1
	mov	rdi, rbx
	call	hdmi_writeb@PLT
	mov	rdi, QWORD PTR 32[rbx]
	call	clk_disable_unprepare@PLT
	mov	rdi, QWORD PTR 24[rbx]
	call	clk_disable_unprepare@PLT
	mov	rdi, QWORD PTR 16[rbx]
	test	rdi, rdi
	jne	.L15
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L7
.L16:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	i2c_del_adapter@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	call	IS_ERR@PLT
	test	eax, eax
	jne	.L3
	mov	rdi, QWORD PTR 48[rbx]
	call	platform_device_unregister@PLT
	mov	rdi, QWORD PTR 40[rbx]
	call	IS_ERR@PLT
	test	eax, eax
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR 40[rbx]
	call	platform_device_unregister@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	call	clk_disable_unprepare@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	jne	.L16
.L7:
	mov	edi, DWORD PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	i2c_put_adapter@PLT
	.cfi_endproc
.LFE0:
	.size	__dw_hdmi_remove, .-__dw_hdmi_remove
	.comm	HDMI_IH_MUTE_PHY_STAT0,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_dw-hdmi.c___dw_hdmi_remove.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__dw_hdmi_remove, %function
__dw_hdmi_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r0, #24]
	cmp	r0, #0
	bne	.L13
.L3:
	ldr	r0, [r4, #20]
	bl	IS_ERR
	cmp	r0, #0
	beq	.L14
.L5:
	ldr	r3, .L17
	mvn	r1, #0
	ldr	r2, [r3]
	mov	r0, r4
	bl	hdmi_writeb
	ldr	r0, [r4, #16]
	bl	clk_disable_unprepare
	ldr	r0, [r4, #12]
	bl	clk_disable_unprepare
	ldr	r0, [r4, #8]
	cmp	r0, #0
	bne	.L15
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L7
.L16:
	pop	{r4, lr}
	b	i2c_del_adapter
.L13:
	bl	IS_ERR
	cmp	r0, #0
	bne	.L3
	ldr	r0, [r4, #24]
	bl	platform_device_unregister
	ldr	r0, [r4, #20]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L5
.L14:
	ldr	r0, [r4, #20]
	bl	platform_device_unregister
	b	.L5
.L15:
	bl	clk_disable_unprepare
	ldr	r0, [r4, #4]
	cmp	r0, #0
	bne	.L16
.L7:
	ldr	r0, [r4]
	pop	{r4, lr}
	b	i2c_put_adapter
.L18:
	.align	2
.L17:
	.word	HDMI_IH_MUTE_PHY_STAT0
	.size	__dw_hdmi_remove, .-__dw_hdmi_remove
	.comm	HDMI_IH_MUTE_PHY_STAT0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
