	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_atombios_encoder_get_backlight_level ## -- Begin function amdgpu_atombios_encoder_get_backlight_level
	.p2align	4, 0x90
_amdgpu_atombios_encoder_get_backlight_level: ## @amdgpu_atombios_encoder_get_backlight_level
	.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), %rax
	movq	(%rax), %rdi
	movq	_ATOM_BIOS_INFO_BL_CONTROLLED_BY_GPU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	jmp	_amdgpu_atombios_encoder_get_backlight_level_from_reg ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOM_BIOS_INFO_BL_CONTROLLED_BY_GPU,4,2 ## @ATOM_BIOS_INFO_BL_CONTROLLED_BY_GPU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_atombios_encoder_get_backlight_level ; -- Begin function amdgpu_atombios_encoder_get_backlight_level
	.p2align	2
_amdgpu_atombios_encoder_get_backlight_level: ; @amdgpu_atombios_encoder_get_backlight_level
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x0, [x8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ATOM_BIOS_INFO_BL_CONTROLLED_BY_GPU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATOM_BIOS_INFO_BL_CONTROLLED_BY_GPU@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	b	_amdgpu_atombios_encoder_get_backlight_level_from_reg
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOM_BIOS_INFO_BL_CONTROLLED_BY_GPU,4,2 ; @ATOM_BIOS_INFO_BL_CONTROLLED_BY_GPU
.subsections_via_symbols
