	.file	"extr_am2315.c_am2315_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"iio allocation failed!\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"iio triggered buffer setup failed\n"
	.text
	.p2align 4
	.type	am2315_probe, @function
am2315_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	devm_iio_device_alloc@PLT
	test	rax, rax
	je	.L7
	mov	rdi, rax
	mov	rbp, rax
	call	iio_priv@PLT
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 8[rax], r12
	mov	r13, rax
	call	i2c_set_clientdata@PLT
	mov	rdi, r13
	call	mutex_init@PLT
	lea	rax, am2315_info[rip]
	mov	edi, DWORD PTR am2315_channels[rip]
	mov	QWORD PTR 24[rbp], r12
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR AM2315_DRIVER_NAME[rip]
	mov	DWORD PTR 4[rbp], edi
	mov	DWORD PTR 12[rbp], eax
	mov	eax, DWORD PTR INDIO_DIRECT_MODE[rip]
	mov	DWORD PTR 8[rbp], eax
	call	ARRAY_SIZE@PLT
	xor	r8d, r8d
	mov	rsi, rbp
	mov	rdi, r12
	mov	ecx, DWORD PTR am2315_trigger_handler[rip]
	mov	edx, DWORD PTR iio_pollfunc_store_time[rip]
	mov	DWORD PTR 0[rbp], eax
	call	devm_iio_triggered_buffer_setup@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L8
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	devm_iio_device_register@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
.L7:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	neg	r13d
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	am2315_probe, .-am2315_probe
	.comm	iio_pollfunc_store_time,4,4
	.comm	am2315_trigger_handler,4,4
	.comm	am2315_info,4,4
	.comm	am2315_channels,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	ENOMEM,4,4
	.comm	AM2315_DRIVER_NAME,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_am2315.c_am2315_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"iio allocation failed!\012\000"
	.align	2
.LC1:
	.ascii	"iio triggered buffer setup failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	am2315_probe, %function
am2315_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #8
	sub	sp, sp, #8
	mov	r6, r0
	bl	devm_iio_device_alloc
	subs	r4, r0, #0
	beq	.L7
	bl	iio_priv
	mov	r5, r0
	mov	r1, r4
	str	r6, [r0, #4]
	mov	r0, r6
	bl	i2c_set_clientdata
	mov	r0, r5
	bl	mutex_init
	ldr	r3, .L9
	ldr	r1, .L9+4
	ldr	r2, .L9+8
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r0, [r3]
	ldr	r3, .L9+12
	stmib	r4, {r0, r2}
	str	r1, [r4, #12]
	str	r3, [r4, #16]
	str	r6, [r4, #20]
	bl	ARRAY_SIZE
	mov	r1, #0
	ldr	r3, .L9+16
	ldr	r2, .L9+20
	str	r0, [r4]
	ldr	r3, [r3]
	str	r1, [sp]
	mov	r0, r6
	mov	r1, r4
	ldr	r2, [r2]
	bl	devm_iio_triggered_buffer_setup
	subs	r5, r0, #0
	blt	.L8
	mov	r1, r4
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	devm_iio_device_register
.L8:
	mov	r0, r6
	ldr	r1, .L9+24
	bl	dev_err
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r6
	ldr	r1, .L9+28
	bl	dev_err
	ldr	r3, .L9+32
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	am2315_channels
	.word	AM2315_DRIVER_NAME
	.word	INDIO_DIRECT_MODE
	.word	am2315_info
	.word	am2315_trigger_handler
	.word	iio_pollfunc_store_time
	.word	.LC1
	.word	.LC0
	.word	ENOMEM
	.size	am2315_probe, .-am2315_probe
	.comm	iio_pollfunc_store_time,4,4
	.comm	am2315_trigger_handler,4,4
	.comm	am2315_info,4,4
	.comm	am2315_channels,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	ENOMEM,4,4
	.comm	AM2315_DRIVER_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
