	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csi2tx_dphy_init_finish
_csi2tx_dphy_init_finish:               ## @csi2tx_dphy_init_finish
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$10, %edi
	callq	_udelay
	movq	_CSI2TX_DPHY_CFG_CLK_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	decq	%rdi
	callq	_CSI2TX_DPHY_CFG_LANE_ENABLE
	orl	%eax, %r15d
	incq	%rbx
	movl	(%r14), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_CSI2TX_DPHY_CFG_REG@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	8(%r14), %rsi
	movl	%r15d, %edi
	callq	_writel
	movl	$10, %edi
	callq	_udelay
	movq	_CSI2TX_DPHY_CFG_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%r15d, %edi
	movq	_CSI2TX_DPHY_CFG_MODE_HS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	8(%r14), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSI2TX_DPHY_CFG_CLK_ENABLE,4,2 ## @CSI2TX_DPHY_CFG_CLK_ENABLE
	.comm	_CSI2TX_DPHY_CFG_REG,8,3        ## @CSI2TX_DPHY_CFG_REG
	.comm	_CSI2TX_DPHY_CFG_MODE_MASK,4,2  ## @CSI2TX_DPHY_CFG_MODE_MASK
	.comm	_CSI2TX_DPHY_CFG_MODE_HS,4,2    ## @CSI2TX_DPHY_CFG_MODE_HS
	.no_dead_strip	_csi2tx_dphy_init_finish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csi2tx_dphy_init_finish
_csi2tx_dphy_init_finish:               ; @csi2tx_dphy_init_finish
	.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	x20, x1
	mov	x19, x0
	mov	w0, #10
	bl	_udelay
Lloh0:
	adrp	x8, _CSI2TX_DPHY_CFG_CLK_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSI2TX_DPHY_CFG_CLK_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w20, w8, w20
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x21, lsl #3]
	sub	x0, x8, #1
	bl	_CSI2TX_DPHY_CFG_LANE_ENABLE
	orr	w20, w0, w20
	add	x21, x21, #1
	ldr	w8, [x19]
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x21, _CSI2TX_DPHY_CFG_REG@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CSI2TX_DPHY_CFG_REG@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
	mov	w0, #10
	bl	_udelay
Lloh5:
	adrp	x8, _CSI2TX_DPHY_CFG_MODE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CSI2TX_DPHY_CFG_MODE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w8, w20, w8
Lloh8:
	adrp	x9, _CSI2TX_DPHY_CFG_MODE_HS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CSI2TX_DPHY_CFG_MODE_HS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	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	_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CSI2TX_DPHY_CFG_CLK_ENABLE,4,2 ; @CSI2TX_DPHY_CFG_CLK_ENABLE
	.comm	_CSI2TX_DPHY_CFG_REG,8,3        ; @CSI2TX_DPHY_CFG_REG
	.comm	_CSI2TX_DPHY_CFG_MODE_MASK,4,2  ; @CSI2TX_DPHY_CFG_MODE_MASK
	.comm	_CSI2TX_DPHY_CFG_MODE_HS,4,2    ; @CSI2TX_DPHY_CFG_MODE_HS
	.no_dead_strip	_csi2tx_dphy_init_finish
.subsections_via_symbols
