	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm75_update_interval
_lm75_update_interval:                  ## @lm75_update_interval
	.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	%rsi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	8(%rax), %rax
	movq	(%rax), %rsi
	movl	16(%rax), %edx
	movq	%rbx, %rdi
	callq	_find_closest
	movq	%rax, %r14
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_2
## %bb.7:
	movl	20(%r15), %edi
	movq	_PCT2075_REG_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	1(%r14), %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_8
LBB0_5:
	movl	24(%r15), %edi
	movq	_LM75_REG_CONF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movl	$-193, %eax
	andl	-28(%rbp), %eax
	movl	%r14d, %ecx
	shll	$6, %ecx
	movl	$192, %edx
	subl	%ecx, %edx
	orl	%eax, %edx
	movl	%edx, -28(%rbp)
	movl	24(%r15), %edi
	movl	(%rbx), %esi
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_9
LBB0_8:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movl	%eax, 16(%r15)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movq	_lm75_sample_set_masks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %esi
	movq	_LM75_SAMPLE_CLEAR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_lm75_write_config
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	8(%r15), %rax
	movq	(%rax), %rcx
	movl	(%rcx,%r14,4), %ecx
	movl	%ecx, 16(%r15)
	movq	8(%rax), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.4:
	movl	(%rcx,%r14,4), %ecx
	movl	%ecx, 28(%r15)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lm75_sample_set_masks,8,3      ## @lm75_sample_set_masks
	.comm	_LM75_SAMPLE_CLEAR_MASK,4,2     ## @LM75_SAMPLE_CLEAR_MASK
	.comm	_LM75_REG_CONF,4,2              ## @LM75_REG_CONF
	.comm	_PCT2075_REG_IDLE,4,2           ## @PCT2075_REG_IDLE
	.no_dead_strip	_lm75_update_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm75_update_interval
_lm75_update_interval:                  ; @lm75_update_interval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x1, [x8]
	ldr	w2, [x8, #16]
	mov	x0, x20
	bl	_find_closest
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	w0, [x19, #20]
Lloh0:
	adrp	x8, _PCT2075_REG_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCT2075_REG_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	w2, w20, #1
	bl	_i2c_smbus_write_byte_data
	cbnz	w0, LBB0_10
	b	LBB0_6
LBB0_3:
	ldr	w0, [x19, #24]
Lloh3:
	adrp	x21, _LM75_REG_CONF@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LM75_REG_CONF@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_10
; %bb.4:
	ldr	w8, [sp, #12]
	and	w8, w8, #0xffffff3f
	mov	w9, #192
	sub	w9, w9, w20, lsl #6
	orr	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w0, [x19, #24]
	ldr	w1, [x21]
	bl	_regmap_write
	tbnz	w0, #31, LBB0_10
; %bb.5:
	mov	w0, #0
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, x20, lsl #2]
	str	w8, [x19, #16]
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x8, _lm75_sample_set_masks@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lm75_sample_set_masks@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w1, [x8, x20, lsl #2]
Lloh8:
	adrp	x8, _LM75_SAMPLE_CLEAR_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LM75_SAMPLE_CLEAR_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_lm75_write_config
	cbnz	w0, LBB0_10
; %bb.8:
	ldr	x8, [x19, #8]
	ldp	x9, x8, [x8]
	ldr	w9, [x9, x20, lsl #2]
	str	w9, [x19, #16]
	mov	w0, #0
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w8, [x8, x20, lsl #2]
	str	w8, [x19, #28]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_lm75_sample_set_masks,8,3      ; @lm75_sample_set_masks
	.comm	_LM75_SAMPLE_CLEAR_MASK,4,2     ; @LM75_SAMPLE_CLEAR_MASK
	.comm	_LM75_REG_CONF,4,2              ; @LM75_REG_CONF
	.comm	_PCT2075_REG_IDLE,4,2           ; @PCT2075_REG_IDLE
	.no_dead_strip	_lm75_update_interval
.subsections_via_symbols
