	.file	"extr_htu21.c_htu21_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Adapter does not support some i2c transaction\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Serial number : %llx"
	.text
	.p2align 4
	.type	htu21_probe, @function
htu21_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR I2C_FUNC_SMBUS_WRITE_BYTE_DATA[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	or	esi, DWORD PTR I2C_FUNC_SMBUS_WRITE_BYTE[rip]
	or	esi, DWORD PTR I2C_FUNC_SMBUS_READ_I2C_BLOCK[rip]
	call	i2c_check_functionality@PLT
	test	eax, eax
	je	.L10
	mov	esi, 24
	mov	rdi, rbp
	call	devm_iio_device_alloc@PLT
	mov	r12, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	r12, r12
	je	.L1
	mov	rdi, r12
	call	iio_priv@PLT
	mov	QWORD PTR 16[rax], rbp
	mov	rdi, rax
	mov	QWORD PTR 8[rax], 0
	call	mutex_init@PLT
	lea	rax, htu21_info[rip]
	mov	QWORD PTR 40[r12], rax
	mov	eax, DWORD PTR 8[rbx]
	mov	QWORD PTR 24[r12], rbp
	mov	DWORD PTR 32[r12], eax
	mov	eax, DWORD PTR INDIO_DIRECT_MODE[rip]
	mov	DWORD PTR 16[r12], eax
	mov	rax, QWORD PTR MS8607[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L11
	mov	rdi, QWORD PTR htu21_channels[rip]
	mov	QWORD PTR 8[r12], rdi
	call	ARRAY_SIZE@PLT
	mov	QWORD PTR [r12], rax
.L6:
	mov	rsi, r12
	mov	rdi, rbp
	call	i2c_set_clientdata@PLT
	mov	esi, DWORD PTR HTU21_RESET[rip]
	mov	edx, 15000
	mov	rdi, rbp
	call	ms_sensors_reset@PLT
	test	eax, eax
	jne	.L1
	lea	rsi, 4[rsp]
	mov	rdi, rbp
	call	ms_sensors_read_serial@PLT
	test	eax, eax
	je	.L12
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, DWORD PTR 4[rsp]
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	dev_info@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	devm_iio_device_register@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR ms8607_channels[rip]
	mov	QWORD PTR 8[r12], rdi
	call	ARRAY_SIZE@PLT
	mov	QWORD PTR [r12], rax
	jmp	.L6
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	htu21_probe, .-htu21_probe
	.comm	ms8607_channels,8,8
	.comm	htu21_info,4,4
	.comm	htu21_channels,8,8
	.comm	MS8607,8,8
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,4
	.comm	I2C_FUNC_SMBUS_WRITE_BYTE,4,4
	.comm	I2C_FUNC_SMBUS_READ_I2C_BLOCK,4,4
	.comm	HTU21_RESET,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_htu21.c_htu21_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Adapter does not support some i2c transaction\012\000"
	.align	2
.LC1:
	.ascii	"Serial number : %llx\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	htu21_probe, %function
htu21_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L13
	ldr	r0, .L13+4
	mov	r6, r1
	ldr	r1, .L13+8
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r0
	orr	r1, r3, r1
	ldr	r3, .L13+12
	sub	sp, sp, #8
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	i2c_check_functionality
	cmp	r0, #0
	beq	.L10
	mov	r1, #12
	mov	r0, r4
	bl	devm_iio_device_alloc
	subs	r5, r0, #0
	beq	.L11
	bl	iio_priv
	mov	r2, #0
	stmib	r0, {r2, r4}
	bl	mutex_init
	ldr	r2, .L13+16
	ldr	r3, .L13+20
	ldr	ip, [r6]
	ldr	r0, [r2]
	ldr	r2, [r3]
	ldr	r3, .L13+24
	cmp	ip, r0
	ldr	r1, [r6, #4]
	str	r3, [r5, #20]
	ldreq	r3, .L13+28
	ldrne	r3, .L13+32
	str	r4, [r5, #12]
	ldr	r0, [r3]
	str	r2, [r5, #8]
	str	r1, [r5, #16]
	str	r0, [r5, #4]
	bl	ARRAY_SIZE
	mov	r1, r5
	str	r0, [r5]
	mov	r0, r4
	bl	i2c_set_clientdata
	ldr	r3, .L13+36
	mov	r0, r4
	ldr	r2, .L13+40
	ldr	r1, [r3]
	bl	ms_sensors_reset
	cmp	r0, #0
	bne	.L1
	mov	r1, sp
	mov	r0, r4
	bl	ms_sensors_read_serial
	cmp	r0, #0
	bne	.L1
	mov	r0, r4
	ldr	r2, [sp]
	ldr	r1, .L13+44
	bl	dev_info
	mov	r1, r5
	mov	r0, r4
	bl	devm_iio_device_register
	b	.L1
.L11:
	ldr	r3, .L13+48
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L13+12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	ldr	r1, .L13+52
	bl	dev_err
	ldr	r3, .L13+56
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.word	I2C_FUNC_SMBUS_WRITE_BYTE
	.word	I2C_FUNC_SMBUS_READ_I2C_BLOCK
	.word	.LC2
	.word	MS8607
	.word	INDIO_DIRECT_MODE
	.word	htu21_info
	.word	ms8607_channels
	.word	htu21_channels
	.word	HTU21_RESET
	.word	15000
	.word	.LC1
	.word	ENOMEM
	.word	.LC0
	.word	EOPNOTSUPP
	.size	htu21_probe, .-htu21_probe
	.comm	ms8607_channels,4,4
	.comm	htu21_info,4,4
	.comm	htu21_channels,4,4
	.comm	MS8607,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,4
	.comm	I2C_FUNC_SMBUS_WRITE_BYTE,4,4
	.comm	I2C_FUNC_SMBUS_READ_I2C_BLOCK,4,4
	.comm	HTU21_RESET,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
