	.file	"extr_tps65217_bl.c_tps65217_bl_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"registration of backlight device failed: %d\n"
	.text
	.p2align 4
	.type	tps65217_bl_probe, @function
tps65217_bl_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 4[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	rdi, rbp
	mov	r14, rax
	call	tps65217_bl_parse_dt@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	lea	r15, 4[rbp]
	mov	esi, 32
	mov	rdi, r15
	call	devm_kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L10
	mov	QWORD PTR 24[rax], r14
	mov	rsi, r13
	mov	rdi, rax
	mov	QWORD PTR 16[rax], r15
	mov	DWORD PTR [rax], 0
	call	tps65217_bl_hw_init@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L1
	mov	rbx, rsp
	xor	esi, esi
	mov	edx, 8
	mov	rdi, rbx
	call	memset@PLT
	mov	rdx, QWORD PTR 16[r12]
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r15
	mov	eax, DWORD PTR BACKLIGHT_RAW[rip]
	mov	r9, rbx
	lea	r8, tps65217_bl_ops[rip]
	mov	rcx, r12
	mov	DWORD PTR [rsp], 100
	mov	DWORD PTR 4[rsp], eax
	call	devm_backlight_device_register@PLT
	mov	QWORD PTR 8[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, QWORD PTR 8[r12]
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 4[rdi], eax
	call	backlight_update_status@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r13
	call	PTR_ERR@PLT
	mov	r14d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR 16[r12]
	xor	edx, edx
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	rdi, QWORD PTR 8[r12]
	call	PTR_ERR@PLT
	mov	r14d, eax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tps65217_bl_probe, .-tps65217_bl_probe
	.comm	tps65217_bl_ops,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	BACKLIGHT_RAW,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_tps65217_bl.c_tps65217_bl_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"registration of backlight device failed: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tps65217_bl_probe, %function
tps65217_bl_probe:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L13
	sub	sp, sp, #28
	mov	r4, r0
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	dev_get_drvdata
	mov	r5, r0
	mov	r0, r4
	bl	tps65217_bl_parse_dt
	mov	r7, r0
	bl	IS_ERR
	subs	r8, r0, #0
	bne	.L9
	ldr	r3, .L13+4
	add	r9, r4, #4
	mov	r0, r9
	mov	r1, #16
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r6, r0, #0
	beq	.L10
	str	r5, [r6, #12]
	mov	r1, r7
	str	r9, [r6, #8]
	str	r8, [r6]
	bl	tps65217_bl_hw_init
	subs	r5, r0, #0
	bne	.L1
	mov	ip, #100
	ldr	r3, .L13+8
	ldr	r1, .L13+12
	ldr	r2, [r6, #8]
	ldr	r1, [r1]
	str	r3, [sp]
	add	r3, sp, #12
	str	r3, [sp, #4]
	str	r1, [sp, #16]
	mov	r3, r6
	ldr	r1, [r4]
	mov	r0, r9
	str	ip, [sp, #12]
	bl	devm_backlight_device_register
	str	r0, [r6, #4]
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L11
	ldr	r3, [r7]
	ldr	r0, [r6, #4]
	str	r3, [r0, #4]
	bl	backlight_update_status
	mov	r1, r6
	mov	r0, r4
	bl	platform_set_drvdata
	b	.L1
.L10:
	ldr	r3, .L13+16
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	mov	r0, r7
	bl	PTR_ERR
	mov	r5, r0
	b	.L1
.L11:
	mov	r2, r8
	ldr	r1, .L13+20
	ldr	r0, [r6, #8]
	bl	dev_err
	ldr	r0, [r6, #4]
	bl	PTR_ERR
	mov	r5, r0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	GFP_KERNEL
	.word	tps65217_bl_ops
	.word	BACKLIGHT_RAW
	.word	ENOMEM
	.word	.LC0
	.size	tps65217_bl_probe, .-tps65217_bl_probe
	.comm	tps65217_bl_ops,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	BACKLIGHT_RAW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
