	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_pwm_auto_point_temp_hyst
_store_pwm_auto_point_temp_hyst:        ## @store_pwm_auto_point_temp_hyst
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_to_sensor_dev_attr_2
	movslq	(%rax), %r13
	movq	%rbx, %rdi
	callq	_to_sensor_dev_attr_2
	movslq	4(%rax), %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_simple_strtol
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movslq	%eax, %r14
	leaq	16(%r12), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_F71882FG_REG_POINT_TEMP
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	(%r12), %rcx
	movq	(%rcx,%r13,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	leal	-15(%rax), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_SENSORS_LIMIT
	movq	(%r12), %rcx
	movq	(%rcx,%r13,8), %rcx
	movl	(%rcx,%rbx,4), %ebx
	subq	%rax, %rbx
	movl	%r13d, %r14d
	shrl	$31, %r14d
	addl	%r13d, %r14d
	sarl	%r14d
	movl	%r14d, %edi
	callq	_F71882FG_REG_FAN_HYST
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	testb	$1, %r13b
	jne	LBB0_2
## %bb.1:
	andl	$240, %eax
	jmp	LBB0_3
LBB0_2:
	andl	$15, %eax
	shlq	$4, %rbx
LBB0_3:
	orq	%rax, %rbx
	movl	%r14d, %edi
	callq	_F71882FG_REG_FAN_HYST
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_f71882fg_write8
	movq	8(%r12), %rax
	movslq	%r14d, %rcx
	movl	%ebx, (%rax,%rcx,4)
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_store_pwm_auto_point_temp_hyst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_pwm_auto_point_temp_hyst
_store_pwm_auto_point_temp_hyst:        ; @store_pwm_auto_point_temp_hyst
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	bl	_dev_get_drvdata
	mov	x20, x0
	mov	x0, x23
	bl	_to_sensor_dev_attr_2
	ldrsw	x21, [x0]
	mov	x0, x23
	bl	_to_sensor_dev_attr_2
	ldrsw	x23, [x0, #4]
	mov	x0, x22
	mov	x1, #0
	mov	w2, #10
	bl	_simple_strtol
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	sxtw	x24, w8
	add	x22, x20, #16
	mov	x0, x22
	bl	_mutex_lock
	mov	x0, x21
	mov	x1, x23
	bl	_F71882FG_REG_POINT_TEMP
	mov	x1, x0
	mov	x0, x20
	bl	_f71882fg_read8
	mov	x2, x0
	ldr	x8, [x20]
	lsl	x25, x21, #3
	ldr	x8, [x8, x25]
	lsl	x23, x23, #2
	str	w2, [x8, x23]
	sub	w1, w2, #15
	mov	x0, x24
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_SENSORS_LIMIT
	ldr	x8, [x20]
	ldr	x8, [x8, x25]
	ldr	w8, [x8, x23]
	sub	x24, x8, x0
	cmp	w21, #0
	cinc	w8, w21, lt
	asr	w23, w8, #1
	mov	x0, x23
	bl	_F71882FG_REG_FAN_HYST
	mov	x1, x0
	mov	x0, x20
	bl	_f71882fg_read8
	and	x8, x0, #0xf0
	orr	x8, x8, x24
	bfi	x0, x24, #4, #60
	tst	w21, #0x1
	csel	x21, x8, x0, eq
	mov	x0, x23
	bl	_F71882FG_REG_FAN_HYST
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_f71882fg_write8
	ldr	x8, [x20, #8]
	str	w21, [x8, w23, sxtw #2]
	mov	x0, x22
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_store_pwm_auto_point_temp_hyst
.subsections_via_symbols
