	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aud_hw_init                ## -- Begin function dce_aud_hw_init
	.p2align	4, 0x90
_dce_aud_hw_init:                       ## @dce_aud_hw_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
	callq	_DCE_AUD
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_AZ_REG_READ
	movl	%eax, %ebx
	movl	(%r14), %edx
	movq	_CLOCK_GATING_DISABLE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_AZ_REG_WRITE
	movq	_AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AUDIO_RATE_CAPABILITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$112, %edx
	callq	_REG_UPDATE
	movq	_AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CLKSTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EPSS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	movl	$1, %r8d
	callq	_REG_UPDATE_2
	movl	(%r14), %edx
	movl	(%r15), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r14), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AZ_REG_WRITE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL,4,2 ## @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL
	.comm	_CLOCK_GATING_DISABLE,4,2       ## @CLOCK_GATING_DISABLE
	.comm	_AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES,4,2 ## @AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES
	.comm	_AUDIO_RATE_CAPABILITIES,4,2    ## @AUDIO_RATE_CAPABILITIES
	.comm	_AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES,4,2 ## @AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES
	.comm	_CLKSTOP,4,2                    ## @CLKSTOP
	.comm	_EPSS,4,2                       ## @EPSS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aud_hw_init                ; -- Begin function dce_aud_hw_init
	.p2align	2
_dce_aud_hw_init:                       ; @dce_aud_hw_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
	bl	_DCE_AUD
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	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
LBB0_2:
Lloh0:
	adrp	x20, _AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_AZ_REG_READ
	mov	x19, x0
	ldr	w2, [x20]
Lloh2:
	adrp	x21, _CLOCK_GATING_DISABLE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CLOCK_GATING_DISABLE@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w0, [x20]
	mov	x1, x19
	bl	_AZ_REG_WRITE
Lloh4:
	adrp	x8, _AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _AUDIO_RATE_CAPABILITIES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AUDIO_RATE_CAPABILITIES@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #112
	bl	_REG_UPDATE
Lloh10:
	adrp	x8, _AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _CLKSTOP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CLKSTOP@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _EPSS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EPSS@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	w2, #1
	mov	w4, #1
	bl	_REG_UPDATE_2
	ldr	w2, [x20]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w0, [x20]
	mov	x1, x19
	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
	b	_AZ_REG_WRITE
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL,4,2 ; @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL
	.comm	_CLOCK_GATING_DISABLE,4,2       ; @CLOCK_GATING_DISABLE
	.comm	_AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES,4,2 ; @AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES
	.comm	_AUDIO_RATE_CAPABILITIES,4,2    ; @AUDIO_RATE_CAPABILITIES
	.comm	_AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES,4,2 ; @AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES
	.comm	_CLKSTOP,4,2                    ; @CLKSTOP
	.comm	_EPSS,4,2                       ; @EPSS
.subsections_via_symbols
