	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mipi_message_config
_dw_mipi_message_config:                ## @dw_mipi_message_config
	.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
	movl	(%rsi), %eax
	movq	_MIPI_DSI_MSG_USE_LPM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	movq	_MIPI_DSI_MSG_REQ_ACK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_ACK_RQST_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	xorl	%edx, %edx
	testl	%ebx, %ebx
	movq	_CMD_MODE_ALL_LP@GOTPCREL(%rip), %rcx
	cmovnel	(%rcx), %ebx
	movq	_DSI_LPCLK_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_PHY_TXREQUESTCLKHS@GOTPCREL(%rip), %rcx
	cmovel	(%rcx), %edx
	orl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dsi_write
	movq	_DSI_CMD_MODE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dsi_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPI_DSI_MSG_USE_LPM,4,2       ## @MIPI_DSI_MSG_USE_LPM
	.comm	_MIPI_DSI_MSG_REQ_ACK,4,2       ## @MIPI_DSI_MSG_REQ_ACK
	.comm	_ACK_RQST_EN,4,2                ## @ACK_RQST_EN
	.comm	_CMD_MODE_ALL_LP,4,2            ## @CMD_MODE_ALL_LP
	.comm	_DSI_LPCLK_CTRL,4,2             ## @DSI_LPCLK_CTRL
	.comm	_PHY_TXREQUESTCLKHS,4,2         ## @PHY_TXREQUESTCLKHS
	.comm	_DSI_CMD_MODE_CFG,4,2           ## @DSI_CMD_MODE_CFG
	.no_dead_strip	_dw_mipi_message_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_mipi_message_config
_dw_mipi_message_config:                ; @dw_mipi_message_config
	.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	w8, [x1]
Lloh0:
	adrp	x9, _MIPI_DSI_MSG_USE_LPM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIPI_DSI_MSG_USE_LPM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MIPI_DSI_MSG_REQ_ACK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MIPI_DSI_MSG_REQ_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _ACK_RQST_EN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ACK_RQST_EN@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w10, w8
Lloh9:
	adrp	x10, _CMD_MODE_ALL_LP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CMD_MODE_ALL_LP@GOTPAGEOFF]
	csel	w11, wzr, w11, eq
Lloh11:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w8, wzr, w10, eq
Lloh12:
	adrp	x9, _DSI_LPCLK_CTRL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DSI_LPCLK_CTRL@GOTPAGEOFF]
	orr	w20, w11, w8
Lloh14:
	ldr	w1, [x9]
Lloh15:
	adrp	x8, _PHY_TXREQUESTCLKHS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PHY_TXREQUESTCLKHS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	csel	w2, w8, wzr, eq
	bl	_dsi_write
Lloh18:
	adrp	x8, _DSI_CMD_MODE_CFG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DSI_CMD_MODE_CFG@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dsi_write
	.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	_MIPI_DSI_MSG_USE_LPM,4,2       ; @MIPI_DSI_MSG_USE_LPM
	.comm	_MIPI_DSI_MSG_REQ_ACK,4,2       ; @MIPI_DSI_MSG_REQ_ACK
	.comm	_ACK_RQST_EN,4,2                ; @ACK_RQST_EN
	.comm	_CMD_MODE_ALL_LP,4,2            ; @CMD_MODE_ALL_LP
	.comm	_DSI_LPCLK_CTRL,4,2             ; @DSI_LPCLK_CTRL
	.comm	_PHY_TXREQUESTCLKHS,4,2         ; @PHY_TXREQUESTCLKHS
	.comm	_DSI_CMD_MODE_CFG,4,2           ; @DSI_CMD_MODE_CFG
	.no_dead_strip	_dw_mipi_message_config
.subsections_via_symbols
