	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_bitmask
_store_bitmask:                         ## @store_bitmask
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_SETUP_STORE_DATA_PARAM
	leaq	-40(%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	-40(%rbp), %rdi
	movq	_param@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	xorl	%esi, %esi
	callq	_clamp_val
	movq	%rax, -40(%rbp)
	movq	(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	andq	(%rdx), %rax
	movb	(%rcx), %cl
	shlq	%cl, %rax
	movq	%rax, -40(%rbp)
	movq	_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_mutex_lock
	movq	_client@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	(%rbx), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rsi
	callq	_read_byte
	movq	(%rbx), %rdx
	movq	(%rdx), %rcx
	movq	8(%rdx), %rsi
	movq	(%rcx), %rdi
	movb	(%rsi), %cl
	shlq	%cl, %rdi
	notq	%rdi
	andq	%rax, %rdi
	orq	-40(%rbp), %rdi
	movq	%rdi, -40(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	16(%rdx), %rcx
	movq	(%rcx), %rdx
	movq	%rdi, (%rax,%rdx,8)
	movl	(%r12), %edi
	movq	(%rcx), %rsi
	movq	-40(%rbp), %rdx
	callq	_write_byte
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_mutex_unlock
LBB0_3:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_param,8,3                      ## @param
	.comm	_data,8,3                       ## @data
	.comm	_client,4,2                     ## @client
	.no_dead_strip	_store_bitmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_bitmask
_store_bitmask:                         ; @store_bitmask
	.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]
Lloh3:
	adrp	x20, _param@GOTPAGE
Lloh4:
	ldr	x20, [x20, _param@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x2, [x8]
	mov	w1, #0
	bl	_clamp_val
	str	x0, [sp, #8]
	ldr	x8, [x20]
	ldp	x9, x8, [x8]
	ldr	x9, [x9]
	and	x9, x9, x0
	ldr	x8, [x8]
	lsl	x8, x9, x8
	str	x8, [sp, #8]
Lloh5:
	adrp	x21, _data@GOTPAGE
Lloh6:
	ldr	x21, [x21, _data@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, #8
	bl	_mutex_lock
Lloh7:
	adrp	x22, _client@GOTPAGE
Lloh8:
	ldr	x22, [x22, _client@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x1, [x8]
	bl	_read_byte
	ldr	x8, [x20]
	ldp	x9, x10, [x8]
	ldr	x9, [x9]
	ldr	x10, [x10]
	lsl	x9, x9, x10
	bic	x9, x0, x9
	ldr	x10, [sp, #8]
	orr	x9, x9, x10
	str	x9, [sp, #8]
	ldr	x10, [x21]
	ldr	x10, [x10]
	ldr	x8, [x8, #16]
	ldr	x11, [x8]
	str	x9, [x10, x11, lsl #3]
	ldr	w0, [x22]
	ldr	x1, [x8]
	ldr	x2, [sp, #8]
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_param,8,3                      ; @param
	.comm	_data,8,3                       ; @data
	.comm	_client,4,2                     ; @client
	.no_dead_strip	_store_bitmask
.subsections_via_symbols
