	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm90_detect
_lm90_detect:                           ## @lm90_detect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movl	(%rdi), %r15d
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testl	%r13d, %r13d
	movq	_lm90@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovel	%eax, %r13d
	testl	%r13d, %r13d
	js	LBB0_3
## %bb.48:
	cmpl	%eax, %r13d
	jne	LBB0_50
LBB0_49:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_64
LBB0_3:
	movq	_LM90_REG_R_MAN_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	movq	_LM90_REG_R_CHIP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_1
## %bb.5:
	movl	%eax, %r13d
	movq	_LM90_REG_R_CONFIG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_1
## %bb.6:
	movq	_LM90_REG_R_CONVRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_1
## %bb.7:
	movl	%r15d, %edx
	andl	$-2, %edx
	cmpl	$76, %edx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	jne	LBB0_21
## %bb.8:
	cmpl	$1, %r8d
	jne	LBB0_21
## %bb.9:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_LM90_REG_R_CONFIG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_1
## %bb.10:
	testb	$42, -44(%rbp)                  ## 1-byte Folded Reload
	movq	_lm90@GOTPCREL(%rip), %rcx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r13d, %r12d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_66
## %bb.11:
	testb	$-8, %al
	jne	LBB0_66
## %bb.12:
	cmpl	$9, %edx
	ja	LBB0_66
## %bb.13:
	movl	%r12d, %eax
	andl	$240, %eax
	cmpl	$76, %r15d
	jne	LBB0_16
## %bb.14:
	cmpl	$32, %eax
	jne	LBB0_16
## %bb.15:
	movl	(%rcx), %r13d
	testl	%r13d, %r13d
	jg	LBB0_47
	jmp	LBB0_66
LBB0_21:
	cmpl	$76, %edx
	movq	_lm90@GOTPCREL(%rip), %rcx
	jne	LBB0_31
## %bb.22:
	cmpl	$65, %r8d
	jne	LBB0_31
## %bb.23:
	movl	%r13d, %r12d
	movl	%r13d, %edx
	andl	$240, %edx
	cmpl	$64, %edx
	jne	LBB0_27
