	.file	"extr_corgi_lcd.c_corgi_lcd_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"platform data not available\n"
.LC1:
	.string	"corgi_lcd"
.LC2:
	.string	"corgi_bl"
	.text
	.p2align 4
	.type	corgi_lcd_probe, @function
corgi_lcd_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_platdata@PLT
	test	rax, rax
	je	.L10
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 48
	mov	rdi, rbp
	mov	r12, rax
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	mov	rbx, rax
	neg	r13d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 40[rax], rbp
	mov	rdi, rbp
	mov	rcx, rax
	mov	rdx, rbp
	lea	r8, corgi_lcd_ops[rip]
	lea	rsi, .LC1[rip]
	call	devm_lcd_device_register@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	mov	eax, DWORD PTR FB_BLANK_POWERDOWN[rip]
	mov	r13, rsp
	xor	esi, esi
	mov	edx, 8
	mov	rdi, r13
	mov	DWORD PTR 32[rbx], eax
	mov	eax, DWORD PTR 16[r12]
	mov	DWORD PTR 28[rbx], eax
	call	memset@PLT
	mov	rdi, rbp
	mov	r9, r13
	mov	rcx, rbx
	mov	eax, DWORD PTR BACKLIGHT_RAW[rip]
	lea	r8, corgi_bl_ops[rip]
	mov	rdx, rbp
	lea	rsi, .LC2[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR 12[r12]
	mov	DWORD PTR [rsp], eax
	call	devm_backlight_device_register@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	mov	edx, DWORD PTR 8[r12]
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, r12
	mov	rdi, rbx
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR FB_BLANK_UNBLANK[rip]
	mov	DWORD PTR [rax], edx
	call	setup_gpio_backlight@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L13
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	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
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rbx]
	call	PTR_ERR@PLT
	mov	r13d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR 4[r12]
	mov	rsi, rbx
	mov	rdi, rbp
	mov	DWORD PTR 24[rbx], eax
	call	spi_set_drvdata@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR FB_BLANK_UNBLANK[rip]
	call	corgi_lcd_set_power@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	backlight_update_status@PLT
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR [rbx], eax
	mov	QWORD PTR the_corgi_lcd[rip], rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR 8[rbx]
	call	PTR_ERR@PLT
	mov	r13d, eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	corgi_lcd_probe, .-corgi_lcd_probe
	.comm	the_corgi_lcd,8,8
	.comm	corgi_lcd_ops,4,4
	.comm	corgi_bl_ops,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FB_BLANK_UNBLANK,4,4
	.comm	FB_BLANK_POWERDOWN,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	CORGI_LCD_MODE_VGA,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_corgi_lcd.c_corgi_lcd_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"platform data not available\012\000"
	.align	2
.LC1:
	.ascii	"corgi_lcd\000"
	.align	2
.LC2:
	.ascii	"corgi_bl\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	corgi_lcd_probe, %function
corgi_lcd_probe:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L16
	sub	sp, sp, #24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r0
	bl	dev_get_platdata
	subs	r7, r0, #0
	beq	.L10
	ldr	r3, .L16+4
	mov	r1, #28
	mov	r0, r6
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L11
	ldr	r2, .L16+8
	mov	r3, r4
	ldr	r1, .L16+12
	str	r6, [r4, #24]
	mov	r0, r6
	str	r2, [sp]
	mov	r2, r6
	bl	devm_lcd_device_register
	str	r0, [r4, #8]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L12
	ldr	r3, .L16+16
	ldr	r0, .L16+20
	ldr	r3, [r3]
	ldr	r1, [r7, #16]
	ldr	r0, [r0]
	ldr	r2, .L16+24
	ldr	ip, [r7, #12]
	str	r3, [r4, #20]
	add	r3, sp, #12
	str	r1, [r4, #16]
	str	r0, [sp, #16]
	stm	sp, {r2, r3}
	ldr	r1, .L16+28
	mov	r3, r4
	mov	r2, r6
	mov	r0, r6
	str	ip, [sp, #12]
	bl	devm_backlight_device_register
	str	r0, [r4, #4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L13
	ldr	r8, .L16+32
	ldr	r3, [r4, #4]
	ldr	r1, [r8]
	ldr	r2, [r7, #8]
	mov	r0, r4
	stm	r3, {r1, r2}
	mov	r1, r7
	bl	setup_gpio_backlight
	subs	r5, r0, #0
	beq	.L14
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L16+36
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L12:
	ldr	r0, [r4, #8]
	bl	PTR_ERR
	mov	r5, r0
	b	.L1
.L14:
	ldr	r3, [r7, #4]
	mov	r1, r4
	str	r3, [r4, #12]
	mov	r0, r6
	bl	spi_set_drvdata
	ldr	r1, [r8]
	ldr	r0, [r4, #8]
	bl	corgi_lcd_set_power
	ldr	r0, [r4, #4]
	bl	backlight_update_status
	ldr	r2, [r7]
	ldr	r3, .L16+40
	str	r2, [r4]
	str	r4, [r3]
	b	.L1
.L10:
	mov	r0, r6
	ldr	r1, .L16+44
	bl	dev_err
	ldr	r3, .L16+48
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L13:
	ldr	r0, [r4, #4]
	bl	PTR_ERR
	mov	r5, r0
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	GFP_KERNEL
	.word	corgi_lcd_ops
	.word	.LC1
	.word	FB_BLANK_POWERDOWN
	.word	BACKLIGHT_RAW
	.word	corgi_bl_ops
	.word	.LC2
	.word	FB_BLANK_UNBLANK
	.word	ENOMEM
	.word	the_corgi_lcd
	.word	.LC0
	.word	EINVAL
	.size	corgi_lcd_probe, .-corgi_lcd_probe
	.comm	the_corgi_lcd,4,4
	.comm	corgi_lcd_ops,4,4
	.comm	corgi_bl_ops,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FB_BLANK_UNBLANK,4,4
	.comm	FB_BLANK_POWERDOWN,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	CORGI_LCD_MODE_VGA,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
