	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_temp_src
_show_temp_src:                         ## @show_temp_src
	.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	%rdx, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr_2
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_w83795_update_pwm_config
	movslq	(%rbx), %rcx
	movq	(%rax), %rax
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, %edx
	sarl	$4, %edx
	andl	$15, %eax
	testb	$1, %cl
	cmovnel	%edx, %eax
	cmpl	$3, %eax
	jg	LBB0_2
## %bb.1:
	movq	_tss_map@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cltq
	movq	(%rdx,%rax,8), %rax
	movq	(%rax,%rcx,8), %rdx
	movq	_TSS_MAP_RESERVED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	incl	%edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tss_map,8,3                    ## @tss_map
	.comm	_TSS_MAP_RESERVED,8,3           ## @TSS_MAP_RESERVED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.no_dead_strip	_show_temp_src
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_temp_src
_show_temp_src:                         ; @show_temp_src
	.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, x2
	mov	x20, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr_2
	mov	x21, x0
	mov	x0, x20
	bl	_w83795_update_pwm_config
	ldrsw	x8, [x21]
	ldr	x9, [x0]
	cmp	w8, #0
	cinc	w10, w8, lt
	asr	w10, w10, #1
	ldr	w9, [x9, w10, sxtw #2]
	asr	w10, w9, #4
	and	w9, w9, #0xf
	tst	w8, #0x1
	csel	w9, w9, w10, eq
	cmp	w9, #3
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x10, _tss_map@GOTPAGE
Lloh1:
	ldr	x10, [x10, _tss_map@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x9, [x10, w9, sxtw #3]
	ldr	x8, [x9, x8, lsl #3]
Lloh3:
	adrp	x9, _TSS_MAP_RESERVED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TSS_MAP_RESERVED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	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
LBB0_3:
	add	w2, w8, #1
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_tss_map,8,3                    ; @tss_map
	.comm	_TSS_MAP_RESERVED,8,3           ; @TSS_MAP_RESERVED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.no_dead_strip	_show_temp_src
.subsections_via_symbols
