	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dp_aux_display_control_capable
_intel_dp_aux_display_control_capable:  ## @intel_dp_aux_display_control_capable
	.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
	callq	_enc_to_intel_dp
	movq	(%rax), %rcx
	movq	_DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, 4(%rcx)
	je	LBB0_4
## %bb.1:
	movl	8(%rcx), %ecx
	movq	_DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.2:
	movq	_DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP,4,2 ## @DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP
	.comm	_DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP,4,2 ## @DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP
	.comm	_DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP,4,2 ## @DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AUX Backlight Control Supported!\n"

	.no_dead_strip	_intel_dp_aux_display_control_capable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dp_aux_display_control_capable
_intel_dp_aux_display_control_capable:  ; @intel_dp_aux_display_control_capable
	.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]
	bl	_enc_to_intel_dp
	ldr	x8, [x0]
	ldr	w9, [x8, #4]
Lloh0:
	adrp	x10, _DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x8, #8]
Lloh3:
	adrp	x9, _DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP@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	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP,4,2 ; @DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP
	.comm	_DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP,4,2 ; @DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP
	.comm	_DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP,4,2 ; @DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AUX Backlight Control Supported!\n"

	.no_dead_strip	_intel_dp_aux_display_control_capable
.subsections_via_symbols
