	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_sf_setup
_store_sf_setup:                        ## @store_sf_setup
	.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, %r13
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr_2
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_to_i2c_client
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r12
	movq	%rax, %rbx
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_SETUP_PWM_DEFAULT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_W83793_REG_PWM_DEFAULT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_w83793_read_value
	andl	$192, %eax
	movl	%eax, (%r12)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_simple_strtoul
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_SENSORS_LIMIT
                                        ## kill: def $eax killed $eax def $rax
	sarl	$2, %eax
	orl	(%r12), %eax
	movl	%eax, (%r12)
	jmp	LBB0_7
LBB0_2:
	movq	_SETUP_PWM_UPTIME@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_simple_strtoul
	movl	%eax, %edi
	callq	_TIME_TO_REG
	cmpl	$1, %eax
	adcl	$0, %eax
	movl	%eax, 4(%r12)
	movq	_W83793_REG_PWM_UPTIME@GOTPCREL(%rip), %r14
	jmp	LBB0_7
LBB0_4:
	movq	_SETUP_PWM_DOWNTIME@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_simple_strtoul
	movl	%eax, %edi
	callq	_TIME_TO_REG
	cmpl	$1, %eax
	adcl	$0, %eax
	movl	%eax, 8(%r12)
	movq	_W83793_REG_PWM_DOWNTIME@GOTPCREL(%rip), %r14
	jmp	LBB0_7
LBB0_6:
	movq	_W83793_REG_TEMP_CRITICAL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_w83793_read_value
	andl	$128, %eax
	movl	%eax, 12(%r12)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_simple_strtol
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$127, %edx
	callq	_TEMP_TO_REG
                                        ## kill: def $eax killed $eax def $rax
	orl	12(%r12), %eax
	movl	%eax, 12(%r12)
LBB0_7:
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_w83793_write_value
	movq	%rbx, %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
	.comm	_SETUP_PWM_DEFAULT,4,2          ## @SETUP_PWM_DEFAULT
	.comm	_W83793_REG_PWM_DEFAULT,4,2     ## @W83793_REG_PWM_DEFAULT
	.comm	_SETUP_PWM_UPTIME,4,2           ## @SETUP_PWM_UPTIME
	.comm	_W83793_REG_PWM_UPTIME,4,2      ## @W83793_REG_PWM_UPTIME
	.comm	_SETUP_PWM_DOWNTIME,4,2         ## @SETUP_PWM_DOWNTIME
	.comm	_W83793_REG_PWM_DOWNTIME,4,2    ## @W83793_REG_PWM_DOWNTIME
	.comm	_W83793_REG_TEMP_CRITICAL,4,2   ## @W83793_REG_TEMP_CRITICAL
	.no_dead_strip	_store_sf_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_sf_setup
_store_sf_setup:                        ; @store_sf_setup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x23, x2
	mov	x20, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr_2
	ldr	w24, [x0]
	mov	x0, x20
	bl	_to_i2c_client
	mov	x20, x0
	bl	_i2c_get_clientdata
	mov	x22, x0
	add	x21, x0, #16
	mov	x0, x21
	bl	_mutex_lock
Lloh0:
	adrp	x8, _SETUP_PWM_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SETUP_PWM_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x24, _W83793_REG_PWM_DEFAULT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _W83793_REG_PWM_DEFAULT@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_w83793_read_value
	and	w8, w0, #0xc0
	str	w8, [x22]
	mov	x0, x23
	mov	x1, #0
	mov	w2, #10
	bl	_simple_strtoul
	mov	w1, #0
	mov	w2, #255
	bl	_SENSORS_LIMIT
	ldr	w8, [x22]
	orr	w2, w8, w0, asr #2
	str	w2, [x22]
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x8, _SETUP_PWM_UPTIME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SETUP_PWM_UPTIME@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, #0
	mov	w2, #10
	bl	_simple_strtoul
	bl	_TIME_TO_REG
	cmp	w0, #0
	cinc	w2, w0, eq
	str	w2, [x22, #4]
Lloh8:
	adrp	x24, _W83793_REG_PWM_UPTIME@GOTPAGE
Lloh9:
	ldr	x24, [x24, _W83793_REG_PWM_UPTIME@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x8, _SETUP_PWM_DOWNTIME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SETUP_PWM_DOWNTIME@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x23
	mov	x1, #0
	mov	w2, #10
	bl	_simple_strtoul
	bl	_TIME_TO_REG
	cmp	w0, #0
	cinc	w2, w0, eq
	str	w2, [x22, #8]
Lloh13:
	adrp	x24, _W83793_REG_PWM_DOWNTIME@GOTPAGE
Lloh14:
	ldr	x24, [x24, _W83793_REG_PWM_DOWNTIME@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x24, _W83793_REG_TEMP_CRITICAL@GOTPAGE
Lloh16:
	ldr	x24, [x24, _W83793_REG_TEMP_CRITICAL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_w83793_read_value
	and	w8, w0, #0x80
	str	w8, [x22, #12]
	mov	x0, x23
	mov	x1, #0
	mov	w2, #10
	bl	_simple_strtol
	mov	w1, #0
	mov	w2, #127
	bl	_TEMP_TO_REG
	ldr	w8, [x22, #12]
	orr	w2, w8, w0
	str	w2, [x22, #12]
LBB0_7:
	ldr	w1, [x24]
	mov	x0, x20
	bl	_w83793_write_value
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SETUP_PWM_DEFAULT,4,2          ; @SETUP_PWM_DEFAULT
	.comm	_W83793_REG_PWM_DEFAULT,4,2     ; @W83793_REG_PWM_DEFAULT
	.comm	_SETUP_PWM_UPTIME,4,2           ; @SETUP_PWM_UPTIME
	.comm	_W83793_REG_PWM_UPTIME,4,2      ; @W83793_REG_PWM_UPTIME
	.comm	_SETUP_PWM_DOWNTIME,4,2         ; @SETUP_PWM_DOWNTIME
	.comm	_W83793_REG_PWM_DOWNTIME,4,2    ; @W83793_REG_PWM_DOWNTIME
	.comm	_W83793_REG_TEMP_CRITICAL,4,2   ; @W83793_REG_TEMP_CRITICAL
	.no_dead_strip	_store_sf_setup
.subsections_via_symbols
