	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm75_detect
_lm75_detect:                           ## @lm75_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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r15d
	testb	$-32, %r15b
	je	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r12d
	movq	_LM75A_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	cmpl	%r13d, %r12d
	jne	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	$255, %eax
	jne	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	$255, %eax
	jne	LBB0_1
## %bb.6:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	$255, %eax
	jne	LBB0_1
## %bb.7:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ecx
LBB0_16:
	movl	%r13d, %eax
	orl	%ecx, %eax
	je	LBB0_1
## %bb.17:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	$-32, %r12d
	jmp	LBB0_18
LBB0_8:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	%r13d, %eax
	jne	LBB0_1
## %bb.9:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	%r13d, %eax
	jne	LBB0_1
## %bb.10:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	%r13d, %eax
	jne	LBB0_1
## %bb.11:
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	%r13d, %eax
	jne	LBB0_1
## %bb.12:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_i2c_smbus_read_byte_data
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	jne	LBB0_1
## %bb.13:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_1
## %bb.14:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_i2c_smbus_read_byte_data
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_1
## %bb.15:
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_i2c_smbus_read_byte_data
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	jne	LBB0_1
	jmp	LBB0_16
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	addl	$40, %r12d
	cmpl	$209, %r12d
	jae	LBB0_24
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	leal	41(%r12), %esi
	movq	%rbx, %rdi
	callq	_i2c_smbus_read_byte_data
	cmpl	%r15d, %eax
	jne	LBB0_1
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leal	42(%r12), %esi
	movq	%rbx, %rdi
	callq	_i2c_smbus_read_byte_data
	cmpl	%r13d, %eax
	jne	LBB0_1
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	leal	43(%r12), %esi
	movq	%rbx, %rdi
	callq	_i2c_smbus_read_byte_data
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_1
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	leal	47(%r12), %esi
	movq	%rbx, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	_LM75A_ID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_23
	jmp	LBB0_1
LBB0_24:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -52(%rbp)                 ## 4-byte Folded Reload
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strlcpy
	xorl	%eax, %eax
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_LM75A_ID,4,2                   ## @LM75A_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lm75a"

L_.str.1:                               ## @.str.1
	.asciz	"lm75"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm75_detect
_lm75_detect:                           ; @lm75_detect
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
	ldr	x0, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #1
	bl	_i2c_smbus_read_byte_data
	tst	w0, #0xe0
	b.eq	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x21, x0
	mov	x0, x20
	mov	w1, #7
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
Lloh9:
	adrp	x26, _LM75A_ID@GOTPAGE
Lloh10:
	ldr	x26, [x26, _LM75A_ID@GOTPAGEOFF]
	ldr	w25, [x26]
	cmp	w0, w25
	b.ne	LBB0_11
; %bb.5:
	mov	x0, x20
	mov	w1, #4
	bl	_i2c_smbus_read_byte_data
	cmp	w0, #255
	b.ne	LBB0_2
; %bb.6:
	mov	x0, x20
	mov	w1, #5
	bl	_i2c_smbus_read_byte_data
	cmp	w0, #255
	b.ne	LBB0_2
; %bb.7:
	mov	x0, x20
	mov	w1, #6
	bl	_i2c_smbus_read_byte_data
	cmp	w0, #255
	b.ne	LBB0_2
; %bb.8:
	mov	x0, x20
	mov	w1, #2
	bl	_i2c_smbus_read_byte_data
	mov	x23, x0
	mov	x0, x20
	mov	w1, #3
	bl	_i2c_smbus_read_byte_data
	mov	x24, x0
LBB0_9:
	orr	w8, w23, w24
	cbz	w8, LBB0_2
; %bb.10:
	mov	w27, #-32
	b	LBB0_20
LBB0_11:
	mov	x0, x20
	mov	w1, #2
	bl	_i2c_smbus_read_byte_data
	mov	x23, x0
	mov	x0, x20
	mov	w1, #4
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w23
	b.ne	LBB0_2
; %bb.12:
	mov	x0, x20
	mov	w1, #5
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w23
	b.ne	LBB0_2
; %bb.13:
	mov	x0, x20
	mov	w1, #6
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w23
	b.ne	LBB0_2
; %bb.14:
	mov	x0, x20
	mov	w1, #7
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w23
	b.ne	LBB0_2
; %bb.15:
	mov	x0, x20
	mov	w1, #3
	bl	_i2c_smbus_read_byte_data
	mov	x24, x0
	mov	x0, x20
	mov	w1, #4
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w24
	b.ne	LBB0_2
; %bb.16:
	mov	x0, x20
	mov	w1, #5
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w24
	b.ne	LBB0_2
; %bb.17:
	mov	x0, x20
	mov	w1, #6
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w24
	b.ne	LBB0_2
; %bb.18:
	mov	x0, x20
	mov	w1, #7
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w24
	b.ne	LBB0_2
	b	LBB0_9
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	w27, w27, #40
	cmp	w27, #209
	b.hs	LBB0_25
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w27, #41
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w21
	b.ne	LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	add	w1, w27, #42
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w23
	b.ne	LBB0_2
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	add	w1, w27, #43
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	cmp	w0, w24
	b.ne	LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w22, w25
	b.ne	LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	add	w1, w27, #47
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_19
	b	LBB0_2
LBB0_25:
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh13:
	adrp	x9, l_.str@PAGE
Lloh14:
	add	x9, x9, l_.str@PAGEOFF
	ldr	w0, [x19]
	cmp	w22, w25
	csel	x1, x9, x8, eq
Lloh15:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_strlcpy
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_LM75A_ID,4,2                   ; @LM75A_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lm75a"

l_.str.1:                               ; @.str.1
	.asciz	"lm75"

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