	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aud_az_enable              ## -- Begin function dce_aud_az_enable
	.p2align	4, 0x90
_dce_aud_az_enable:                     ## @dce_aud_az_enable
	.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, %r14
	movq	_AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_AZ_REG_READ
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_DC_LOGGER_INIT
	movl	(%r15), %edx
	movq	_CLOCK_GATING_DISABLE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edx
	movq	_AUDIO_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_AZ_REG_WRITE
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_AZ_REG_WRITE
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DC_LOG_HW_AUDIO                ## 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	_AUDIO_ENABLED,4,2              ## @AUDIO_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\t========= AUDIO:dce_aud_az_enable: index: %u  data: 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aud_az_enable              ; -- Begin function dce_aud_az_enable
	.p2align	2
_dce_aud_az_enable:                     ; @dce_aud_az_enable
	.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	x21, _AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_AZ_REG_READ
	mov	x20, x0
	bl	_DC_LOGGER_INIT
	ldr	w2, [x21]
Lloh2:
	adrp	x22, _CLOCK_GATING_DISABLE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _CLOCK_GATING_DISABLE@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x21]
Lloh4:
	adrp	x8, _AUDIO_ENABLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AUDIO_ENABLED@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w0, [x21]
	mov	x1, x20
	bl	_AZ_REG_WRITE
	ldr	w2, [x21]
	ldr	w3, [x22]
	mov	x0, x20
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w0, [x21]
	mov	x1, x20
	bl	_AZ_REG_WRITE
	ldr	w1, [x19]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	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	_DC_LOG_HW_AUDIO
	.loh AdrpAdd	Lloh7, Lloh8
	.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	_AUDIO_ENABLED,4,2              ; @AUDIO_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\t========= AUDIO:dce_aud_az_enable: index: %u  data: 0x%x\n"

.subsections_via_symbols
