	.file	"extr_tdo24m.c_tdo24m_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unsupported model"
.LC1:
	.string	"tdo24m"
	.text
	.p2align 4
	.type	tdo24m_probe, @function
tdo24m_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	r13, 4[rdi]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, r13
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, 129
	call	dev_get_platdata@PLT
	test	rax, rax
	je	.L2
	mov	ebx, DWORD PTR [rax]
.L2:
	mov	eax, DWORD PTR SPI_MODE_3[rip]
	mov	DWORD PTR 0[rbp], 8
	mov	rdi, rbp
	mov	DWORD PTR 8[rbp], eax
	call	spi_setup@PLT
	test	eax, eax
	je	.L16
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 64
	mov	rdi, r13
	call	devm_kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L14
	mov	QWORD PTR 56[rax], rbp
	mov	eax, DWORD PTR FB_BLANK_POWERDOWN[rip]
	mov	rdi, r13
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, DWORD PTR TDO24M_SPI_BUFF_SIZE[rip]
	mov	DWORD PTR 48[r12], eax
	mov	eax, DWORD PTR MODE_VGA[rip]
	mov	DWORD PTR 44[r12], eax
	call	devm_kzalloc@PLT
	mov	QWORD PTR 16[r12], rax
	test	rax, rax
	je	.L14
	lea	r14, 40[r12]
	mov	rdi, r14
	call	spi_message_init@PLT
	mov	rax, QWORD PTR 16[r12]
	lea	rdi, 24[r12]
	mov	rsi, r14
	mov	QWORD PTR 32[r12], 0
	mov	QWORD PTR 24[r12], rax
	call	spi_message_add_tail@PLT
	cmp	ebx, 128
	je	.L6
	cmp	ebx, 129
	jne	.L7
	mov	eax, DWORD PTR tdo24m_adj_mode[rip]
	mov	DWORD PTR [r12], 1
	mov	DWORD PTR 8[r12], eax
.L8:
	mov	rdi, r13
	lea	r8, tdo24m_ops[rip]
	mov	rcx, r12
	mov	rdx, r13
	lea	rsi, .LC1[rip]
	call	devm_lcd_device_register@PLT
	mov	DWORD PTR 4[r12], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	mov	rsi, r12
	mov	rdi, rbp
	call	spi_set_drvdata@PLT
	mov	esi, DWORD PTR FB_BLANK_UNBLANK[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	tdo24m_power@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR tdo35s_adj_mode[rip]
	mov	DWORD PTR [r12], 0
	mov	DWORD PTR 8[r12], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR 4[r12]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	tdo24m_probe, .-tdo24m_probe
	.comm	tdo35s_adj_mode,4,4
	.comm	tdo24m_ops,4,4
	.comm	tdo24m_adj_mode,4,4
	.comm	TDO24M_SPI_BUFF_SIZE,4,4
	.comm	SPI_MODE_3,4,4
	.comm	MODE_VGA,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
	.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_tdo24m.c_tdo24m_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unsupported model\000"
	.align	2
.LC1:
	.ascii	"tdo24m\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tdo24m_probe, %function
tdo24m_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	add	r7, r0, #4
	mov	r4, r0
	sub	sp, sp, #12
	mov	r0, r7
	bl	dev_get_platdata
	mov	r2, #8
	ldr	r3, .L16
	cmp	r0, #0
	ldr	r3, [r3]
	ldrne	r8, [r0]
	mov	r0, r4
	str	r2, [r4]
	str	r3, [r4, #8]
	moveq	r8, #129
	bl	spi_setup
	subs	r6, r0, #0
	beq	.L14
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L14:
	ldr	r9, .L16+4
	mov	r1, #40
	mov	r0, r7
	ldr	r2, [r9]
	bl	devm_kzalloc
	subs	r5, r0, #0
	beq	.L12
	ldr	r2, .L16+8
	ldr	r3, .L16+12
	ldr	r0, [r2]
	ldr	r1, [r3]
	ldr	r3, .L16+16
	str	r0, [r5, #32]
	str	r1, [r5, #28]
	mov	r0, r7
	ldr	r2, [r9]
	ldr	r1, [r3]
	str	r4, [r5, #36]
	bl	devm_kzalloc
	cmp	r0, #0
	str	r0, [r5, #12]
	beq	.L12
	add	r9, r5, #24
	mov	r0, r9
	bl	spi_message_init
	mov	r0, r5
	ldr	r3, [r5, #12]
	str	r6, [r5, #20]
	mov	r1, r9
	str	r3, [r0, #16]!
	bl	spi_message_add_tail
	cmp	r8, #128
	beq	.L6
	cmp	r8, #129
	bne	.L7
	mov	r2, #1
	ldr	r3, .L16+20
	str	r2, [r5]
	ldr	r3, [r3]
	str	r3, [r5, #8]
.L8:
	ldr	r2, .L16+24
	mov	r3, r5
	ldr	r1, .L16+28
	str	r2, [sp]
	mov	r0, r7
	mov	r2, r7
	bl	devm_lcd_device_register
	str	r0, [r5, #4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L15
	mov	r1, r5
	mov	r0, r4
	bl	spi_set_drvdata
	mov	r0, r5
	ldr	r3, .L16+32
	ldr	r1, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	tdo24m_power
.L12:
	ldr	r3, .L16+36
	ldr	r0, [r3]
	rsb	r6, r0, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	mov	r0, r7
	ldr	r1, .L16+40
	bl	dev_err
	ldr	r3, .L16+44
	ldr	r0, [r3]
	rsb	r6, r0, #0
	b	.L1
.L6:
	ldr	r3, .L16+48
	ldr	r3, [r3]
	str	r6, [r5]
	str	r3, [r5, #8]
	b	.L8
.L15:
	ldr	r0, [r5, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	PTR_ERR
.L17:
	.align	2
.L16:
	.word	SPI_MODE_3
	.word	GFP_KERNEL
	.word	FB_BLANK_POWERDOWN
	.word	MODE_VGA
	.word	TDO24M_SPI_BUFF_SIZE
	.word	tdo24m_adj_mode
	.word	tdo24m_ops
	.word	.LC1
	.word	FB_BLANK_UNBLANK
	.word	ENOMEM
	.word	.LC0
	.word	EINVAL
	.word	tdo35s_adj_mode
	.size	tdo24m_probe, .-tdo24m_probe
	.comm	tdo35s_adj_mode,4,4
	.comm	tdo24m_ops,4,4
	.comm	tdo24m_adj_mode,4,4
	.comm	TDO24M_SPI_BUFF_SIZE,4,4
	.comm	SPI_MODE_3,4,4
	.comm	MODE_VGA,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
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
