	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mipi_dsi_command_mode_config
_dw_mipi_dsi_command_mode_config:       ## @dw_mipi_dsi_command_mode_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_DSI_TO_CNT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_HSTX_TO_CNT
	movl	%eax, %ebx
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_LPRX_TO_CNT
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dsi_write
	movq	_DSI_BTA_TO_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$3328, %edx                     ## imm = 0xD00
	callq	_dsi_write
	movq	_DSI_MODE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENABLE_CMD_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dsi_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_TO_CNT_CFG,4,2             ## @DSI_TO_CNT_CFG
	.comm	_DSI_BTA_TO_CNT,4,2             ## @DSI_BTA_TO_CNT
	.comm	_DSI_MODE_CFG,4,2               ## @DSI_MODE_CFG
	.comm	_ENABLE_CMD_MODE,4,2            ## @ENABLE_CMD_MODE
	.no_dead_strip	_dw_mipi_dsi_command_mode_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_dsi_command_mode_config
_dw_mipi_dsi_command_mode_config:       ; @dw_mipi_dsi_command_mode_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _DSI_TO_CNT_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSI_TO_CNT_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	w0, #1000
	bl	_HSTX_TO_CNT
	mov	x21, x0
	mov	w0, #1000
	bl	_LPRX_TO_CNT
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_dsi_write
Lloh3:
	adrp	x8, _DSI_BTA_TO_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSI_BTA_TO_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3328
	bl	_dsi_write
Lloh6:
	adrp	x8, _DSI_MODE_CFG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DSI_MODE_CFG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ENABLE_CMD_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENABLE_CMD_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dsi_write
	.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_TO_CNT_CFG,4,2             ; @DSI_TO_CNT_CFG
	.comm	_DSI_BTA_TO_CNT,4,2             ; @DSI_BTA_TO_CNT
	.comm	_DSI_MODE_CFG,4,2               ; @DSI_MODE_CFG
	.comm	_ENABLE_CMD_MODE,4,2            ; @ENABLE_CMD_MODE
	.no_dead_strip	_dw_mipi_dsi_command_mode_config
.subsections_via_symbols
