	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function r600_audio_enable
LCPI0_0:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_r600_audio_enable
	.p2align	4, 0x90
_r600_audio_enable:                     ## @r600_audio_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	_AZ_HOT_PLUG_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG32
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movq	_AUDIO_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.2:
	movd	%r14d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	LCPI0_0(%rip), %xmm0
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %ecx
	xorl	%edx, %edx
	movl	$0, %edi
	testb	$8, %cl
	jne	LBB0_4
## %bb.3:
	movq	_PIN0_AUDIO_ENABLED@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_4:
	orl	%eax, %esi
	movl	$0, %eax
	testb	$4, %cl
	jne	LBB0_6
## %bb.5:
	movq	_PIN1_AUDIO_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	orl	%edi, %esi
	testb	$2, %cl
	jne	LBB0_8
## %bb.7:
	movq	_PIN2_AUDIO_ENABLED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_8:
	orl	%edx, %eax
	orl	%eax, %esi
	testb	$1, %cl
	jne	LBB0_11
## %bb.9:
	movq	_PIN3_AUDIO_ENABLED@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_PIN0_AUDIO_ENABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_PIN1_AUDIO_ENABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_PIN2_AUDIO_ENABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_PIN3_AUDIO_ENABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
LBB0_11:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AZ_HOT_PLUG_CONTROL,4,2        ## @AZ_HOT_PLUG_CONTROL
	.comm	_AUDIO_ENABLED,4,2              ## @AUDIO_ENABLED
	.comm	_PIN0_AUDIO_ENABLED,4,2         ## @PIN0_AUDIO_ENABLED
	.comm	_PIN1_AUDIO_ENABLED,4,2         ## @PIN1_AUDIO_ENABLED
	.comm	_PIN2_AUDIO_ENABLED,4,2         ## @PIN2_AUDIO_ENABLED
	.comm	_PIN3_AUDIO_ENABLED,4,2         ## @PIN3_AUDIO_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r600_audio_enable              ; -- Begin function r600_audio_enable
	.p2align	2
_r600_audio_enable:                     ; @r600_audio_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, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _AZ_HOT_PLUG_CONTROL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AZ_HOT_PLUG_CONTROL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG32
	cbz	x20, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _AUDIO_ENABLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AUDIO_ENABLED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w19, LBB0_5
; %bb.2:
	orr	w8, w8, w0
	sbfx	w9, w19, #0, #1
Lloh5:
	adrp	x10, _PIN0_AUDIO_ENABLED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PIN0_AUDIO_ENABLED@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w8, w8, w9
	lsl	w9, w19, #30
Lloh8:
	adrp	x10, _PIN1_AUDIO_ENABLED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PIN1_AUDIO_ENABLED@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	orr	w8, w8, w9
	lsl	w9, w19, #29
Lloh11:
	adrp	x10, _PIN2_AUDIO_ENABLED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PIN2_AUDIO_ENABLED@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	orr	w1, w8, w9
	tbz	w19, #3, LBB0_6
; %bb.3:
Lloh14:
	adrp	x8, _PIN3_AUDIO_ENABLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PIN3_AUDIO_ENABLED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w1, w8, w1
	b	LBB0_6
LBB0_4:
	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_5:
Lloh17:
	adrp	x9, _PIN0_AUDIO_ENABLED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PIN0_AUDIO_ENABLED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _PIN1_AUDIO_ENABLED@GOTPAGE
Lloh21:
	ldr	x10, [x10, _PIN1_AUDIO_ENABLED@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh22:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _PIN2_AUDIO_ENABLED@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PIN2_AUDIO_ENABLED@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _PIN3_AUDIO_ENABLED@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PIN3_AUDIO_ENABLED@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w1, w0, w8
LBB0_6:
	ldr	w0, [x21]
	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	_WREG32
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AZ_HOT_PLUG_CONTROL,4,2        ; @AZ_HOT_PLUG_CONTROL
	.comm	_AUDIO_ENABLED,4,2              ; @AUDIO_ENABLED
	.comm	_PIN0_AUDIO_ENABLED,4,2         ; @PIN0_AUDIO_ENABLED
	.comm	_PIN1_AUDIO_ENABLED,4,2         ; @PIN1_AUDIO_ENABLED
	.comm	_PIN2_AUDIO_ENABLED,4,2         ; @PIN2_AUDIO_ENABLED
	.comm	_PIN3_AUDIO_ENABLED,4,2         ; @PIN3_AUDIO_ENABLED
.subsections_via_symbols
