	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dsi_dcs_init_backlight_funcs ## -- Begin function intel_dsi_dcs_init_backlight_funcs
	.p2align	4, 0x90
_intel_dsi_dcs_init_backlight_funcs:    ## @intel_dsi_dcs_init_backlight_funcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	callq	_to_i915
	movq	(%rax), %rax
	movq	_INTEL_BACKLIGHT_DSI_DCS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movq	_INTEL_OUTPUT_DSI@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_dcs_setup_backlight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_dcs_enable_backlight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_dcs_disable_backlight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_dcs_set_backlight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_dcs_get_backlight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_BACKLIGHT_DSI_DCS,8,3    ## @INTEL_BACKLIGHT_DSI_DCS
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_INTEL_OUTPUT_DSI,8,3           ## @INTEL_OUTPUT_DSI
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_dcs_setup_backlight,4,2        ## @dcs_setup_backlight
	.comm	_dcs_enable_backlight,4,2       ## @dcs_enable_backlight
	.comm	_dcs_disable_backlight,4,2      ## @dcs_disable_backlight
	.comm	_dcs_set_backlight,4,2          ## @dcs_set_backlight
	.comm	_dcs_get_backlight,4,2          ## @dcs_get_backlight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dsi_dcs_init_backlight_funcs ; -- Begin function intel_dsi_dcs_init_backlight_funcs
	.p2align	2
_intel_dsi_dcs_init_backlight_funcs:    ; @intel_dsi_dcs_init_backlight_funcs
	.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
	mov	x19, x0
	ldr	x0, [x0, #32]
	bl	_to_i915
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _INTEL_BACKLIGHT_DSI_DCS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTEL_BACKLIGHT_DSI_DCS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _INTEL_OUTPUT_DSI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTEL_OUTPUT_DSI@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _dcs_setup_backlight@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dcs_setup_backlight@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh13:
	adrp	x8, _dcs_enable_backlight@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dcs_enable_backlight@GOTPAGEOFF]
Lloh15:
	adrp	x9, _dcs_disable_backlight@GOTPAGE
Lloh16:
	ldr	x9, [x9, _dcs_disable_backlight@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh19:
	adrp	x8, _dcs_set_backlight@GOTPAGE
Lloh20:
	ldr	x8, [x8, _dcs_set_backlight@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _dcs_get_backlight@GOTPAGE
Lloh23:
	ldr	x9, [x9, _dcs_get_backlight@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_BACKLIGHT_DSI_DCS,8,3    ; @INTEL_BACKLIGHT_DSI_DCS
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_INTEL_OUTPUT_DSI,8,3           ; @INTEL_OUTPUT_DSI
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_dcs_setup_backlight,4,2        ; @dcs_setup_backlight
	.comm	_dcs_enable_backlight,4,2       ; @dcs_enable_backlight
	.comm	_dcs_disable_backlight,4,2      ; @dcs_disable_backlight
	.comm	_dcs_set_backlight,4,2          ; @dcs_set_backlight
	.comm	_dcs_get_backlight,4,2          ; @dcs_get_backlight
.subsections_via_symbols
