	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcde_dsi_te_request            ## -- Begin function mcde_dsi_te_request
	.p2align	4, 0x90
_mcde_dsi_te_request:                   ## @mcde_dsi_te_request
	.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
	movl	(%rdi), %edi
	callq	_host_to_mcde_dsi
	movq	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$2, %edx
	shll	%cl, %edx
	movq	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_NAT_TE_REQ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rax, %rbx
	movq	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_LP_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_DCS_SHORT_WRITE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%edx, %edi
	movq	_DSI_DIRECT_CMD_MAIN_SETTINGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_DSI_DIRECT_CMD_STS_CLR_TE_RECEIVED_CLR@GOTPCREL(%rip), %rax
	movq	_DSI_DIRECT_CMD_STS_CLR_ACKNOWLEDGE_WITH_ERR_RECEIVED_CLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_DSI_DIRECT_CMD_STS_CLR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_DSI_DIRECT_CMD_STS_CTL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_DSI_DIRECT_CMD_STS_CTL_TE_RECEIVED_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DSI_DIRECT_CMD_STS_CTL_ACKNOWLEDGE_WITH_ERR_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_DSI_CMD_MODE_STS_CLR_ERR_NO_TE_CLR@GOTPCREL(%rip), %rax
	movq	_DSI_CMD_MODE_STS_CLR_ERR_TE_MISS_CLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_DSI_CMD_MODE_STS_CLR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_DSI_CMD_MODE_STS_CTL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_DSI_CMD_MODE_STS_CTL_ERR_NO_TE_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DSI_CMD_MODE_STS_CTL_ERR_TE_MISS_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_DSI_DIRECT_CMD_SEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_NAT_TE_REQ,4,2 ## @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_NAT_TE_REQ
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_ID_SHIFT,4,2 ## @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_ID_SHIFT
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT,4,2 ## @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_LP_EN,4,2 ## @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_LP_EN
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_DCS_SHORT_WRITE_1,4,2 ## @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_DCS_SHORT_WRITE_1
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_SHIFT,4,2 ## @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_SHIFT
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS,8,3 ## @DSI_DIRECT_CMD_MAIN_SETTINGS
	.comm	_DSI_DIRECT_CMD_STS_CLR_TE_RECEIVED_CLR,4,2 ## @DSI_DIRECT_CMD_STS_CLR_TE_RECEIVED_CLR
	.comm	_DSI_DIRECT_CMD_STS_CLR_ACKNOWLEDGE_WITH_ERR_RECEIVED_CLR,4,2 ## @DSI_DIRECT_CMD_STS_CLR_ACKNOWLEDGE_WITH_ERR_RECEIVED_CLR
	.comm	_DSI_DIRECT_CMD_STS_CLR,8,3     ## @DSI_DIRECT_CMD_STS_CLR
	.comm	_DSI_DIRECT_CMD_STS_CTL,8,3     ## @DSI_DIRECT_CMD_STS_CTL
	.comm	_DSI_DIRECT_CMD_STS_CTL_TE_RECEIVED_EN,4,2 ## @DSI_DIRECT_CMD_STS_CTL_TE_RECEIVED_EN
	.comm	_DSI_DIRECT_CMD_STS_CTL_ACKNOWLEDGE_WITH_ERR_EN,4,2 ## @DSI_DIRECT_CMD_STS_CTL_ACKNOWLEDGE_WITH_ERR_EN
	.comm	_DSI_CMD_MODE_STS_CLR_ERR_NO_TE_CLR,4,2 ## @DSI_CMD_MODE_STS_CLR_ERR_NO_TE_CLR
	.comm	_DSI_CMD_MODE_STS_CLR_ERR_TE_MISS_CLR,4,2 ## @DSI_CMD_MODE_STS_CLR_ERR_TE_MISS_CLR
	.comm	_DSI_CMD_MODE_STS_CLR,8,3       ## @DSI_CMD_MODE_STS_CLR
	.comm	_DSI_CMD_MODE_STS_CTL,8,3       ## @DSI_CMD_MODE_STS_CTL
	.comm	_DSI_CMD_MODE_STS_CTL_ERR_NO_TE_EN,4,2 ## @DSI_CMD_MODE_STS_CTL_ERR_NO_TE_EN
	.comm	_DSI_CMD_MODE_STS_CTL_ERR_TE_MISS_EN,4,2 ## @DSI_CMD_MODE_STS_CTL_ERR_TE_MISS_EN
	.comm	_DSI_DIRECT_CMD_SEND,8,3        ## @DSI_DIRECT_CMD_SEND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcde_dsi_te_request            ; -- Begin function mcde_dsi_te_request
	.p2align	2
_mcde_dsi_te_request:                   ; @mcde_dsi_te_request
	.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
	ldr	w0, [x0]
	bl	_host_to_mcde_dsi
	mov	x19, x0
Lloh0:
	adrp	x8, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_NAT_TE_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_NAT_TE_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #2
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_LP_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_LP_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_DCS_SHORT_WRITE_1@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_DCS_SHORT_WRITE_1@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
Lloh12:
	adrp	x10, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _DSI_DIRECT_CMD_MAIN_SETTINGS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DSI_DIRECT_CMD_MAIN_SETTINGS@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh18:
	adrp	x8, _DSI_DIRECT_CMD_STS_CLR_TE_RECEIVED_CLR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DSI_DIRECT_CMD_STS_CLR_TE_RECEIVED_CLR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _DSI_DIRECT_CMD_STS_CLR_ACKNOWLEDGE_WITH_ERR_RECEIVED_CLR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DSI_DIRECT_CMD_STS_CLR_ACKNOWLEDGE_WITH_ERR_RECEIVED_CLR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh24:
	adrp	x9, _DSI_DIRECT_CMD_STS_CLR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _DSI_DIRECT_CMD_STS_CLR@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh27:
	adrp	x20, _DSI_DIRECT_CMD_STS_CTL@GOTPAGE
