	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_temp8
_store_temp8:                           ## @store_temp8
	.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	%rcx, %r14
	movq	%rdx, %rbx
	callq	_SETUP_STORE_DATA_PARAM
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtol
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
	jmp	LBB0_3
LBB0_2:
	movq	-32(%rbp), %rdi
	movl	$-127000, %esi                  ## imm = 0xFFFE0FE8
	movl	$127000, %edx                   ## imm = 0x1F018
	callq	_clamp_val
	movq	%rax, -32(%rbp)
	movabsq	$2361183241434822607, %rcx      ## imm = 0x20C49BA5E353F7CF
	imulq	%rcx
	movq	%rdx, %rbx
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$7, %rbx
	addq	%rax, %rbx
	movq	_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_param@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	movq	%rbx, (%rax,%rdx,8)
	movq	_client@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rcx), %rsi
	movq	%rbx, %rdx
	callq	_write_byte
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_mutex_unlock
LBB0_3:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_data,8,3                       ## @data
	.comm	_param,8,3                      ## @param
	.comm	_client,4,2                     ## @client
	.no_dead_strip	_store_temp8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_temp8
_store_temp8:                           ; @store_temp8
	.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	x19, x3
	mov	x20, x2
	bl	_SETUP_STORE_DATA_PARAM
	add	x2, sp, #8
	mov	x0, x20
	mov	w1, #10
	bl	_kstrtol
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_3
LBB0_2:
	ldr	x0, [sp, #8]
	mov	w1, #4072
	movk	w1, #65534, lsl #16
	mov	w2, #61464
	movk	w2, #1, lsl #16
	bl	_clamp_val
	str	x0, [sp, #8]
	mov	x8, #63439
	movk	x8, #58195, lsl #16
	movk	x8, #39845, lsl #32
	movk	x8, #8388, lsl #48
	smulh	x8, x0, x8
	asr	x9, x8, #7
	add	x20, x9, x8, lsr #63
Lloh3:
	adrp	x21, _data@GOTPAGE
Lloh4:
	ldr	x21, [x21, _data@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, #8
	bl	_mutex_lock
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _param@GOTPAGE
Lloh6:
	ldr	x9, [x9, _param@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x10, [x9]
	str	x20, [x8, x10, lsl #3]
Lloh8:
	adrp	x8, _client@GOTPAGE
Lloh9:
	ldr	x8, [x8, _client@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x1, [x9]
	mov	x2, x20
	bl	_write_byte
	ldr	x8, [x21]
	add	x0, x8, #8
	bl	_mutex_unlock
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_data,8,3                       ; @data
	.comm	_param,8,3                      ; @param
	.comm	_client,4,2                     ; @client
	.no_dead_strip	_store_temp8
.subsections_via_symbols
