	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_pwm_ast
_store_pwm_ast:                         ## @store_pwm_ast
	.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, %r14
	movq	%rdx, %rbx
	callq	_SETUP_STORE_DATA_PARAM
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtol
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_asc7621_pwm_auto_spinup_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	(%r15), %rdi
	cmpq	(%rdi,%rbx,8), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_3
	jmp	LBB0_6
LBB0_5:
	cmpl	$255, %ebx
	je	LBB0_6
## %bb.7:
	movq	_param@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	andl	(%rcx), %ebx
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_mutex_lock
	movq	_client@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	(%r12), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rsi
	callq	_read_byte
	movq	(%r12), %rsi
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdi
	movl	(%rcx), %edx
	movb	(%rdi), %cl
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	orl	%ebx, %edx
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	16(%rsi), %rcx
	movq	(%rcx), %rsi
	movl	%edx, (%rax,%rsi,4)
	movl	(%r13), %edi
	callq	_write_byte
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_mutex_unlock
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_asc7621_pwm_auto_spinup_map,8,3 ## @asc7621_pwm_auto_spinup_map
	.comm	_param,8,3                      ## @param
	.comm	_data,8,3                       ## @data
	.comm	_client,4,2                     ## @client
	.no_dead_strip	_store_pwm_ast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_pwm_ast
_store_pwm_ast:                         ; @store_pwm_ast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	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_3
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_2:
	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
	add	sp, sp, #80
	ret
LBB0_3:
Lloh3:
	adrp	x21, _asc7621_pwm_auto_spinup_map@GOTPAGE
Lloh4:
	ldr	x21, [x21, _asc7621_pwm_auto_spinup_map@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_1
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x0, [x21]
	ldr	x9, [x0, x20, lsl #3]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, x0
	b.lo	LBB0_5
	b	LBB0_1
LBB0_7:
	cmp	w20, #255
	b.eq	LBB0_1
; %bb.8:
Lloh5:
	adrp	x21, _param@GOTPAGE
Lloh6:
	ldr	x21, [x21, _param@GOTPAGEOFF]
	ldr	x8, [x21]
	ldp	x9, x8, [x8]
	ldr	w9, [x9]
	and	w9, w9, w20
	ldr	w8, [x8]
	lsl	w20, w9, w8
Lloh7:
	adrp	x22, _data@GOTPAGE
Lloh8:
	ldr	x22, [x22, _data@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x0, x8, #8
	bl	_mutex_lock
Lloh9:
	adrp	x23, _client@GOTPAGE
Lloh10:
	ldr	x23, [x23, _client@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	ldr	x1, [x8]
	bl	_read_byte
	ldr	x8, [x21]
	ldp	x9, x10, [x8]
	ldr	w9, [x9]
	ldr	w10, [x10]
	lsl	w9, w9, w10
	bic	w9, w0, w9
	orr	w2, w9, w20
	ldr	x9, [x22]
	ldr	x9, [x9]
	ldr	x8, [x8, #16]
	ldr	x1, [x8]
	str	w2, [x9, x1, lsl #2]
	ldr	w0, [x23]
	bl	_write_byte
	ldr	x8, [x22]
	add	x0, x8, #8
	bl	_mutex_unlock
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_asc7621_pwm_auto_spinup_map,8,3 ; @asc7621_pwm_auto_spinup_map
	.comm	_param,8,3                      ; @param
	.comm	_data,8,3                       ; @data
	.comm	_client,4,2                     ; @client
	.no_dead_strip	_store_pwm_ast
.subsections_via_symbols
