	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdv_intel_edp_backlight_off
_cdv_intel_edp_backlight_off:           ## @cdv_intel_edp_backlight_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	movq	8(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%rbx, %rdi
	callq	_gma_backlight_disable
	movl	$10, %edi
	callq	_msleep
	movq	_PP_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_REG_READ
	movq	_EDP_BLC_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_REG_WRITE
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_msleep                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_PP_CONTROL,4,2                 ## @PP_CONTROL
	.comm	_EDP_BLC_ENABLE,4,2             ## @EDP_BLC_ENABLE
	.no_dead_strip	_cdv_intel_edp_backlight_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdv_intel_edp_backlight_off
_cdv_intel_edp_backlight_off:           ; @cdv_intel_edp_backlight_off
	.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
	ldp	x20, x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	bl	_gma_backlight_disable
	mov	w0, #10
	bl	_msleep
Lloh2:
	adrp	x19, _PP_CONTROL@GOTPAGE
Lloh3:
	ldr	x19, [x19, _PP_CONTROL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_REG_READ
Lloh4:
	adrp	x8, _EDP_BLC_ENABLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EDP_BLC_ENABLE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x19]
	bl	_REG_WRITE
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_msleep
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_PP_CONTROL,4,2                 ; @PP_CONTROL
	.comm	_EDP_BLC_ENABLE,4,2             ; @EDP_BLC_ENABLE
	.no_dead_strip	_cdv_intel_edp_backlight_off
.subsections_via_symbols
