	.file	"extr_ti-sn65dsi86.c_ti_sn_bridge_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"device doesn't support I2C\n"
.LC1:
	.string	"regmap i2c init failed\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"could not find any panel node\n"
	.section	.rodata.str1.1
.LC3:
	.string	"enable"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"failed to get enable gpio from DT\n"
	.section	.rodata.str1.1
.LC5:
	.string	"failed to parse regulators\n"
.LC6:
	.string	"refclk"
.LC7:
	.string	"refclk not found\n"
.LC8:
	.string	"ti-sn65dsi86-aux"
	.text
	.p2align 4
	.type	ti_sn_bridge_probe, @function
ti_sn_bridge_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR I2C_FUNC_I2C[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR 4[rdi]
	call	i2c_check_functionality@PLT
	test	eax, eax
	je	.L15
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 80
	mov	rdi, rbx
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	rbp, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rdi, rbx
	lea	rsi, ti_sn_bridge_regmap_config[rip]
	call	devm_regmap_init_i2c@PLT
	mov	QWORD PTR 72[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L16
	mov	QWORD PTR 40[rbp], rbx
	mov	edi, DWORD PTR [rbx]
	lea	rcx, 64[rbp]
	xor	r8d, r8d
	xor	edx, edx
	mov	esi, 1
	call	drm_of_find_panel_or_bridge@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L17
	mov	rsi, rbp
	mov	rdi, rbx
	call	dev_set_drvdata@PLT
	mov	rdi, QWORD PTR 40[rbp]
	mov	edx, DWORD PTR GPIOD_OUT_LOW[rip]
	lea	rsi, .LC3[rip]
	call	devm_gpiod_get@PLT
	mov	QWORD PTR 56[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L18
	mov	rdi, rbp
	call	ti_sn_bridge_parse_regulators@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L19
	mov	rdi, QWORD PTR 40[rbp]
	lea	rsi, .LC6[rip]
	call	devm_clk_get@PLT
	mov	QWORD PTR 48[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L9
	mov	rdi, QWORD PTR 48[rbp]
	call	PTR_ERR@PLT
	mov	r12d, eax
	add	eax, DWORD PTR EPROBE_DEFER[rip]
	je	.L1
	lea	rdi, .LC7[rip]
	call	DRM_DEBUG_KMS@PLT
	mov	QWORD PTR 48[rbp], 0
.L9:
	mov	rdi, rbp
	call	ti_sn_bridge_parse_dsi_host@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L20
.L1:
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	DRM_ERROR@PLT
	mov	eax, r12d
	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
.L16:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	DRM_ERROR@PLT
	mov	rdi, QWORD PTR 72[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rdi, .LC4[rip]
	call	DRM_ERROR@PLT
	mov	rdi, QWORD PTR 56[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdi, QWORD PTR 40[rbp]
	call	pm_runtime_enable@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	call	i2c_set_clientdata@PLT
	lea	rax, .LC8[rip]
	lea	rdi, 16[rbp]
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR 40[rbp]
	mov	QWORD PTR 32[rbp], rax
	mov	eax, DWORD PTR ti_sn_aux_transfer[rip]
	mov	DWORD PTR 24[rbp], eax
	call	drm_dp_aux_register@PLT
	lea	rax, ti_sn_bridge_funcs[rip]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 0[rbp], eax
	call	drm_bridge_add@PLT
	mov	rdi, rbp
	call	ti_sn_debugfs_init@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rdi, .LC5[rip]
	call	DRM_ERROR@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ti_sn_bridge_probe, .-ti_sn_bridge_probe
	.comm	ti_sn_bridge_regmap_config,4,4
	.comm	ti_sn_bridge_funcs,4,4
	.comm	ti_sn_aux_transfer,4,4
	.comm	I2C_FUNC_I2C,4,4
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPROBE_DEFER,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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-sn65dsi86.c_ti_sn_bridge_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"device doesn't support I2C\012\000"
	.align	2
.LC1:
	.ascii	"regmap i2c init failed\012\000"
	.align	2
.LC2:
	.ascii	"could not find any panel node\012\000"
	.align	2
.LC3:
	.ascii	"enable\000"
	.align	2
.LC4:
	.ascii	"failed to get enable gpio from DT\012\000"
	.align	2
.LC5:
	.ascii	"failed to parse regulators\012\000"
	.align	2
.LC6:
	.ascii	"refclk\000"
	.align	2
.LC7:
	.ascii	"refclk not found\012\000"
	.align	2
.LC8:
	.ascii	"ti-sn65dsi86-aux\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ti_sn_bridge_probe, %function
ti_sn_bridge_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L22
	mov	r4, r0
	ldr	r1, [r3]
	ldr	r0, [r0, #4]
	sub	sp, sp, #12
	bl	i2c_check_functionality
	cmp	r0, #0
	beq	.L16
	ldr	r3, .L22+4
	mov	r1, #40
	mov	r0, r4
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r5, r0, #0
	beq	.L17
	ldr	r1, .L22+8
	mov	r0, r4
	bl	devm_regmap_init_i2c
	str	r0, [r5, #36]
	bl	IS_ERR
	subs	r2, r0, #0
	bne	.L18
	str	r4, [r5, #20]
	str	r2, [sp]
	mov	r1, #1
	ldr	r0, [r4]
	add	r3, r5, #32
	bl	drm_of_find_panel_or_bridge
	subs	r6, r0, #0
	bne	.L19
	mov	r1, r5
	mov	r0, r4
	bl	dev_set_drvdata
	ldr	r3, .L22+12
	ldr	r1, .L22+16
	ldr	r2, [r3]
	ldr	r0, [r5, #20]
	bl	devm_gpiod_get
	str	r0, [r5, #28]
	bl	IS_ERR
	subs	r7, r0, #0
	bne	.L20
	mov	r0, r5
	bl	ti_sn_bridge_parse_regulators
	subs	r6, r0, #0
	bne	.L21
	ldr	r1, .L22+20
	ldr	r0, [r5, #20]
	bl	devm_clk_get
	str	r0, [r5, #24]
	bl	IS_ERR
	cmp	r0, #0
	beq	.L9
	ldr	r0, [r5, #24]
	bl	PTR_ERR
	ldr	r3, .L22+24
	mov	r6, r0
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L1
	ldr	r0, .L22+28
	bl	DRM_DEBUG_KMS
	str	r7, [r5, #24]
.L9:
	mov	r0, r5
	bl	ti_sn_bridge_parse_dsi_host
	subs	r6, r0, #0
	bne	.L1
	ldr	r0, [r5, #20]
	bl	pm_runtime_enable
	mov	r1, r5
	mov	r0, r4
	bl	i2c_set_clientdata
	ldr	r3, .L22+32
	ldr	r2, .L22+36
	ldr	r1, [r3]
	ldr	r3, [r5, #20]
	str	r1, [r5, #12]
	str	r2, [r5, #8]
	str	r3, [r5, #16]
	add	r0, r5, #8
	bl	drm_dp_aux_register
	ldr	r2, [r4]
	ldr	r3, .L22+40
	mov	r0, r5
	stm	r5, {r2, r3}
	bl	drm_bridge_add
	mov	r0, r5
	bl	ti_sn_debugfs_init
	b	.L1
.L17:
	ldr	r3, .L22+44
	ldr	r0, [r3]
	rsb	r6, r0, #0
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	ldr	r0, .L22+48
	bl	DRM_ERROR
	ldr	r3, .L22+52
	ldr	r0, [r3]
	rsb	r6, r0, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L19:
	ldr	r0, .L22+56
	bl	DRM_ERROR
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	ldr	r0, .L22+60
	bl	DRM_ERROR
	ldr	r0, [r5, #36]
.L14:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	PTR_ERR
.L20:
	ldr	r0, .L22+64
	bl	DRM_ERROR
	ldr	r0, [r5, #28]
	b	.L14
.L21:
	ldr	r0, .L22+68
	bl	DRM_ERROR
	b	.L1
.L23:
	.align	2
.L22:
	.word	I2C_FUNC_I2C
	.word	GFP_KERNEL
	.word	ti_sn_bridge_regmap_config
	.word	GPIOD_OUT_LOW
	.word	.LC3
	.word	.LC6
	.word	EPROBE_DEFER
	.word	.LC7
	.word	ti_sn_aux_transfer
	.word	.LC8
	.word	ti_sn_bridge_funcs
	.word	ENOMEM
	.word	.LC0
	.word	ENODEV
	.word	.LC2
	.word	.LC1
	.word	.LC4
	.word	.LC5
	.size	ti_sn_bridge_probe, .-ti_sn_bridge_probe
	.comm	ti_sn_bridge_regmap_config,4,4
	.comm	ti_sn_bridge_funcs,4,4
	.comm	ti_sn_aux_transfer,4,4
	.comm	I2C_FUNC_I2C,4,4
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPROBE_DEFER,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
