	.file	"extr_panel-simple.c_panel_simple_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no-hpd"
.LC1:
	.string	"power"
.LC2:
	.string	"enable"
.LC3:
	.string	"failed to request GPIO: %d\n"
.LC4:
	.string	"backlight"
.LC5:
	.string	"ddc-i2c-bus"
.LC6:
	.string	"panel-timing"
	.text
	.p2align 4
	.type	panel_simple_probe, @function
panel_simple_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	mov	esi, 64
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L24
	mov	QWORD PTR 56[rax], r13
	lea	rsi, .LC0[rip]
	mov	rbp, rax
	mov	QWORD PTR [rax], 0
	mov	edi, DWORD PTR [r12]
	call	of_property_read_bool@PLT
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	mov	DWORD PTR 48[rbp], eax
	call	devm_regulator_get@PLT
	mov	DWORD PTR 44[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L25
	mov	edx, DWORD PTR GPIOD_OUT_LOW[rip]
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	call	devm_gpiod_get_optional@PLT
	mov	DWORD PTR 40[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L26
	mov	edi, DWORD PTR [r12]
	xor	edx, edx
	lea	rsi, .LC4[rip]
	call	of_parse_phandle@PLT
	mov	r13, rax
	test	rax, rax
	je	.L6
	mov	rdi, rax
	call	of_find_backlight_by_node@PLT
	mov	rdi, r13
	mov	QWORD PTR 8[rbp], rax
	call	of_node_put@PLT
	mov	r13d, DWORD PTR EPROBE_DEFER[rip]
	neg	r13d
	cmp	QWORD PTR 8[rbp], 0
	je	.L1
.L6:
	mov	edi, DWORD PTR [r12]
	xor	edx, edx
	lea	rsi, .LC5[rip]
	call	of_parse_phandle@PLT
	mov	r13, rax
	test	rax, rax
	je	.L7
	mov	rdi, rax
	call	of_find_i2c_adapter_by_node@PLT
	mov	rdi, r13
	mov	QWORD PTR 16[rbp], rax
	call	of_node_put@PLT
	mov	r13d, DWORD PTR EPROBE_DEFER[rip]
	neg	r13d
	cmp	QWORD PTR 16[rbp], 0
	je	.L8
.L7:
	lea	r13, 4[rsp]
	mov	edi, DWORD PTR [r12]
	lea	rsi, .LC6[rip]
	mov	rdx, r13
	call	of_get_display_timing@PLT
	test	eax, eax
	je	.L27
.L9:
	lea	r13, 24[rbp]
	mov	rdi, r13
	call	drm_panel_init@PLT
	lea	rax, panel_simple_funcs[rip]
	mov	QWORD PTR 32[rbp], r12
	mov	rdi, r13
	mov	QWORD PTR 24[rbp], rax
	call	drm_panel_add@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L28
	mov	rsi, rbp
	mov	rdi, r12
	xor	r13d, r13d
	call	dev_set_drvdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR 44[rbp]
	call	PTR_ERR@PLT
	mov	r13d, eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	je	.L8
	call	put_device@PLT
.L8:
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L1
	call	put_device@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r12
	call	panel_simple_parse_panel_timing_node@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR 40[rbp]
	call	PTR_ERR@PLT
	mov	r13d, eax
	add	eax, DWORD PTR EPROBE_DEFER[rip]
	je	.L1
	mov	edx, r13d
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	dev_err@PLT
	jmp	.L1
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	panel_simple_probe, .-panel_simple_probe
	.comm	panel_simple_funcs,4,4
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPROBE_DEFER,4,4
	.comm	ENOMEM,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_panel-simple.c_panel_simple_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no-hpd\000"
	.align	2
.LC1:
	.ascii	"power\000"
	.align	2
.LC2:
	.ascii	"enable\000"
	.align	2
.LC3:
	.ascii	"failed to request GPIO: %d\012\000"
	.align	2
.LC4:
	.ascii	"backlight\000"
	.align	2
.LC5:
	.ascii	"ddc-i2c-bus\000"
	.align	2
.LC6:
	.ascii	"panel-timing\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	panel_simple_probe, %function
panel_simple_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L32
	ldr	r3, .L32+4
	sub	sp, sp, #8
	mov	r5, r1
	ldr	r2, [r2]
	mov	r1, #40
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L24
	mov	r3, #0
	ldr	r1, .L32+8
	str	r3, [r4]
	str	r3, [r4, #4]
	ldr	r0, [r6]
	str	r5, [r4, #36]
	bl	of_property_read_bool
	ldr	r1, .L32+12
	str	r0, [r4, #32]
	mov	r0, r6
	bl	devm_regulator_get
	str	r0, [r4, #28]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L25
	ldr	r3, .L32+16
	ldr	r1, .L32+20
	ldr	r2, [r3]
	mov	r0, r6
	bl	devm_gpiod_get_optional
	str	r0, [r4, #24]
	bl	IS_ERR
	subs	r2, r0, #0
	bne	.L26
	ldr	r1, .L32+24
	ldr	r0, [r6]
	bl	of_parse_phandle
	subs	r5, r0, #0
	beq	.L6
	bl	of_find_backlight_by_node
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #8]
	bl	of_node_put
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L27
.L6:
	mov	r2, #0
	ldr	r1, .L32+28
	ldr	r0, [r6]
	bl	of_parse_phandle
	subs	r5, r0, #0
	beq	.L7
	bl	of_find_i2c_adapter_by_node
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #12]
	bl	of_node_put
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L28
.L7:
	mov	r2, sp
	ldr	r1, .L32+32
	ldr	r0, [r6]
	bl	of_get_display_timing
	cmp	r0, #0
	beq	.L29
.L9:
	add	r5, r4, #16
	mov	r0, r5
	bl	drm_panel_init
	ldr	r3, .L32+36
	mov	r0, r5
	str	r6, [r4, #20]
	str	r3, [r4, #16]
	bl	drm_panel_add
	subs	r5, r0, #0
	blt	.L30
	mov	r1, r4
	mov	r0, r6
	bl	dev_set_drvdata
	mov	r5, #0
	b	.L1
.L25:
	ldr	r0, [r4, #28]
	bl	PTR_ERR
	mov	r5, r0
.L1:
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L24:
	ldr	r3, .L32+40
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L30:
	ldr	r0, [r4, #12]
	cmp	r0, #0
	beq	.L8
	bl	put_device
.L8:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L1
	bl	put_device
	b	.L1
.L29:
	mov	r2, sp
	mov	r1, r4
	mov	r0, r6
	bl	panel_simple_parse_panel_timing_node
	b	.L9
.L26:
	ldr	r0, [r4, #24]
	bl	PTR_ERR
	ldr	r3, .L32+44
	mov	r5, r0
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L1
	mov	r0, r6
	mov	r2, r5
	ldr	r1, .L32+48
	bl	dev_err
	b	.L1
.L27:
	ldr	r3, .L32+44
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L28:
	ldr	r3, .L32+44
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L8
.L31:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	GFP_KERNEL
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	GPIOD_OUT_LOW
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	panel_simple_funcs
	.word	ENOMEM
	.word	EPROBE_DEFER
	.word	.LC3
	.size	panel_simple_probe, .-panel_simple_probe
	.comm	panel_simple_funcs,4,4
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPROBE_DEFER,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
