	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_temp_auto_boost_hyst
_store_temp_auto_boost_hyst:            ## @store_temp_auto_boost_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_to_i2c_client
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r13
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_simple_strtoul
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	16(%r13), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_LM93_REG_SFC2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_lm93_read_byte
	xorl	%edx, %edx
	cmpl	$2, %r12d
	setge	%dl
	shll	$4, %edx
	addl	$16, %edx
	orl	%eax, %edx
	movl	%edx, (%r13)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_lm93_write_byte
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	$1, %ecx
	callq	_LM93_AUTO_BOOST_HYST_TO_REG
	movq	8(%r13), %rcx
	movl	%r12d, %edx
	shrl	$31, %edx
	addl	%r12d, %edx
	sarl	%edx
	movslq	%edx, %rbx
	movl	%eax, (%rcx,%rbx,4)
	movl	%r12d, %edi
	callq	_LM93_REG_BOOST_HYST
	movq	8(%r13), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_lm93_write_byte
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM93_REG_SFC2,4,2              ## @LM93_REG_SFC2
	.no_dead_strip	_store_temp_auto_boost_hyst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_temp_auto_boost_hyst
_store_temp_auto_boost_hyst:            ; @store_temp_auto_boost_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	x20, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr
	ldr	w21, [x0]
	mov	x0, x20
	bl	_to_i2c_client
	mov	x20, x0
	bl	_i2c_get_clientdata
	mov	x23, x0
	mov	x0, x22
	mov	x1, #0
	mov	w2, #10
	bl	_simple_strtoul
	mov	x22, x0
	add	x24, x23, #16
	mov	x0, x24
	bl	_mutex_lock
Lloh0:
	adrp	x25, _LM93_REG_SFC2@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LM93_REG_SFC2@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_lm93_read_byte
	mov	w8, #32
	mov	w9, #16
	cmp	w21, #2
	csel	w8, w9, w8, lt
	orr	w2, w0, w8
	str	w2, [x23]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_lm93_write_byte
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	w3, #1
	bl	_LM93_AUTO_BOOST_HYST_TO_REG
	ldr	x8, [x23, #8]
	cmp	w21, #0
	cinc	w9, w21, lt
	asr	w9, w9, #1
	sbfiz	x22, x9, #2, #32
	str	w0, [x8, x22]
	mov	x0, x21
	bl	_LM93_REG_BOOST_HYST
	mov	x1, x0
	ldr	x8, [x23, #8]
	ldr	w2, [x8, x22]
	mov	x0, x20
	bl	_lm93_write_byte
	mov	x0, x24
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LM93_REG_SFC2,4,2              ; @LM93_REG_SFC2
	.no_dead_strip	_store_temp_auto_boost_hyst
.subsections_via_symbols
