	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8766_registers_init
_wm8766_registers_init:                 ## @wm8766_registers_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	_WM8766_RESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_wm8766_write
	movq	_WM8766_DAC_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r15), %rax
	movl	(%rax,%rsi,4), %edx
	movq	%rbx, %rdi
	callq	_wm8766_write
	movq	_WM8766_INT_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_WM8766_FMT_LJUST@GOTPCREL(%rip), %rax
	movq	_WM8766_IWL_24@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8766_write
	movq	_WM8766_DAC_CTRL2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_WM8766_ZCD@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_WM8766_DMUTE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_2:
	orl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_wm8766_write
	movq	_WM8766_LDA1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8766_write
	movq	_WM8766_RDA1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8766_write
	movq	_WM8766_LDA2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movl	16(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8766_write
	movq	_WM8766_RDA2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movl	20(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8766_write
	movq	_WM8766_LDA3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movl	24(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8766_write
	movq	_WM8766_RDA3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movq	_WM8766_UPDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	28(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wm8766_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8766_RESET,8,3               ## @WM8766_RESET
	.comm	_WM8766_DAC_CTRL,8,3            ## @WM8766_DAC_CTRL
	.comm	_WM8766_INT_CTRL,8,3            ## @WM8766_INT_CTRL
	.comm	_WM8766_FMT_LJUST,4,2           ## @WM8766_FMT_LJUST
	.comm	_WM8766_IWL_24,4,2              ## @WM8766_IWL_24
	.comm	_WM8766_DAC_CTRL2,8,3           ## @WM8766_DAC_CTRL2
	.comm	_WM8766_ZCD,4,2                 ## @WM8766_ZCD
	.comm	_WM8766_DMUTE_MASK,4,2          ## @WM8766_DMUTE_MASK
	.comm	_WM8766_LDA1,8,3                ## @WM8766_LDA1
	.comm	_WM8766_RDA1,8,3                ## @WM8766_RDA1
	.comm	_WM8766_LDA2,8,3                ## @WM8766_LDA2
	.comm	_WM8766_RDA2,8,3                ## @WM8766_RDA2
	.comm	_WM8766_LDA3,8,3                ## @WM8766_LDA3
	.comm	_WM8766_RDA3,8,3                ## @WM8766_RDA3
	.comm	_WM8766_UPDATE,4,2              ## @WM8766_UPDATE
	.no_dead_strip	_wm8766_registers_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8766_registers_init
_wm8766_registers_init:                 ; @wm8766_registers_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _WM8766_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM8766_RESET@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	w2, #0
	bl	_wm8766_write
Lloh3:
	adrp	x8, _WM8766_DAC_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WM8766_DAC_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8, x1, lsl #2]
	mov	x0, x19
	bl	_wm8766_write
Lloh6:
	adrp	x8, _WM8766_INT_CTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WM8766_INT_CTRL@GOTPAGEOFF]
Lloh8:
	adrp	x9, _WM8766_FMT_LJUST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WM8766_FMT_LJUST@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
Lloh11:
	ldr	w8, [x9]
Lloh12:
	adrp	x9, _WM8766_IWL_24@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WM8766_IWL_24@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_wm8766_write
Lloh15:
	adrp	x8, _WM8766_DAC_CTRL2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WM8766_DAC_CTRL2@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
Lloh18:
	adrp	x8, _WM8766_ZCD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WM8766_ZCD@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
Lloh21:
	adrp	x10, _WM8766_DMUTE_MASK@GOTPAGE
Lloh22:
	ldr	x10, [x10, _WM8766_DMUTE_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w2, w9, w8
	mov	x0, x19
	bl	_wm8766_write
Lloh24:
	adrp	x8, _WM8766_LDA1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WM8766_LDA1@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_wm8766_write
Lloh27:
	adrp	x8, _WM8766_RDA1@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WM8766_RDA1@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8, #12]
	mov	x0, x19
	bl	_wm8766_write
Lloh30:
	adrp	x8, _WM8766_LDA2@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WM8766_LDA2@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8, #16]
	mov	x0, x19
	bl	_wm8766_write
Lloh33:
	adrp	x8, _WM8766_RDA2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _WM8766_RDA2@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8, #20]
	mov	x0, x19
	bl	_wm8766_write
Lloh36:
	adrp	x8, _WM8766_LDA3@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WM8766_LDA3@GOTPAGEOFF]
Lloh38:
	ldr	x1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8, #24]
	mov	x0, x19
	bl	_wm8766_write
Lloh39:
	adrp	x8, _WM8766_RDA3@GOTPAGE
Lloh40:
	ldr	x8, [x8, _WM8766_RDA3@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
	ldr	x8, [x19]
Lloh42:
	adrp	x9, _WM8766_UPDATE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _WM8766_UPDATE@GOTPAGEOFF]
	ldr	w8, [x8, #28]
Lloh44:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wm8766_write
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8766_RESET,8,3               ; @WM8766_RESET
	.comm	_WM8766_DAC_CTRL,8,3            ; @WM8766_DAC_CTRL
	.comm	_WM8766_INT_CTRL,8,3            ; @WM8766_INT_CTRL
	.comm	_WM8766_FMT_LJUST,4,2           ; @WM8766_FMT_LJUST
	.comm	_WM8766_IWL_24,4,2              ; @WM8766_IWL_24
	.comm	_WM8766_DAC_CTRL2,8,3           ; @WM8766_DAC_CTRL2
	.comm	_WM8766_ZCD,4,2                 ; @WM8766_ZCD
	.comm	_WM8766_DMUTE_MASK,4,2          ; @WM8766_DMUTE_MASK
	.comm	_WM8766_LDA1,8,3                ; @WM8766_LDA1
	.comm	_WM8766_RDA1,8,3                ; @WM8766_RDA1
	.comm	_WM8766_LDA2,8,3                ; @WM8766_LDA2
	.comm	_WM8766_RDA2,8,3                ; @WM8766_RDA2
	.comm	_WM8766_LDA3,8,3                ; @WM8766_LDA3
	.comm	_WM8766_RDA3,8,3                ; @WM8766_RDA3
	.comm	_WM8766_UPDATE,4,2              ; @WM8766_UPDATE
	.no_dead_strip	_wm8766_registers_init
.subsections_via_symbols
