	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8776_level_control_get
_wm8776_level_control_get:              ## @wm8776_level_control_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_WM8776_ALCCTRL2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_WM8776_LCEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_1
## %bb.2:
	movq	_WM8776_ALCCTRL1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_WM8776_LCSEL_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rax,%rcx,4), %edx
	movq	_WM8776_LCSEL_LIMITER@GOTPCREL(%rip), %rcx
	movq	(%rsi), %rax
	cmpl	(%rcx), %edx
	jne	LBB0_4
## %bb.3:
	movl	$1, (%rax)
	jmp	LBB0_5
LBB0_1:
	movq	(%rsi), %rax
	movl	$0, (%rax)
	jmp	LBB0_5
LBB0_4:
	movl	$2, (%rax)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8776_ALCCTRL2,8,3            ## @WM8776_ALCCTRL2
	.comm	_WM8776_LCEN,4,2                ## @WM8776_LCEN
	.comm	_WM8776_ALCCTRL1,8,3            ## @WM8776_ALCCTRL1
	.comm	_WM8776_LCSEL_MASK,4,2          ## @WM8776_LCSEL_MASK
	.comm	_WM8776_LCSEL_LIMITER,4,2       ## @WM8776_LCSEL_LIMITER
	.no_dead_strip	_wm8776_level_control_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8776_level_control_get
_wm8776_level_control_get:              ; @wm8776_level_control_get
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _WM8776_ALCCTRL2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WM8776_ALCCTRL2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh3:
	adrp	x10, _WM8776_LCEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WM8776_LCEN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x9, _WM8776_ALCCTRL1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WM8776_ALCCTRL1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh9:
	adrp	x9, _WM8776_LCSEL_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WM8776_LCSEL_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh12:
	adrp	x8, _WM8776_LCSEL_LIMITER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM8776_LCSEL_LIMITER@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x8]
	ldr	x8, [x1]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.2:
	mov	w9, #1
	b	LBB0_5
LBB0_3:
	ldr	x8, [x1]
	str	wzr, [x8]
	mov	w0, #0
	ret
LBB0_4:
	mov	w9, #2
LBB0_5:
	str	w9, [x8]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8776_ALCCTRL2,8,3            ; @WM8776_ALCCTRL2
	.comm	_WM8776_LCEN,4,2                ; @WM8776_LCEN
	.comm	_WM8776_ALCCTRL1,8,3            ; @WM8776_ALCCTRL1
	.comm	_WM8776_LCSEL_MASK,4,2          ; @WM8776_LCSEL_MASK
	.comm	_WM8776_LCSEL_LIMITER,4,2       ; @WM8776_LCSEL_LIMITER
	.no_dead_strip	_wm8776_level_control_get
.subsections_via_symbols
