	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_init_audio_hooks         ## -- Begin function intel_init_audio_hooks
	.p2align	4, 0x90
_intel_init_audio_hooks:                ## @intel_init_audio_hooks
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_IS_G4X
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_g4x_audio_codec_disable@GOTPCREL(%rip), %r12
	movq	_g4x_audio_codec_enable@GOTPCREL(%rip), %r13
	jmp	LBB0_8
LBB0_2:
	movq	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	movq	_ilk_audio_codec_disable@GOTPCREL(%rip), %r14
	movq	_ilk_audio_codec_enable@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	%r15, %r13
	movq	%r14, %r12
LBB0_8:
	movq	(%r13), %rax
	movq	%rax, 8(%rbx)
	movq	(%r12), %rax
	movq	%rax, (%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_IS_HASWELL
	movq	_hsw_audio_codec_disable@GOTPCREL(%rip), %r12
	movq	_hsw_audio_codec_enable@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$7, %eax
	jg	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_HAS_PCH_SPLIT
	movq	%r15, %r13
	movq	%r14, %r12
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_g4x_audio_codec_enable,8,3     ## @g4x_audio_codec_enable
	.comm	_g4x_audio_codec_disable,8,3    ## @g4x_audio_codec_disable
	.comm	_ilk_audio_codec_enable,8,3     ## @ilk_audio_codec_enable
	.comm	_ilk_audio_codec_disable,8,3    ## @ilk_audio_codec_disable
	.comm	_hsw_audio_codec_enable,8,3     ## @hsw_audio_codec_enable
	.comm	_hsw_audio_codec_disable,8,3    ## @hsw_audio_codec_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_init_audio_hooks         ; -- Begin function intel_init_audio_hooks
	.p2align	2
_intel_init_audio_hooks:                ; @intel_init_audio_hooks
	.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
	bl	_IS_G4X
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _g4x_audio_codec_disable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g4x_audio_codec_disable@GOTPAGEOFF]
Lloh2:
	adrp	x9, _g4x_audio_codec_enable@GOTPAGE
Lloh3:
	ldr	x9, [x9, _g4x_audio_codec_enable@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_IS_VALLEYVIEW
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_7
LBB0_4:
Lloh4:
	adrp	x8, _ilk_audio_codec_disable@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ilk_audio_codec_disable@GOTPAGEOFF]
Lloh6:
	adrp	x9, _ilk_audio_codec_enable@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ilk_audio_codec_enable@GOTPAGEOFF]
LBB0_5:
	ldr	x9, [x9]
	ldr	x8, [x8]
	stp	x8, x9, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	bl	_IS_HASWELL
	cbnz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_INTEL_GEN
	cmp	w0, #7
	b.le	LBB0_10
LBB0_9:
Lloh8:
	adrp	x8, _hsw_audio_codec_disable@GOTPAGE
Lloh9:
	ldr	x8, [x8, _hsw_audio_codec_disable@GOTPAGEOFF]
Lloh10:
	adrp	x9, _hsw_audio_codec_enable@GOTPAGE
Lloh11:
	ldr	x9, [x9, _hsw_audio_codec_enable@GOTPAGEOFF]
	b	LBB0_5
LBB0_10:
	mov	x0, x19
	bl	_HAS_PCH_SPLIT
	cbnz	x0, LBB0_4
	b	LBB0_6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_g4x_audio_codec_enable,8,3     ; @g4x_audio_codec_enable
	.comm	_g4x_audio_codec_disable,8,3    ; @g4x_audio_codec_disable
	.comm	_ilk_audio_codec_enable,8,3     ; @ilk_audio_codec_enable
	.comm	_ilk_audio_codec_disable,8,3    ; @ilk_audio_codec_disable
	.comm	_hsw_audio_codec_enable,8,3     ; @hsw_audio_codec_enable
	.comm	_hsw_audio_codec_disable,8,3    ; @hsw_audio_codec_disable
.subsections_via_symbols
