	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mipi_dsi_dphy_timing_config
_dw_mipi_dsi_dphy_timing_config:        ## @dw_mipi_dsi_dphy_timing_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_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dsi_read
	movq	_VERSION@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_HWVER_131@GOTPCREL(%rip), %rcx
	movq	_DSI_PHY_TMR_CFG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	cmpl	(%rcx), %eax
	jge	LBB0_1
## %bb.2:
	movl	$64, %edi
	callq	_PHY_HS2LP_TIME
	movl	%eax, %ebx
	movl	$64, %edi
	callq	_PHY_LP2HS_TIME
	orl	%eax, %ebx
	movl	$10000, %edi                    ## imm = 0x2710
	callq	_MAX_RD_TIME
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_1:
	movl	$64, %edi
	callq	_PHY_HS2LP_TIME_V131
	movl	%eax, %ebx
	movl	$64, %edi
	callq	_PHY_LP2HS_TIME_V131
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dsi_write
	movq	_DSI_PHY_TMR_RD_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$10000, %edi                    ## imm = 0x2710
	callq	_MAX_RD_TIME_V131
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
LBB0_3:
	callq	_dsi_write
	movq	_DSI_PHY_TMR_LPCLK_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$64, %edi
	callq	_PHY_CLKHS2LP_TIME
	movl	%eax, %ebx
	movl	$64, %edi
	callq	_PHY_CLKLP2HS_TIME
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dsi_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_VERSION,4,2                ## @DSI_VERSION
	.comm	_VERSION,4,2                    ## @VERSION
	.comm	_HWVER_131,4,2                  ## @HWVER_131
	.comm	_DSI_PHY_TMR_CFG,4,2            ## @DSI_PHY_TMR_CFG
	.comm	_DSI_PHY_TMR_RD_CFG,4,2         ## @DSI_PHY_TMR_RD_CFG
	.comm	_DSI_PHY_TMR_LPCLK_CFG,4,2      ## @DSI_PHY_TMR_LPCLK_CFG
	.no_dead_strip	_dw_mipi_dsi_dphy_timing_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_dphy_timing_config
_dw_mipi_dsi_dphy_timing_config:        ; @dw_mipi_dsi_dphy_timing_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_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSI_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_dsi_read
Lloh3:
	adrp	x8, _VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _HWVER_131@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HWVER_131@GOTPAGEOFF]
	and	w8, w8, w0
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _DSI_PHY_TMR_CFG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DSI_PHY_TMR_CFG@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x10]
	mov	w0, #64
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
	bl	_PHY_HS2LP_TIME
	mov	x21, x0
	mov	w0, #64
	bl	_PHY_LP2HS_TIME
	orr	w21, w0, w21
	mov	w0, #10000
	bl	_MAX_RD_TIME
	orr	w2, w21, w0
	b	LBB0_3
LBB0_2:
	bl	_PHY_HS2LP_TIME_V131
	mov	x21, x0
	mov	w0, #64
	bl	_PHY_LP2HS_TIME_V131
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_dsi_write
Lloh12:
	adrp	x8, _DSI_PHY_TMR_RD_CFG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DSI_PHY_TMR_RD_CFG@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	mov	w0, #10000
	bl	_MAX_RD_TIME_V131
	mov	x2, x0
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_dsi_write
Lloh15:
	adrp	x8, _DSI_PHY_TMR_LPCLK_CFG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DSI_PHY_TMR_LPCLK_CFG@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	mov	w0, #64
	bl	_PHY_CLKHS2LP_TIME
	mov	x21, x0
	mov	w0, #64
	bl	_PHY_CLKLP2HS_TIME
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_VERSION,4,2                ; @DSI_VERSION
	.comm	_VERSION,4,2                    ; @VERSION
	.comm	_HWVER_131,4,2                  ; @HWVER_131
	.comm	_DSI_PHY_TMR_CFG,4,2            ; @DSI_PHY_TMR_CFG
	.comm	_DSI_PHY_TMR_RD_CFG,4,2         ; @DSI_PHY_TMR_RD_CFG
	.comm	_DSI_PHY_TMR_LPCLK_CFG,4,2      ; @DSI_PHY_TMR_LPCLK_CFG
	.no_dead_strip	_dw_mipi_dsi_dphy_timing_config
.subsections_via_symbols
