	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_video_backlight_support   ## -- Begin function acpi_video_backlight_support
	.p2align	4, 0x90
_acpi_video_backlight_support:          ## @acpi_video_backlight_support
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_acpi_video_caps_checked@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_acpi_video_get_capabilities
LBB0_2:
	movq	_acpi_video_support@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_3
LBB0_8:
	popq	%rbp
	retq
LBB0_3:
	movq	_ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.4:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_ACPI_VIDEO_BACKLIGHT_DMI_VENDOR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_8
## %bb.6:
	movq	_ACPI_VIDEO_BACKLIGHT_DMI_VIDEO@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	testl	%ecx, (%rdx)
	jne	LBB0_8
## %bb.7:
	movq	_ACPI_VIDEO_BACKLIGHT@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi_video_caps_checked,4,2    ## @acpi_video_caps_checked
	.comm	_acpi_video_support,4,2         ## @acpi_video_support
	.comm	_ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR,4,2 ## @ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR
	.comm	_ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO,4,2 ## @ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO
	.comm	_ACPI_VIDEO_BACKLIGHT_DMI_VENDOR,4,2 ## @ACPI_VIDEO_BACKLIGHT_DMI_VENDOR
	.comm	_ACPI_VIDEO_BACKLIGHT_DMI_VIDEO,4,2 ## @ACPI_VIDEO_BACKLIGHT_DMI_VIDEO
	.comm	_ACPI_VIDEO_BACKLIGHT,4,2       ## @ACPI_VIDEO_BACKLIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_video_backlight_support   ; -- Begin function acpi_video_backlight_support
	.p2align	2
_acpi_video_backlight_support:          ; @acpi_video_backlight_support
	.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
Lloh0:
	adrp	x8, _acpi_video_caps_checked@GOTPAGE
Lloh1:
	ldr	x8, [x8, _acpi_video_caps_checked@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, #0
	bl	_acpi_video_get_capabilities
LBB0_2:
Lloh3:
	adrp	x8, _acpi_video_support@GOTPAGE
Lloh4:
	ldr	x8, [x8, _acpi_video_support@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh9:
	adrp	x9, _ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh12:
	adrp	x9, _ACPI_VIDEO_BACKLIGHT_DMI_VENDOR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ACPI_VIDEO_BACKLIGHT_DMI_VENDOR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.7:
Lloh15:
	adrp	x9, _ACPI_VIDEO_BACKLIGHT_DMI_VIDEO@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ACPI_VIDEO_BACKLIGHT_DMI_VIDEO@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.8:
Lloh18:
	adrp	x9, _ACPI_VIDEO_BACKLIGHT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ACPI_VIDEO_BACKLIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi_video_caps_checked,4,2    ; @acpi_video_caps_checked
	.comm	_acpi_video_support,4,2         ; @acpi_video_support
	.comm	_ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR,4,2 ; @ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR
	.comm	_ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO,4,2 ; @ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO
	.comm	_ACPI_VIDEO_BACKLIGHT_DMI_VENDOR,4,2 ; @ACPI_VIDEO_BACKLIGHT_DMI_VENDOR
	.comm	_ACPI_VIDEO_BACKLIGHT_DMI_VIDEO,4,2 ; @ACPI_VIDEO_BACKLIGHT_DMI_VIDEO
	.comm	_ACPI_VIDEO_BACKLIGHT,4,2       ; @ACPI_VIDEO_BACKLIGHT
.subsections_via_symbols
