	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_atombios_encoder_get_bpc
_amdgpu_atombios_encoder_get_bpc:       ## @amdgpu_atombios_encoder_get_bpc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_to_amdgpu_crtc
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	movl	$8, %eax
LBB0_3:
	rorl	%eax
	cmpl	$8, %eax
	ja	LBB0_4
## %bb.5:
	cltq
	leaq	l_switch.table.amdgpu_atombios_encoder_get_bpc(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_PANEL_8BIT_PER_COLOR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PANEL_BPC_UNDEFINE,4,2         ## @PANEL_BPC_UNDEFINE
	.comm	_PANEL_6BIT_PER_COLOR,4,2       ## @PANEL_6BIT_PER_COLOR
	.comm	_PANEL_8BIT_PER_COLOR,4,2       ## @PANEL_8BIT_PER_COLOR
	.comm	_PANEL_10BIT_PER_COLOR,4,2      ## @PANEL_10BIT_PER_COLOR
	.comm	_PANEL_12BIT_PER_COLOR,4,2      ## @PANEL_12BIT_PER_COLOR
	.comm	_PANEL_16BIT_PER_COLOR,4,2      ## @PANEL_16BIT_PER_COLOR
	.no_dead_strip	_amdgpu_atombios_encoder_get_bpc
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.amdgpu_atombios_encoder_get_bpc
l_switch.table.amdgpu_atombios_encoder_get_bpc:
	.quad	_PANEL_BPC_UNDEFINE
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_6BIT_PER_COLOR
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_10BIT_PER_COLOR
	.quad	_PANEL_12BIT_PER_COLOR
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_16BIT_PER_COLOR

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_atombios_encoder_get_bpc
_amdgpu_atombios_encoder_get_bpc:       ; @amdgpu_atombios_encoder_get_bpc
	.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
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_to_amdgpu_crtc
	ldr	w8, [x0]
	b	LBB0_3
LBB0_2:
	mov	w8, #8
LBB0_3:
	ror	w8, w8, #1
	cmp	w8, #8
	b.hi	LBB0_5
; %bb.4:
Lloh0:
	adrp	x9, l_switch.table.amdgpu_atombios_encoder_get_bpc@PAGE
Lloh1:
	add	x9, x9, l_switch.table.amdgpu_atombios_encoder_get_bpc@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _PANEL_8BIT_PER_COLOR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PANEL_8BIT_PER_COLOR@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PANEL_BPC_UNDEFINE,4,2         ; @PANEL_BPC_UNDEFINE
	.comm	_PANEL_6BIT_PER_COLOR,4,2       ; @PANEL_6BIT_PER_COLOR
	.comm	_PANEL_8BIT_PER_COLOR,4,2       ; @PANEL_8BIT_PER_COLOR
	.comm	_PANEL_10BIT_PER_COLOR,4,2      ; @PANEL_10BIT_PER_COLOR
	.comm	_PANEL_12BIT_PER_COLOR,4,2      ; @PANEL_12BIT_PER_COLOR
	.comm	_PANEL_16BIT_PER_COLOR,4,2      ; @PANEL_16BIT_PER_COLOR
	.no_dead_strip	_amdgpu_atombios_encoder_get_bpc
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.amdgpu_atombios_encoder_get_bpc
l_switch.table.amdgpu_atombios_encoder_get_bpc:
	.quad	_PANEL_BPC_UNDEFINE
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_6BIT_PER_COLOR
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_10BIT_PER_COLOR
	.quad	_PANEL_12BIT_PER_COLOR
	.quad	_PANEL_8BIT_PER_COLOR
	.quad	_PANEL_16BIT_PER_COLOR

.subsections_via_symbols