Lloh28:
	ldr	x20, [x20, _DSI_DIRECT_CMD_STS_CTL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh29:
	adrp	x8, _DSI_DIRECT_CMD_STS_CTL_TE_RECEIVED_EN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DSI_DIRECT_CMD_STS_CTL_TE_RECEIVED_EN@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _DSI_DIRECT_CMD_STS_CTL_ACKNOWLEDGE_WITH_ERR_EN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _DSI_DIRECT_CMD_STS_CTL_ACKNOWLEDGE_WITH_ERR_EN@GOTPAGEOFF]
	orr	w8, w8, w0
Lloh34:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
Lloh35:
	adrp	x8, _DSI_CMD_MODE_STS_CLR_ERR_NO_TE_CLR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DSI_CMD_MODE_STS_CLR_ERR_NO_TE_CLR@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _DSI_CMD_MODE_STS_CLR_ERR_TE_MISS_CLR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _DSI_CMD_MODE_STS_CLR_ERR_TE_MISS_CLR@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh41:
	adrp	x9, _DSI_CMD_MODE_STS_CLR@GOTPAGE
Lloh42:
	ldr	x9, [x9, _DSI_CMD_MODE_STS_CLR@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh44:
	adrp	x20, _DSI_CMD_MODE_STS_CTL@GOTPAGE
Lloh45:
	ldr	x20, [x20, _DSI_CMD_MODE_STS_CTL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh46:
	adrp	x8, _DSI_CMD_MODE_STS_CTL_ERR_NO_TE_EN@GOTPAGE
Lloh47:
	ldr	x8, [x8, _DSI_CMD_MODE_STS_CTL_ERR_NO_TE_EN@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _DSI_CMD_MODE_STS_CTL_ERR_TE_MISS_EN@GOTPAGE
Lloh50:
	ldr	x9, [x9, _DSI_CMD_MODE_STS_CTL_ERR_TE_MISS_EN@GOTPAGEOFF]
	orr	w8, w8, w0
Lloh51:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh52:
	adrp	x9, _DSI_DIRECT_CMD_SEND@GOTPAGE
Lloh53:
	ldr	x9, [x9, _DSI_DIRECT_CMD_SEND@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_NAT_TE_REQ,4,2 ; @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_NAT_TE_REQ
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_ID_SHIFT,4,2 ; @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_ID_SHIFT
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT,4,2 ; @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_LP_EN,4,2 ; @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_LP_EN
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_DCS_SHORT_WRITE_1,4,2 ; @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_DCS_SHORT_WRITE_1
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_SHIFT,4,2 ; @DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_HEAD_SHIFT
	.comm	_DSI_DIRECT_CMD_MAIN_SETTINGS,8,3 ; @DSI_DIRECT_CMD_MAIN_SETTINGS
	.comm	_DSI_DIRECT_CMD_STS_CLR_TE_RECEIVED_CLR,4,2 ; @DSI_DIRECT_CMD_STS_CLR_TE_RECEIVED_CLR
	.comm	_DSI_DIRECT_CMD_STS_CLR_ACKNOWLEDGE_WITH_ERR_RECEIVED_CLR,4,2 ; @DSI_DIRECT_CMD_STS_CLR_ACKNOWLEDGE_WITH_ERR_RECEIVED_CLR
	.comm	_DSI_DIRECT_CMD_STS_CLR,8,3     ; @DSI_DIRECT_CMD_STS_CLR
	.comm	_DSI_DIRECT_CMD_STS_CTL,8,3     ; @DSI_DIRECT_CMD_STS_CTL
	.comm	_DSI_DIRECT_CMD_STS_CTL_TE_RECEIVED_EN,4,2 ; @DSI_DIRECT_CMD_STS_CTL_TE_RECEIVED_EN
	.comm	_DSI_DIRECT_CMD_STS_CTL_ACKNOWLEDGE_WITH_ERR_EN,4,2 ; @DSI_DIRECT_CMD_STS_CTL_ACKNOWLEDGE_WITH_ERR_EN
	.comm	_DSI_CMD_MODE_STS_CLR_ERR_NO_TE_CLR,4,2 ; @DSI_CMD_MODE_STS_CLR_ERR_NO_TE_CLR
	.comm	_DSI_CMD_MODE_STS_CLR_ERR_TE_MISS_CLR,4,2 ; @DSI_CMD_MODE_STS_CLR_ERR_TE_MISS_CLR
	.comm	_DSI_CMD_MODE_STS_CLR,8,3       ; @DSI_CMD_MODE_STS_CLR
	.comm	_DSI_CMD_MODE_STS_CTL,8,3       ; @DSI_CMD_MODE_STS_CTL
	.comm	_DSI_CMD_MODE_STS_CTL_ERR_NO_TE_EN,4,2 ; @DSI_CMD_MODE_STS_CTL_ERR_NO_TE_EN
	.comm	_DSI_CMD_MODE_STS_CTL_ERR_TE_MISS_EN,4,2 ; @DSI_CMD_MODE_STS_CTL_ERR_TE_MISS_EN
	.comm	_DSI_DIRECT_CMD_SEND,8,3        ; @DSI_DIRECT_CMD_SEND
.subsections_via_symbols
