	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mipi_dsi_video_mode_config
_dw_mipi_dsi_video_mode_config:         ## @dw_mipi_dsi_video_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
	movl	(%rdi), %ecx
	movq	_MIPI_DSI_MODE_VIDEO_BURST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_MIPI_DSI_MODE_VIDEO_SYNC_PULSE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_VID_MODE_TYPE_NON_BURST_SYNC_EVENTS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_VID_MODE_TYPE_NON_BURST_SYNC_PULSES@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	_ENABLE_LOW_POWER@GOTPCREL(%rip), %rsi
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_VID_MODE_TYPE_BURST@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %edx
	orl	(%rsi), %edx
	movq	_DSI_VID_MODE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_dsi_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENABLE_LOW_POWER,4,2           ## @ENABLE_LOW_POWER
	.comm	_MIPI_DSI_MODE_VIDEO_BURST,4,2  ## @MIPI_DSI_MODE_VIDEO_BURST
	.comm	_VID_MODE_TYPE_BURST,4,2        ## @VID_MODE_TYPE_BURST
	.comm	_MIPI_DSI_MODE_VIDEO_SYNC_PULSE,4,2 ## @MIPI_DSI_MODE_VIDEO_SYNC_PULSE
	.comm	_VID_MODE_TYPE_NON_BURST_SYNC_PULSES,4,2 ## @VID_MODE_TYPE_NON_BURST_SYNC_PULSES
	.comm	_VID_MODE_TYPE_NON_BURST_SYNC_EVENTS,4,2 ## @VID_MODE_TYPE_NON_BURST_SYNC_EVENTS
	.comm	_DSI_VID_MODE_CFG,4,2           ## @DSI_VID_MODE_CFG
	.comm	_VID_MODE_VPG_ENABLE,4,2        ## @VID_MODE_VPG_ENABLE
	.comm	_VID_MODE_VPG_HORIZONTAL,4,2    ## @VID_MODE_VPG_HORIZONTAL
	.no_dead_strip	_dw_mipi_dsi_video_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_video_mode_config
_dw_mipi_dsi_video_mode_config:         ; @dw_mipi_dsi_video_mode_config
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ENABLE_LOW_POWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENABLE_LOW_POWER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _MIPI_DSI_MODE_VIDEO_BURST@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MIPI_DSI_MODE_VIDEO_BURST@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _MIPI_DSI_MODE_VIDEO_SYNC_PULSE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _MIPI_DSI_MODE_VIDEO_SYNC_PULSE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _VID_MODE_TYPE_NON_BURST_SYNC_EVENTS@GOTPAGE
Lloh10:
	ldr	x12, [x12, _VID_MODE_TYPE_NON_BURST_SYNC_EVENTS@GOTPAGEOFF]
Lloh11:
	adrp	x13, _VID_MODE_TYPE_NON_BURST_SYNC_PULSES@GOTPAGE
Lloh12:
	ldr	x13, [x13, _VID_MODE_TYPE_NON_BURST_SYNC_PULSES@GOTPAGEOFF]
	tst	w11, w9
	csel	x11, x12, x13, eq
Lloh13:
	adrp	x12, _VID_MODE_TYPE_BURST@GOTPAGE
Lloh14:
	ldr	x12, [x12, _VID_MODE_TYPE_BURST@GOTPAGEOFF]
	tst	w10, w9
	csel	x9, x11, x12, eq
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh15:
	adrp	x8, _DSI_VID_MODE_CFG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DSI_VID_MODE_CFG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	b	_dsi_write
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENABLE_LOW_POWER,4,2           ; @ENABLE_LOW_POWER
	.comm	_MIPI_DSI_MODE_VIDEO_BURST,4,2  ; @MIPI_DSI_MODE_VIDEO_BURST
	.comm	_VID_MODE_TYPE_BURST,4,2        ; @VID_MODE_TYPE_BURST
	.comm	_MIPI_DSI_MODE_VIDEO_SYNC_PULSE,4,2 ; @MIPI_DSI_MODE_VIDEO_SYNC_PULSE
	.comm	_VID_MODE_TYPE_NON_BURST_SYNC_PULSES,4,2 ; @VID_MODE_TYPE_NON_BURST_SYNC_PULSES
	.comm	_VID_MODE_TYPE_NON_BURST_SYNC_EVENTS,4,2 ; @VID_MODE_TYPE_NON_BURST_SYNC_EVENTS
	.comm	_DSI_VID_MODE_CFG,4,2           ; @DSI_VID_MODE_CFG
	.comm	_VID_MODE_VPG_ENABLE,4,2        ; @VID_MODE_VPG_ENABLE
	.comm	_VID_MODE_VPG_HORIZONTAL,4,2    ; @VID_MODE_VPG_HORIZONTAL
	.no_dead_strip	_dw_mipi_dsi_video_mode_config
.subsections_via_symbols
