	.file	"extr_hdc100x.c_hdc100x_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"iio triggered buffer setup failed\n"
	.text
	.p2align 4
	.type	hdc100x_probe, @function
hdc100x_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, DWORD PTR I2C_FUNC_SMBUS_WORD_DATA[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	or	esi, DWORD PTR I2C_FUNC_SMBUS_BYTE[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, DWORD PTR 4[rdi]
	or	esi, DWORD PTR I2C_FUNC_I2C[rip]
	call	i2c_check_functionality@PLT
	test	eax, eax
	jne	.L2
	mov	r13d, DWORD PTR EOPNOTSUPP[rip]
	neg	r13d
.L1:
	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
.L2:
	.cfi_restore_state
	mov	esi, 16
	mov	rdi, rbp
	call	devm_iio_device_alloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	mov	r12, rax
	neg	r13d
	test	rax, rax
	je	.L1
	mov	rdi, rax
	call	iio_priv@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	r13, rax
	call	i2c_set_clientdata@PLT
	mov	QWORD PTR 8[r13], rbp
	mov	rdi, r13
	call	mutex_init@PLT
	mov	QWORD PTR 32[r12], rbp
	mov	rdi, rbp
	call	dev_name@PLT
	mov	edi, DWORD PTR hdc100x_channels[rip]
	mov	DWORD PTR 28[r12], eax
	mov	eax, DWORD PTR INDIO_DIRECT_MODE[rip]
	mov	DWORD PTR 8[r12], edi
	mov	DWORD PTR 24[r12], eax
	lea	rax, hdc100x_info[rip]
	mov	QWORD PTR 16[r12], rax
	call	ARRAY_SIZE@PLT
	mov	rdi, r13
	xor	esi, esi
	mov	DWORD PTR 4[r12], eax
	mov	eax, DWORD PTR hdc100x_scan_masks[rip]
	mov	DWORD PTR [r12], eax
	mov	rax, QWORD PTR hdc100x_int_time[rip]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	call	hdc100x_set_it_time@PLT
	mov	rax, QWORD PTR hdc100x_int_time[rip]
	mov	rdi, r13
	mov	esi, 1
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR [rax]
	call	hdc100x_set_it_time@PLT
	mov	esi, DWORD PTR HDC100X_REG_CONFIG_ACQ_MODE[rip]
	mov	rdi, r13
	xor	edx, edx
	call	hdc100x_update_config@PLT
	mov	ecx, DWORD PTR hdc100x_trigger_handler[rip]
	xor	edx, edx
	mov	rsi, r12
	lea	r8, hdc_buffer_setup_ops[rip]
	mov	rdi, rbp
	call	devm_iio_triggered_buffer_setup@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L8
	mov	rsi, r12
	mov	rdi, rbp
	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
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hdc100x_probe, .-hdc100x_probe
	.comm	hdc_buffer_setup_ops,4,4
	.comm	hdc100x_trigger_handler,4,4
	.comm	hdc100x_scan_masks,4,4
	.comm	hdc100x_int_time,8,8
	.comm	hdc100x_info,4,4
	.comm	hdc100x_channels,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	I2C_FUNC_SMBUS_WORD_DATA,4,4
	.comm	I2C_FUNC_SMBUS_BYTE,4,4
	.comm	I2C_FUNC_I2C,4,4
	.comm	HDC100X_REG_CONFIG_ACQ_MODE,4,4
	.comm	EOPNOTSUPP,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_hdc100x.c_hdc100x_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"iio triggered buffer setup failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hdc100x_probe, %function
hdc100x_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L10
	ldr	r2, .L10+4
	ldr	r1, .L10+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r2
	mov	r4, r0
	sub	sp, sp, #12
	ldr	r0, [r0, #4]
	orr	r1, r3, r1
	bl	i2c_check_functionality
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L10+12
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r1, #8
	mov	r0, r4
	bl	devm_iio_device_alloc
	subs	r5, r0, #0
	beq	.L8
	bl	iio_priv
	mov	r6, r0
	mov	r1, r5
	mov	r0, r4
	bl	i2c_set_clientdata
	mov	r0, r6
	str	r4, [r6, #4]
	bl	mutex_init
	mov	r0, r4
	str	r4, [r5, #24]
	bl	dev_name
	ldr	r2, .L10+16
	ldr	r3, .L10+20
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L10+24
	str	r0, [r5, #20]
	str	r1, [r5, #16]
	mov	r0, r3
	str	r3, [r5, #8]
	str	r2, [r5, #12]
	bl	ARRAY_SIZE
	ldr	r7, .L10+28
	ldr	r2, .L10+32
	ldr	r3, [r7]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r5, #4]
	str	r2, [r5]
	ldr	r2, [r3]
	mov	r0, r6
	mov	r1, #0
	bl	hdc100x_set_it_time
	ldr	r3, [r7]
	mov	r0, r6
	ldr	r3, [r3, #4]
	mov	r1, #1
	ldr	r2, [r3]
	bl	hdc100x_set_it_time
	ldr	r3, .L10+36
	mov	r0, r6
	ldr	r1, [r3]
	mov	r2, #0
	bl	hdc100x_update_config
	ldr	r2, .L10+40
	ldr	r3, .L10+44
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r4
	str	r2, [sp]
	mov	r2, #0
	bl	devm_iio_triggered_buffer_setup
	subs	r6, r0, #0
	blt	.L9
	mov	r1, r5
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	devm_iio_device_register
.L8:
	ldr	r3, .L10+48
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	mov	r0, r4
	ldr	r1, .L10+52
	bl	dev_err
	b	.L1
.L11:
	.align	2
.L10:
	.word	I2C_FUNC_SMBUS_WORD_DATA
	.word	I2C_FUNC_SMBUS_BYTE
	.word	I2C_FUNC_I2C
	.word	EOPNOTSUPP
	.word	INDIO_DIRECT_MODE
	.word	hdc100x_channels
	.word	hdc100x_info
	.word	hdc100x_int_time
	.word	hdc100x_scan_masks
	.word	HDC100X_REG_CONFIG_ACQ_MODE
	.word	hdc_buffer_setup_ops
	.word	hdc100x_trigger_handler
	.word	ENOMEM
	.word	.LC0
	.size	hdc100x_probe, .-hdc100x_probe
	.comm	hdc_buffer_setup_ops,4,4
	.comm	hdc100x_trigger_handler,4,4
	.comm	hdc100x_scan_masks,4,4
	.comm	hdc100x_int_time,4,4
	.comm	hdc100x_info,4,4
	.comm	hdc100x_channels,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	I2C_FUNC_SMBUS_WORD_DATA,4,4
	.comm	I2C_FUNC_SMBUS_BYTE,4,4
	.comm	I2C_FUNC_I2C,4,4
	.comm	HDC100X_REG_CONFIG_ACQ_MODE,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
