	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dce_v8_0_audio_init
LCPI0_0:
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
LCPI0_1:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dce_v8_0_audio_init:                   ## @dce_v8_0_audio_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	_amdgpu_audio@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	movl	$1, 8(%rdi)
	movq	(%rdi), %rax
	movq	_CHIP_KAVERI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_8:
	movl	$7, 12(%r14)
	jmp	LBB0_9
LBB0_3:
	movq	_CHIP_KABINI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movq	_CHIP_MULLINS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movq	_CHIP_BONAIRE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_CHIP_HAWAII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
LBB0_7:
	movl	$3, 12(%r14)
LBB0_9:
	xorl	%ebx, %ebx
	movq	_pin_offsets@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	leaq	(%rax,%rbx), %rsi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4294967295,4294967295,4294967295,0]
	movups	%xmm0, (%rax,%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rax,%rbx)
	movq	(%r15), %rcx
	movl	(%rcx,%r12,4), %ecx
	movl	%ecx, 20(%rax,%rbx)
	movl	%r12d, 16(%rax,%rbx)
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_dce_v8_0_audio_enable
	incq	%r12
	movslq	12(%r14), %rax
	addq	$40, %rbx
	cmpq	%rax, %r12
	jl	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amdgpu_audio,4,2               ## @amdgpu_audio
	.comm	_CHIP_KAVERI,8,3                ## @CHIP_KAVERI
	.comm	_CHIP_KABINI,8,3                ## @CHIP_KABINI
	.comm	_CHIP_MULLINS,8,3               ## @CHIP_MULLINS
	.comm	_CHIP_BONAIRE,8,3               ## @CHIP_BONAIRE
	.comm	_CHIP_HAWAII,8,3                ## @CHIP_HAWAII
	.comm	_pin_offsets,8,3                ## @pin_offsets
	.no_dead_strip	_dce_v8_0_audio_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function dce_v8_0_audio_init
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dce_v8_0_audio_init:                   ; @dce_v8_0_audio_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _amdgpu_audio@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amdgpu_audio@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	mov	w8, #1
	str	w8, [x0, #8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _CHIP_KAVERI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHIP_KAVERI@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x9, _CHIP_KABINI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHIP_KABINI@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _CHIP_MULLINS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CHIP_MULLINS@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_5
; %bb.3:
Lloh12:
	adrp	x9, _CHIP_BONAIRE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CHIP_BONAIRE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _CHIP_HAWAII@GOTPAGE
Lloh16:
	ldr	x10, [x10, _CHIP_HAWAII@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
LBB0_4:
	mov	w8, #7
	b	LBB0_6
LBB0_5:
	mov	w8, #3
LBB0_6:
	str	w8, [x19, #12]
	mov	x20, #0
	mov	x21, #0
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
Lloh20:
	adrp	x22, _pin_offsets@GOTPAGE
Lloh21:
	ldr	x22, [x22, _pin_offsets@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x1, x8, x20
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	str	q0, [x1]
	stp	xzr, xzr, [x1, #24]
	ldr	x8, [x22]
	ldr	w8, [x8, x21, lsl #2]
	stp	w21, w8, [x1, #16]
	mov	x0, x19
	mov	w2, #0
	bl	_dce_v8_0_audio_enable
	add	x21, x21, #1
	ldrsw	x8, [x19, #12]
	add	x20, x20, #40
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdr	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_amdgpu_audio,4,2               ; @amdgpu_audio
	.comm	_CHIP_KAVERI,8,3                ; @CHIP_KAVERI
	.comm	_CHIP_KABINI,8,3                ; @CHIP_KABINI
	.comm	_CHIP_MULLINS,8,3               ; @CHIP_MULLINS
	.comm	_CHIP_BONAIRE,8,3               ; @CHIP_BONAIRE
	.comm	_CHIP_HAWAII,8,3                ; @CHIP_HAWAII
	.comm	_pin_offsets,8,3                ; @pin_offsets
	.no_dead_strip	_dce_v8_0_audio_init
.subsections_via_symbols