## %bb.24:
	testb	$63, -44(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_27
## %bb.25:
	cmpl	$10, %eax
	ja	LBB0_27
## %bb.26:
	movq	_adm1032@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_31:
	cmpl	$77, %r8d
	movl	%r13d, %r12d
	jne	LBB0_66
## %bb.32:
	cmpl	$77, %r12d
	jne	LBB0_37
## %bb.33:
	cmpl	$76, %edx
	jne	LBB0_37
## %bb.34:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	andl	$31, %edx
	cmpl	$13, %edx
	jne	LBB0_66
## %bb.35:
	cmpl	$9, %eax
	ja	LBB0_66
## %bb.36:
	movq	_max6657@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_27:
	cmpl	$81, %r12d
	jne	LBB0_66
## %bb.28:
	testb	$27, -44(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_66
## %bb.29:
	cmpl	$11, %eax
	jae	LBB0_66
## %bb.30:
	movq	_adt7461@GOTPCREL(%rip), %rax
LBB0_45:
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	jle	LBB0_66
LBB0_47:
	movl	(%rcx), %eax
	cmpl	%eax, %r13d
	je	LBB0_49
LBB0_50:
	movq	_adm1032@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_53
## %bb.51:
	movq	_I2C_FUNC_SMBUS_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_i2c_check_functionality
	leaq	L_.str.5(%rip), %rsi
	testq	%rax, %rax
	je	LBB0_64
## %bb.52:
	movq	_I2C_CLIENT_PEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	jmp	LBB0_64
LBB0_53:
	movq	_lm99@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_55
## %bb.54:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_64
LBB0_55:
	movq	_lm86@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_57
## %bb.56:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_64
LBB0_57:
	movq	_max6657@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_59
## %bb.58:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_64
LBB0_59:
	movq	_max6680@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_61
## %bb.60:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_64
LBB0_61:
	movq	_adt7461@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_63
## %bb.62:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_64
LBB0_63:
	movq	_max6646@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
LBB0_64:
	movl	(%r14), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strlcpy
	xorl	%eax, %eax
	jmp	LBB0_65
LBB0_37:
	cmpl	$89, %r12d
	je	LBB0_42
## %bb.38:
	cmpl	$1, %r12d
	jne	LBB0_66
## %bb.39:
	testb	$3, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_66
## %bb.40:
	cmpl	$7, %eax
	ja	LBB0_66
## %bb.41:
	movq	_max6680@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_16:
	cmpl	$48, %eax
	jne	LBB0_18
## %bb.17:
	movq	_lm99@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	%rbx, %rdi
	callq	_i2c_adapter_id
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_info
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	_lm90@GOTPCREL(%rip), %rcx
	testl	%r13d, %r13d
	jg	LBB0_47
	jmp	LBB0_66
LBB0_42:
	testb	$63, -44(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_66
## %bb.43:
	cmpl	$7, %eax
	ja	LBB0_66
## %bb.44:
	movq	_max6646@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_18:
	cmpl	$76, %r15d
	jne	LBB0_66
## %bb.19:
	cmpl	$16, %eax
	jne	LBB0_66
## %bb.20:
	movq	_lm86@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_66:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%r8d, %ecx
	movl	%r12d, %r8d
	callq	_dev_dbg
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_65:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_lm90,4,2                       ## @lm90
	.comm	_LM90_REG_R_MAN_ID,4,2          ## @LM90_REG_R_MAN_ID
	.comm	_LM90_REG_R_CHIP_ID,4,2         ## @LM90_REG_R_CHIP_ID
	.comm	_LM90_REG_R_CONFIG1,4,2         ## @LM90_REG_R_CONFIG1
	.comm	_LM90_REG_R_CONVRATE,4,2        ## @LM90_REG_R_CONVRATE
	.comm	_LM90_REG_R_CONFIG2,4,2         ## @LM90_REG_R_CONFIG2
	.comm	_lm99,4,2                       ## @lm99
L_.str.1:                               ## @.str.1
	.asciz	"Assuming LM99 chip at 0x%02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"If it is an LM89, pass force_lm86=%d,0x%02x when loading the lm90 driver\n"

	.comm	_lm86,4,2                       ## @lm86
	.comm	_adm1032,4,2                    ## @adm1032
	.comm	_adt7461,4,2                    ## @adt7461
	.comm	_max6657,4,2                    ## @max6657
	.comm	_max6680,4,2                    ## @max6680
	.comm	_max6646,4,2                    ## @max6646
L_.str.3:                               ## @.str.3
	.asciz	"Unsupported chip at 0x%02x (man_id=0x%02X, chip_id=0x%02X)\n"

L_.str.4:                               ## @.str.4
	.asciz	"lm90"

L_.str.5:                               ## @.str.5
	.asciz	"adm1032"

	.comm	_I2C_FUNC_SMBUS_BYTE,4,2        ## @I2C_FUNC_SMBUS_BYTE
	.comm	_I2C_CLIENT_PEC,4,2             ## @I2C_CLIENT_PEC
L_.str.6:                               ## @.str.6
	.asciz	"lm99"

L_.str.7:                               ## @.str.7
	.asciz	"lm86"

L_.str.8:                               ## @.str.8
	.asciz	"max6657"

L_.str.9:                               ## @.str.9
	.asciz	"max6680"

L_.str.10:                              ## @.str.10
	.asciz	"adt7461"

L_.str.11:                              ## @.str.11
	.asciz	"max6646"

	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
	.no_dead_strip	_lm90_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm90_detect
_lm90_detect:                           ; @lm90_detect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x22, x1
	mov	x26, x0
	ldr	x20, [x0, #8]
	ldr	w21, [x0]
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_check_functionality
	cbz	x0, LBB0_65
; %bb.1:
Lloh3:
	adrp	x27, _lm90@GOTPAGE
Lloh4:
	ldr	x27, [x27, _lm90@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w22, #0
	csel	w24, w8, w22, eq
	tbnz	w24, #31, LBB0_4
; %bb.2:
	cmp	w24, w8
	b.ne	LBB0_35
LBB0_3:
Lloh5:
	adrp	x1, l_.str.4@PAGE
Lloh6:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_50
LBB0_4:
Lloh7:
	adrp	x8, _LM90_REG_R_MAN_ID@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LM90_REG_R_MAN_ID@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_65
; %bb.5:
	mov	x22, x0
Lloh10:
	adrp	x8, _LM90_REG_R_CHIP_ID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LM90_REG_R_CHIP_ID@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_65
; %bb.6:
	mov	x23, x0
Lloh13:
	adrp	x8, _LM90_REG_R_CONFIG1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LM90_REG_R_CONFIG1@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_65
; %bb.7:
	mov	x25, x0
Lloh16:
	adrp	x8, _LM90_REG_R_CONVRATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LM90_REG_R_CONVRATE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_65
; %bb.8:
	mov	x24, x0
	and	w8, w21, #0xfffffffe
	cmp	w8, #76
	b.ne	LBB0_17
; %bb.9:
	cmp	w22, #1
	b.ne	LBB0_17
; %bb.10:
Lloh19:
	adrp	x8, _LM90_REG_R_CONFIG2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LM90_REG_R_CONFIG2@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_65
; %bb.11:
	mov	w8, #42
	tst	w25, w8
	b.ne	LBB0_64
; %bb.12:
	tst	w0, #0xf8
	b.ne	LBB0_64
; %bb.13:
	cmp	w24, #9
	b.hi	LBB0_64
; %bb.14:
	and	w8, w23, #0xf0
	cmp	w21, #76
	b.ne	LBB0_56
; %bb.15:
	cmp	w8, #32
	b.ne	LBB0_56
; %bb.16:
	ldr	w24, [x27]
	cmp	w24, #1
	b.ge	LBB0_34
	b	LBB0_64
LBB0_17:
	cmp	w8, #76
	b.ne	LBB0_23
; %bb.18:
	cmp	w22, #65
	b.ne	LBB0_23
; %bb.19:
	and	w8, w23, #0xf0
	cmp	w8, #64
	b.ne	LBB0_29
; %bb.20:
	tst	w25, #0x3f
	b.ne	LBB0_29
; %bb.21:
	cmp	w24, #10
	b.hi	LBB0_29
; %bb.22:
Lloh22:
	adrp	x8, _adm1032@GOTPAGE
Lloh23:
	ldr	x8, [x8, _adm1032@GOTPAGEOFF]
	b	LBB0_33
LBB0_23:
	cmp	w22, #77
	b.ne	LBB0_64
; %bb.24:
	cmp	w23, #77
	b.ne	LBB0_51
; %bb.25:
	cmp	w8, #76
	b.ne	LBB0_51
; %bb.26:
	and	w8, w25, #0x1f
	cmp	w8, #13
	b.ne	LBB0_64
; %bb.27:
	cmp	w24, #9
	b.hi	LBB0_64
; %bb.28:
Lloh24:
	adrp	x8, _max6657@GOTPAGE
Lloh25:
	ldr	x8, [x8, _max6657@GOTPAGEOFF]
	b	LBB0_33
LBB0_29:
	cmp	w23, #81
	b.ne	LBB0_64
; %bb.30:
	mov	w8, #27
	tst	w25, w8
	b.ne	LBB0_64
; %bb.31:
	cmp	w24, #11
	b.hs	LBB0_64
; %bb.32:
Lloh26:
	adrp	x8, _adt7461@GOTPAGE
Lloh27:
	ldr	x8, [x8, _adt7461@GOTPAGEOFF]
LBB0_33:
	ldr	w24, [x8]
	cmp	w24, #1
	b.lt	LBB0_64
LBB0_34:
	ldr	w8, [x27]
	cmp	w24, w8
	b.eq	LBB0_3
LBB0_35:
Lloh28:
	adrp	x8, _adm1032@GOTPAGE
Lloh29:
	ldr	x8, [x8, _adm1032@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_39
; %bb.36:
Lloh31:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_check_functionality
	cbz	x0, LBB0_38
; %bb.37:
Lloh34:
	adrp	x8, _I2C_CLIENT_PEC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _I2C_CLIENT_PEC@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_38:
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_50
LBB0_39:
Lloh39:
	adrp	x8, _lm99@GOTPAGE
Lloh40:
	ldr	x8, [x8, _lm99@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_41
; %bb.40:
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_50
LBB0_41:
Lloh44:
	adrp	x8, _lm86@GOTPAGE
Lloh45:
	ldr	x8, [x8, _lm86@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_43
; %bb.42:
Lloh47:
	adrp	x1, l_.str.7@PAGE
Lloh48:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_50
LBB0_43:
Lloh49:
	adrp	x8, _max6657@GOTPAGE
Lloh50:
	ldr	x8, [x8, _max6657@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_45
; %bb.44:
Lloh52:
	adrp	x1, l_.str.8@PAGE
Lloh53:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_50
LBB0_45:
Lloh54:
	adrp	x8, _max6680@GOTPAGE
Lloh55:
	ldr	x8, [x8, _max6680@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_47
; %bb.46:
Lloh57:
	adrp	x1, l_.str.9@PAGE
Lloh58:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_50
LBB0_47:
Lloh59:
	adrp	x8, _adt7461@GOTPAGE
Lloh60:
	ldr	x8, [x8, _adt7461@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_49
; %bb.48:
Lloh62:
	adrp	x1, l_.str.10@PAGE
Lloh63:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_50
LBB0_49:
Lloh64:
	adrp	x8, _max6646@GOTPAGE
Lloh65:
	ldr	x8, [x8, _max6646@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
Lloh67:
	adrp	x9, l_.str@PAGE
Lloh68:
	add	x9, x9, l_.str@PAGEOFF
Lloh69:
	adrp	x10, l_.str.11@PAGE
Lloh70:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	w24, w8
	csel	x1, x10, x9, eq
LBB0_50:
	ldr	w0, [x19]
Lloh71:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh73:
	ldr	w2, [x8]
	bl	_strlcpy
	mov	w0, #0
	b	LBB0_66
LBB0_51:
	cmp	w23, #89
	b.eq	LBB0_58
; %bb.52:
	cmp	w23, #1
	b.ne	LBB0_64
; %bb.53:
	tst	w25, #0x3
	b.ne	LBB0_64
; %bb.54:
	cmp	w24, #7
	b.hi	LBB0_64
; %bb.55:
Lloh74:
	adrp	x8, _max6680@GOTPAGE
Lloh75:
	ldr	x8, [x8, _max6680@GOTPAGEOFF]
	b	LBB0_33
LBB0_56:
	cmp	w8, #48
	b.ne	LBB0_61
; %bb.57:
Lloh76:
	adrp	x8, _lm99@GOTPAGE
Lloh77:
	ldr	x8, [x8, _lm99@GOTPAGEOFF]
Lloh78:
	ldr	w24, [x8]
Lloh79:
	adrp	x1, l_.str.1@PAGE
Lloh80:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_info
	mov	x0, x20
	bl	_i2c_adapter_id
	mov	x2, x0
	str	x21, [sp]
Lloh81:
	adrp	x1, l_.str.2@PAGE
Lloh82:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	cmp	w24, #1
	b.ge	LBB0_34
	b	LBB0_64
LBB0_58:
	tst	w25, #0x3f
	b.ne	LBB0_64
; %bb.59:
	cmp	w24, #7
	b.hi	LBB0_64
; %bb.60:
Lloh83:
	adrp	x8, _max6646@GOTPAGE
Lloh84:
	ldr	x8, [x8, _max6646@GOTPAGEOFF]
	b	LBB0_33
LBB0_61:
	cmp	w21, #76
	b.ne	LBB0_64
; %bb.62:
	cmp	w8, #16
	b.ne	LBB0_64
; %bb.63:
Lloh85:
	adrp	x8, _lm86@GOTPAGE
Lloh86:
	ldr	x8, [x8, _lm86@GOTPAGEOFF]
	b	LBB0_33
LBB0_64:
Lloh87:
	adrp	x1, l_.str.3@PAGE
Lloh88:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_dev_dbg
LBB0_65:
Lloh89:
	adrp	x8, _ENODEV@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_66:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_lm90,4,2                       ; @lm90
	.comm	_LM90_REG_R_MAN_ID,4,2          ; @LM90_REG_R_MAN_ID
	.comm	_LM90_REG_R_CHIP_ID,4,2         ; @LM90_REG_R_CHIP_ID
	.comm	_LM90_REG_R_CONFIG1,4,2         ; @LM90_REG_R_CONFIG1
	.comm	_LM90_REG_R_CONVRATE,4,2        ; @LM90_REG_R_CONVRATE
	.comm	_LM90_REG_R_CONFIG2,4,2         ; @LM90_REG_R_CONFIG2
	.comm	_lm99,4,2                       ; @lm99
l_.str.1:                               ; @.str.1
	.asciz	"Assuming LM99 chip at 0x%02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"If it is an LM89, pass force_lm86=%d,0x%02x when loading the lm90 driver\n"

	.comm	_lm86,4,2                       ; @lm86
	.comm	_adm1032,4,2                    ; @adm1032
	.comm	_adt7461,4,2                    ; @adt7461
	.comm	_max6657,4,2                    ; @max6657
	.comm	_max6680,4,2                    ; @max6680
	.comm	_max6646,4,2                    ; @max6646
l_.str.3:                               ; @.str.3
	.asciz	"Unsupported chip at 0x%02x (man_id=0x%02X, chip_id=0x%02X)\n"

l_.str.4:                               ; @.str.4
	.asciz	"lm90"

l_.str.5:                               ; @.str.5
	.asciz	"adm1032"

	.comm	_I2C_FUNC_SMBUS_BYTE,4,2        ; @I2C_FUNC_SMBUS_BYTE
	.comm	_I2C_CLIENT_PEC,4,2             ; @I2C_CLIENT_PEC
l_.str.6:                               ; @.str.6
	.asciz	"lm99"

l_.str.7:                               ; @.str.7
	.asciz	"lm86"

l_.str.8:                               ; @.str.8
	.asciz	"max6657"

l_.str.9:                               ; @.str.9
	.asciz	"max6680"

l_.str.10:                              ; @.str.10
	.asciz	"adt7461"

l_.str.11:                              ; @.str.11
	.asciz	"max6646"

	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
	.no_dead_strip	_lm90_detect
.subsections_via_symbols
