	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm831x_status_src_store
_wm831x_status_src_store:               ## @wm831x_status_src_store
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_dev_get_drvdata
	movq	%rax, %rdi
	callq	_to_wm831x_status
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movb	$0, -61(%rbp)
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$19, %edx
	callq	_strncpy
	movq	%r12, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpb	$10, -1(%rax,%r12)
	jne	LBB0_3
## %bb.2:
	movb	$0, -81(%rbp,%rax)
LBB0_3:
	movq	_led_src_texts@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	leaq	4(%r12), %rbx
	addq	$8, %r12
	xorl	%r15d, %r15d
	leaq	-80(%rbp), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r15
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	movq	%r12, %rdi
	callq	_schedule_work
	movq	%rbx, %rdi
	callq	_mutex_unlock
	jmp	LBB0_7
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_led_src_texts,8,3              ## @led_src_texts
	.no_dead_strip	_wm831x_status_src_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm831x_status_src_store
_wm831x_status_src_store:               ; @wm831x_status_src_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_dev_get_drvdata
	bl	_to_wm831x_status
	mov	x20, x0
	strb	wzr, [sp, #23]
	add	x22, sp, #4
	add	x0, sp, #4
	mov	x1, x21
	mov	w2, #19
	bl	_strncpy
	add	x0, sp, #4
	bl	_strlen
	cbz	x0, LBB0_3
; %bb.1:
	sub	x8, x0, #1
	ldrb	w9, [x22, x8]
	cmp	w9, #10
	b.ne	LBB0_3
; %bb.2:
	add	x9, sp, #4
	strb	wzr, [x9, x8]
LBB0_3:
Lloh3:
	adrp	x23, _led_src_texts@GOTPAGE
Lloh4:
	ldr	x23, [x23, _led_src_texts@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x24, #0
	add	x21, x20, #4
	add	x22, x20, #8
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	x24, w0, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x24, lsl #2]
	add	x0, sp, #4
	bl	_strcmp
	cbnz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_mutex_lock
	str	w24, [x20]
	mov	x0, x22
	bl	_schedule_work
	mov	x0, x21
	bl	_mutex_unlock
	b	LBB0_5
LBB0_8:
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_led_src_texts,8,3              ; @led_src_texts
	.no_dead_strip	_wm831x_status_src_store
.subsections_via_symbols
