	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_encoder_get_dp_bridge_encoder_id ## -- Begin function amdgpu_encoder_get_dp_bridge_encoder_id
	.p2align	4, 0x90
_amdgpu_encoder_get_dp_bridge_encoder_id: ## @amdgpu_encoder_get_dp_bridge_encoder_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_amdgpu_get_external_encoder
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_to_amdgpu_encoder
	movl	(%rax), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	je	LBB0_3
LBB0_2:
	movq	_ENCODER_OBJECT_ID_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENCODER_OBJECT_ID_NONE,4,2     ## @ENCODER_OBJECT_ID_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_encoder_get_dp_bridge_encoder_id ; -- Begin function amdgpu_encoder_get_dp_bridge_encoder_id
	.p2align	2
_amdgpu_encoder_get_dp_bridge_encoder_id: ; @amdgpu_encoder_get_dp_bridge_encoder_id
	.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
	bl	_amdgpu_get_external_encoder
Lloh0:
	adrp	x19, _ENCODER_OBJECT_ID_NONE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ENCODER_OBJECT_ID_NONE@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_to_amdgpu_encoder
	ldr	w8, [x0]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	csel	x19, x0, x19, eq
LBB0_2:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENCODER_OBJECT_ID_NONE,4,2     ; @ENCODER_OBJECT_ID_NONE
.subsections_via_symbols
