	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csiphy_hw_version_read
_csiphy_hw_version_read:                ## @csiphy_hw_version_read
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_CSIPHY_3PH_CMN_CSI_COMMON_CTRL6_SHOW_REV_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%rdi), %rbx
	movl	$6, %edi
	callq	_CSIPHY_3PH_CMN_CSI_COMMON_CTRLn
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r12), %rbx
	movl	$12, %edi
	callq	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl_relaxed
	movl	%eax, %r15d
	movq	(%r12), %rbx
	movl	$13, %edi
	callq	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl_relaxed
	shll	$8, %eax
	orl	%eax, %r15d
	movq	(%r12), %rbx
	movl	$14, %edi
	callq	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl_relaxed
	movl	%eax, %ebx
	shll	$16, %ebx
	movq	(%r12), %r12
	movl	$15, %edi
	callq	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	addq	%rax, %r12
	movq	%r12, %rdi
	callq	_readl_relaxed
	shll	$24, %eax
	orl	%eax, %ebx
	orl	%r15d, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSIPHY_3PH_CMN_CSI_COMMON_CTRL6_SHOW_REV_ID,4,2 ## @CSIPHY_3PH_CMN_CSI_COMMON_CTRL6_SHOW_REV_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CSIPHY 3PH HW Version = 0x%08x\n"

	.no_dead_strip	_csiphy_hw_version_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csiphy_hw_version_read
_csiphy_hw_version_read:                ; @csiphy_hw_version_read
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CSIPHY_3PH_CMN_CSI_COMMON_CTRL6_SHOW_REV_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSIPHY_3PH_CMN_CSI_COMMON_CTRL6_SHOW_REV_ID@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x22, [x0]
	mov	w0, #6
	bl	_CSIPHY_3PH_CMN_CSI_COMMON_CTRLn
	add	x1, x0, x22
	mov	x0, x21
	bl	_writel
	ldr	x21, [x20]
	mov	w0, #12
	bl	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	add	x0, x0, x21
	bl	_readl_relaxed
	mov	x21, x0
	ldr	x22, [x20]
	mov	w0, #13
	bl	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	add	x0, x0, x22
	bl	_readl_relaxed
	orr	w21, w21, w0, lsl #8
	ldr	x22, [x20]
	mov	w0, #14
	bl	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	add	x0, x0, x22
	bl	_readl_relaxed
	orr	w21, w21, w0, lsl #16
	ldr	x20, [x20]
	mov	w0, #15
	bl	_CSIPHY_3PH_CMN_CSI_COMMON_STATUSn
	add	x0, x0, x20
	bl	_readl_relaxed
	orr	w2, w21, w0, lsl #24
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	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	_dev_err
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSIPHY_3PH_CMN_CSI_COMMON_CTRL6_SHOW_REV_ID,4,2 ; @CSIPHY_3PH_CMN_CSI_COMMON_CTRL6_SHOW_REV_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CSIPHY 3PH HW Version = 0x%08x\n"

	.no_dead_strip	_csiphy_hw_version_read
.subsections_via_symbols
