	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function playpaq_wm8510_init
_playpaq_wm8510_init:                   ## @playpaq_wm8510_init
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_playpaq_dapm_widgets@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rsi
	addq	%r12, %rsi
	movq	%r15, %rdi
	callq	_snd_soc_dapm_new_control
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_intercon@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_snd_soc_dapm_add_routes
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_snd_soc_dapm_enable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_snd_soc_dapm_enable_pin
	movq	%r15, %rdi
	callq	_snd_soc_dapm_sync
	movl	(%r15), %edi
	movq	_WM8510_OPCLKDIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8510_OPCLKDIV_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	$4, %edx
	callq	_snd_soc_dai_set_clkdiv
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_playpaq_dapm_widgets,8,3       ## @playpaq_dapm_widgets
	.comm	_intercon,8,3                   ## @intercon
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Int Mic"

L_.str.1:                               ## @.str.1
	.asciz	"Ext Spk"

	.comm	_WM8510_OPCLKDIV,4,2            ## @WM8510_OPCLKDIV
	.comm	_WM8510_OPCLKDIV_1,4,2          ## @WM8510_OPCLKDIV_1
	.no_dead_strip	_playpaq_wm8510_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function playpaq_wm8510_init
_playpaq_wm8510_init:                   ; @playpaq_wm8510_init
	.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, x0
Lloh0:
	adrp	x20, _playpaq_dapm_widgets@GOTPAGE
Lloh1:
	ldr	x20, [x20, _playpaq_dapm_widgets@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x1, x8, x21
	mov	x0, x19
	bl	_snd_soc_dapm_new_control
	add	x22, x22, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	x21, x21, #4
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _intercon@GOTPAGE
Lloh3:
	ldr	x8, [x8, _intercon@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_snd_soc_dapm_add_routes
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
	mov	x0, x19
	bl	_snd_soc_dapm_sync
Lloh9:
	adrp	x8, _WM8510_OPCLKDIV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WM8510_OPCLKDIV@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _WM8510_OPCLKDIV_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM8510_OPCLKDIV_1@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w2, w8, #0x4
	bl	_snd_soc_dai_set_clkdiv
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_playpaq_dapm_widgets,8,3       ; @playpaq_dapm_widgets
	.comm	_intercon,8,3                   ; @intercon
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Int Mic"

l_.str.1:                               ; @.str.1
	.asciz	"Ext Spk"

	.comm	_WM8510_OPCLKDIV,4,2            ; @WM8510_OPCLKDIV
	.comm	_WM8510_OPCLKDIV_1,4,2          ; @WM8510_OPCLKDIV_1
	.no_dead_strip	_playpaq_wm8510_init
.subsections_via_symbols
