	.file	"extr_palm27x.c_palm27x_asoc_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"please supply platform_data\n"
.LC1:
	.string	"soc-audio"
	.text
	.p2align 4
	.type	palm27x_asoc_probe, @function
palm27x_asoc_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rdi
	call	machine_is_palmtx@PLT
	test	rax, rax
	je	.L12
.L2:
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	je	.L13
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR hs_jack_gpios[rip]
	lea	rdi, .LC1[rip]
	mov	esi, -1
	mov	DWORD PTR [rax], edx
	call	platform_device_alloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	QWORD PTR palm27x_snd_device[rip], rax
	mov	rdi, rax
	neg	r12d
	test	rax, rax
	je	.L1
	lea	rsi, palm27x_snd_devdata[rip]
	call	platform_set_drvdata@PLT
	mov	rdi, QWORD PTR palm27x_snd_device[rip]
	mov	QWORD PTR palm27x_snd_devdata[rip], rdi
	call	platform_device_add@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L14
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	dev_err@PLT
.L10:
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	call	machine_is_palmt5@PLT
	test	rax, rax
	jne	.L2
	call	machine_is_palmld@PLT
	test	rax, rax
	jne	.L2
	call	machine_is_palmte2@PLT
	test	rax, rax
	jne	.L2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR palm27x_snd_device[rip]
	call	platform_device_put@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	palm27x_asoc_probe, .-palm27x_asoc_probe
	.comm	palm27x_snd_device,8,8
	.comm	palm27x_snd_devdata,8,8
	.comm	hs_jack_gpios,8,8
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_palm27x.c_palm27x_asoc_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"please supply platform_data\012\000"
	.align	2
.LC1:
	.ascii	"soc-audio\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	palm27x_asoc_probe, %function
palm27x_asoc_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	machine_is_palmtx
	cmp	r0, #0
	beq	.L12
.L2:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L13
	ldr	r1, .L16
	ldr	r2, [r3]
	ldr	r3, [r1]
	ldr	r0, .L16+4
	mvn	r1, #0
	str	r2, [r3]
	bl	platform_device_alloc
	ldr	r5, .L16+8
	cmp	r0, #0
	str	r0, [r5]
	beq	.L14
	ldr	r4, .L16+12
	mov	r1, r4
	bl	platform_set_drvdata
	ldr	r0, [r5]
	str	r0, [r4]
	bl	platform_device_add
	subs	r4, r0, #0
	bne	.L15
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L16+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r4
	ldr	r1, .L16+20
	bl	dev_err
.L10:
	ldr	r3, .L16+24
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	bl	machine_is_palmt5
	cmp	r0, #0
	bne	.L2
	bl	machine_is_palmld
	cmp	r0, #0
	bne	.L2
	bl	machine_is_palmte2
	cmp	r0, #0
	bne	.L2
	b	.L10
.L15:
	ldr	r0, [r5]
	bl	platform_device_put
	b	.L1
.L17:
	.align	2
.L16:
	.word	hs_jack_gpios
	.word	.LC1
	.word	palm27x_snd_device
	.word	palm27x_snd_devdata
	.word	ENOMEM
	.word	.LC0
	.word	ENODEV
	.size	palm27x_asoc_probe, .-palm27x_asoc_probe
	.comm	palm27x_snd_device,4,4
	.comm	palm27x_snd_devdata,4,4
	.comm	hs_jack_gpios,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
