	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7411_read_temp_alarm
_adt7411_read_temp_alarm:               ## @adt7411_read_temp_alarm
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_dev_get_drvdata
	movq	(%rax), %rdi
	movq	_ADT7411_REG_STAT_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	cmpl	$130, %ebx
	je	LBB0_11
## %bb.2:
	cmpl	$129, %ebx
	je	LBB0_7
## %bb.3:
	cmpl	$128, %ebx
	jne	LBB0_10
## %bb.4:
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.6:
	movq	_ADT7411_STAT_1_INT_TEMP_LOW@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_ADT7411_STAT_1_EXT_TEMP_FAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_7:
	testl	%r15d, %r15d
	jne	LBB0_8
## %bb.9:
	movq	_ADT7411_STAT_1_INT_TEMP_HIGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_5:
	movq	_ADT7411_STAT_1_EXT_TEMP_LOW@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_8:
	movq	_ADT7411_STAT_1_EXT_TEMP_HIGH_AIN1@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	testl	%eax, %ecx
	setne	%dl
	movq	%rdx, (%r14)
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADT7411_REG_STAT_1,4,2         ## @ADT7411_REG_STAT_1
	.comm	_ADT7411_STAT_1_EXT_TEMP_LOW,4,2 ## @ADT7411_STAT_1_EXT_TEMP_LOW
	.comm	_ADT7411_STAT_1_INT_TEMP_LOW,4,2 ## @ADT7411_STAT_1_INT_TEMP_LOW
	.comm	_ADT7411_STAT_1_EXT_TEMP_HIGH_AIN1,4,2 ## @ADT7411_STAT_1_EXT_TEMP_HIGH_AIN1
	.comm	_ADT7411_STAT_1_INT_TEMP_HIGH,4,2 ## @ADT7411_STAT_1_INT_TEMP_HIGH
	.comm	_ADT7411_STAT_1_EXT_TEMP_FAULT,4,2 ## @ADT7411_STAT_1_EXT_TEMP_FAULT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_adt7411_read_temp_alarm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7411_read_temp_alarm
_adt7411_read_temp_alarm:               ; @adt7411_read_temp_alarm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_dev_get_drvdata
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _ADT7411_REG_STAT_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADT7411_REG_STAT_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_10
; %bb.1:
	cmp	w21, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w21, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w21, #128
	b.ne	LBB0_9
; %bb.4:
Lloh3:
	adrp	x8, _ADT7411_STAT_1_EXT_TEMP_LOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADT7411_STAT_1_EXT_TEMP_LOW@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ADT7411_STAT_1_INT_TEMP_LOW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ADT7411_STAT_1_INT_TEMP_LOW@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x8, _ADT7411_STAT_1_EXT_TEMP_FAULT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ADT7411_STAT_1_EXT_TEMP_FAULT@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _ADT7411_STAT_1_EXT_TEMP_HIGH_AIN1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADT7411_STAT_1_EXT_TEMP_HIGH_AIN1@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ADT7411_STAT_1_INT_TEMP_HIGH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ADT7411_STAT_1_INT_TEMP_HIGH@GOTPAGEOFF]
LBB0_7:
	cmp	w20, #0
	csel	x8, x9, x8, eq
LBB0_8:
	ldr	w8, [x8]
	tst	w8, w0
	mov	w0, #0
	cset	w8, ne
	str	x8, [x19]
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ADT7411_REG_STAT_1,4,2         ; @ADT7411_REG_STAT_1
	.comm	_ADT7411_STAT_1_EXT_TEMP_LOW,4,2 ; @ADT7411_STAT_1_EXT_TEMP_LOW
	.comm	_ADT7411_STAT_1_INT_TEMP_LOW,4,2 ; @ADT7411_STAT_1_INT_TEMP_LOW
	.comm	_ADT7411_STAT_1_EXT_TEMP_HIGH_AIN1,4,2 ; @ADT7411_STAT_1_EXT_TEMP_HIGH_AIN1
	.comm	_ADT7411_STAT_1_INT_TEMP_HIGH,4,2 ; @ADT7411_STAT_1_INT_TEMP_HIGH
	.comm	_ADT7411_STAT_1_EXT_TEMP_FAULT,4,2 ; @ADT7411_STAT_1_EXT_TEMP_FAULT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_adt7411_read_temp_alarm
.subsections_via_symbols
