	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v8_0_afmt_audio_select_pin
_dce_v8_0_afmt_audio_select_pin:        ## @dce_v8_0_afmt_audio_select_pin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_to_amdgpu_encoder
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	movq	_mmAFMT_AUDIO_SRC_CONTROL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	addq	8(%rax), %rdi
	movl	(%rcx), %esi
	movq	_AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmAFMT_AUDIO_SRC_CONTROL,8,3   ## @mmAFMT_AUDIO_SRC_CONTROL
	.comm	_AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT,4,2 ## @AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT
	.no_dead_strip	_dce_v8_0_afmt_audio_select_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v8_0_afmt_audio_select_pin
_dce_v8_0_afmt_audio_select_pin:        ; @dce_v8_0_afmt_audio_select_pin
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_to_amdgpu_encoder
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	x8, [x8, #8]
Lloh0:
	adrp	x10, _mmAFMT_AUDIO_SRC_CONTROL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _mmAFMT_AUDIO_SRC_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x0, x10, x8
	ldr	w8, [x9]
Lloh3:
	adrp	x9, _AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w1, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WREG32
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmAFMT_AUDIO_SRC_CONTROL,8,3   ; @mmAFMT_AUDIO_SRC_CONTROL
	.comm	_AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT,4,2 ; @AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT
	.no_dead_strip	_dce_v8_0_afmt_audio_select_pin
.subsections_via_symbols
