	.file	"extr_adt7411.c_adt7411_detect.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Wrong manufacturer ID. Got %d, expected %d\n"
	.align 8
.LC1:
	.string	"Wrong device ID. Got %d, expected %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"adt7411"
	.text
	.p2align 4
	.type	adt7411_detect, @function
adt7411_detect:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR I2C_FUNC_SMBUS_BYTE_DATA[rip]
	call	i2c_check_functionality@PLT
	test	eax, eax
	jne	.L2
.L11:
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR ADT7411_REG_MANUFACTURER_ID[rip]
	mov	rdi, rbp
	call	i2c_smbus_read_byte_data@PLT
	mov	ecx, DWORD PTR ADT7411_MANUFACTURER_ID[rip]
	mov	edx, eax
	test	eax, eax
	js	.L5
	cmp	ecx, eax
	je	.L6
.L5:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_dbg@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR ADT7411_REG_DEVICE_ID[rip]
	mov	rdi, rbp
	call	i2c_smbus_read_byte_data@PLT
	mov	ecx, DWORD PTR ADT7411_DEVICE_ID[rip]
	mov	edx, eax
	test	eax, eax
	js	.L8
	cmp	ecx, eax
	je	.L9
.L8:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	dev_dbg@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR I2C_NAME_SIZE[rip]
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	strlcpy@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	adt7411_detect, .-adt7411_detect
	.comm	I2C_NAME_SIZE,4,4
	.comm	I2C_FUNC_SMBUS_BYTE_DATA,4,4
	.comm	ENODEV,4,4
	.comm	ADT7411_REG_MANUFACTURER_ID,4,4
	.comm	ADT7411_REG_DEVICE_ID,4,4
	.comm	ADT7411_MANUFACTURER_ID,4,4
	.comm	ADT7411_DEVICE_ID,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_adt7411.c_adt7411_detect.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Wrong manufacturer ID. Got %d, expected %d\012\000"
	.align	2
.LC1:
	.ascii	"Wrong device ID. Got %d, expected %d\012\000"
	.align	2
.LC2:
	.ascii	"adt7411\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adt7411_detect, %function
adt7411_detect:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r0, #4]
	ldr	r1, [r2]
	bl	i2c_check_functionality
	cmp	r0, #0
	bne	.L2
.L11:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L13+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	i2c_smbus_read_byte_data
	ldr	r3, .L13+12
	subs	r2, r0, #0
	ldr	r3, [r3]
	blt	.L5
	cmp	r3, r2
	beq	.L6
.L5:
	mov	r0, r4
	ldr	r1, .L13+16
	bl	dev_dbg
	b	.L11
.L6:
	ldr	r3, .L13+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	i2c_smbus_read_byte_data
	ldr	r3, .L13+24
	subs	r2, r0, #0
	ldr	r3, [r3]
	blt	.L8
	cmp	r3, r2
	beq	.L9
.L8:
	mov	r0, r4
	ldr	r1, .L13+28
	bl	dev_dbg
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L13+32
	ldr	r0, [r5]
	ldr	r2, [r3]
	ldr	r1, .L13+36
	bl	strlcpy
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	I2C_FUNC_SMBUS_BYTE_DATA
	.word	ENODEV
	.word	ADT7411_REG_MANUFACTURER_ID
	.word	ADT7411_MANUFACTURER_ID
	.word	.LC0
	.word	ADT7411_REG_DEVICE_ID
	.word	ADT7411_DEVICE_ID
	.word	.LC1
	.word	I2C_NAME_SIZE
	.word	.LC2
	.size	adt7411_detect, .-adt7411_detect
	.comm	I2C_NAME_SIZE,4,4
	.comm	I2C_FUNC_SMBUS_BYTE_DATA,4,4
	.comm	ENODEV,4,4
	.comm	ADT7411_REG_MANUFACTURER_ID,4,4
	.comm	ADT7411_REG_DEVICE_ID,4,4
	.comm	ADT7411_MANUFACTURER_ID,4,4
	.comm	ADT7411_DEVICE_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
