	.file	"extr_lms283gf05.c_lms283gf05_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"LMS283GF05 RESET"
.LC1:
	.string	"lms283gf05"
	.text
	.p2align 4
	.type	lms283gf05_probe, @function
lms283gf05_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, 8
	.cfi_def_cfa_offset 48
	call	dev_get_platdata@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR GPIOF_INIT_LOW[rip]
	test	eax, eax
	je	.L17
.L6:
	mov	esi, DWORD PTR 4[rbx]
	or	edx, DWORD PTR GPIOF_DIR_OUT[rip]
	lea	rcx, .LC0[rip]
	mov	rdi, rbp
	call	devm_gpio_request_one@PLT
	test	eax, eax
	jne	.L1
.L8:
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 16
	mov	rdi, rbp
	call	devm_kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L18
	mov	rdi, rbp
	lea	r8, lms_ops[rip]
	mov	rcx, rax
	mov	rdx, rbp
	lea	rsi, .LC1[rip]
	call	devm_lcd_device_register@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L19
	mov	QWORD PTR 8[r12], rbp
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR [r12], r13
	call	spi_set_drvdata@PLT
	test	rbx, rbx
	je	.L10
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	call	lms283gf05_reset@PLT
.L10:
	mov	edi, DWORD PTR disp_initseq[rip]
	call	ARRAY_SIZE@PLT
	mov	esi, DWORD PTR disp_initseq[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	lms283gf05_toggle@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L17:
	.cfi_restore_state
	mov	edx, DWORD PTR GPIOF_INIT_HIGH[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	lms283gf05_probe, .-lms283gf05_probe
	.comm	lms_ops,4,4
	.comm	disp_initseq,4,4
	.comm	GPIOF_INIT_LOW,4,4
	.comm	GPIOF_INIT_HIGH,4,4
	.comm	GPIOF_DIR_OUT,4,4
	.comm	GFP_KERNEL,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_lms283gf05.c_lms283gf05_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"LMS283GF05 RESET\000"
	.align	2
.LC1:
	.ascii	"lms283gf05\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lms283gf05_probe, %function
lms283gf05_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r5, r0
	bl	dev_get_platdata
	subs	r6, r0, #0
	beq	.L8
	ldr	r3, [r6]
	ldr	r1, [r6, #4]
	cmp	r3, #0
	ldreq	r3, .L19
	ldrne	r3, .L19+4
	ldr	r0, [r3]
	ldr	r3, .L19+8
	ldr	r2, [r3]
	ldr	r3, .L19+12
	orr	r2, r0, r2
	mov	r0, r5
	bl	devm_gpio_request_one
	subs	r4, r0, #0
	bne	.L1
.L8:
	ldr	r3, .L19+16
	mov	r1, #8
	mov	r0, r5
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r7, r0, #0
	beq	.L17
	ldr	r2, .L19+20
	mov	r3, r7
	ldr	r1, .L19+24
	str	r2, [sp]
	mov	r0, r5
	mov	r2, r5
	bl	devm_lcd_device_register
	mov	r8, r0
	bl	IS_ERR
	subs	r4, r0, #0
	bne	.L18
	mov	r1, r7
	mov	r0, r5
	str	r5, [r7, #4]
	str	r8, [r7]
	bl	spi_set_drvdata
	cmp	r6, #0
	beq	.L10
	ldr	r1, [r6]
	ldr	r0, [r6, #4]
	bl	lms283gf05_reset
.L10:
	ldr	r3, .L19+28
	ldr	r6, [r3]
	mov	r0, r6
	bl	ARRAY_SIZE
	mov	r1, r6
	mov	r2, r0
	mov	r0, r5
	bl	lms283gf05_toggle
.L1:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r3, .L19+32
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	mov	r0, r8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L20:
	.align	2
.L19:
	.word	GPIOF_INIT_HIGH
	.word	GPIOF_INIT_LOW
	.word	GPIOF_DIR_OUT
	.word	.LC0
	.word	GFP_KERNEL
	.word	lms_ops
	.word	.LC1
	.word	disp_initseq
	.word	ENOMEM
	.size	lms283gf05_probe, .-lms283gf05_probe
	.comm	lms_ops,4,4
	.comm	disp_initseq,4,4
	.comm	GPIOF_INIT_LOW,4,4
	.comm	GPIOF_INIT_HIGH,4,4
	.comm	GPIOF_DIR_OUT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
