	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_audio_codec_disable      ## -- Begin function intel_audio_codec_disable
	.p2align	4, 0x90
_intel_audio_codec_disable:             ## @intel_audio_codec_disable
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r13
	movq	24(%rax), %r14
	movl	(%r12), %edi
	callq	_to_intel_crtc
	movl	(%rbx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax), %r15d
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*%rax
LBB0_2:
	movq	%r13, %rdi
	callq	_mutex_lock
	movq	$0, 8(%rbx)
	movq	8(%r13), %rax
	movq	$0, (%rax,%r15,8)
	movq	%r13, %rdi
	callq	_mutex_unlock
	testq	%r14, %r14
	je	LBB0_8
## %bb.3:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.5:
	movq	_INTEL_OUTPUT_DP_MST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_intel_crtc_has_type
	xorl	%r12d, %r12d
	cmpl	$1, %eax
	sbbl	%r12d, %r12d
	orl	%r15d, %r12d
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	*8(%rax)
	movl	%r12d, %r15d
	jmp	LBB0_9
LBB0_8:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_9:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_lpe_audio_notify         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_OUTPUT_DP_MST,4,2        ## @INTEL_OUTPUT_DP_MST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_audio_codec_disable      ; -- Begin function intel_audio_codec_disable
	.p2align	2
_intel_audio_codec_disable:             ; @intel_audio_codec_disable
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w0, [x0, #16]
	bl	_to_i915
	mov	x19, x0
	ldr	x25, [x0, #24]
	ldr	w0, [x22]
	bl	_to_intel_crtc
	ldr	w20, [x23]
	ldr	w21, [x0]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	blr	x8
LBB0_2:
	mov	x0, x19
	bl	_mutex_lock
	str	xzr, [x23, #8]
	ldr	x8, [x19, #8]
	str	xzr, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_mutex_unlock
	cbz	x25, LBB0_6
; %bb.3:
	ldr	x8, [x25]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _INTEL_OUTPUT_DP_MST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_OUTPUT_DP_MST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_intel_crtc_has_type
	cmp	w0, #0
	csinv	w21, w21, wzr, ne
	ldr	x8, [x25]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x21
	blr	x9
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_intel_lpe_audio_notify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_OUTPUT_DP_MST,4,2        ; @INTEL_OUTPUT_DP_MST
.subsections_via_symbols
