	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_mipi_video_phy_probe
_exynos_mipi_video_phy_probe:           ## @exynos_mipi_video_phy_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	callq	_of_device_get_match_data
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	%rax, %r13
	cmpl	$0, (%r15)
	je	LBB0_10
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_syscon_regmap_lookup_by_phandle
	movq	24(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	24(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jb	LBB0_6
LBB0_10:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	addq	$16, %rdi
	callq	_spin_lock_init
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_dev_set_drvdata
	cmpl	$0, (%r13)
	je	LBB0_15
## %bb.11:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	_exynos_mipi_video_phy_ops@GOTPCREL(%rip), %rdx
	callq	_devm_phy_create
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r13), %rax
	leaq	(%rax,%r14), %rsi
	movq	%r12, 16(%rax,%r14)
	movl	%ebx, (%rax,%r14)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	addq	%r15, %rcx
	movq	%rcx, 8(%rax,%r14)
	movq	%r12, %rdi
	callq	_phy_set_drvdata
	incq	%rbx
	movl	(%r13), %eax
	addq	$4, %r15
	addq	$24, %r14
	cmpq	%rax, %rbx
	jb	LBB0_12
LBB0_15:
	movq	_exynos_mipi_video_phy_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_devm_of_phy_provider_register
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	24(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	jmp	LBB0_8
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_dev_err
	movq	%r12, %rdi
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_exynos_mipi_video_phy_ops,4,2  ## @exynos_mipi_video_phy_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create PHY %d\n"

	.comm	_exynos_mipi_video_phy_xlate,4,2 ## @exynos_mipi_video_phy_xlate
	.no_dead_strip	_exynos_mipi_video_phy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_mipi_video_phy_probe
_exynos_mipi_video_phy_probe:           ; @exynos_mipi_video_phy_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x22, [x0]
	bl	_of_device_get_match_data
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.2:
	mov	x21, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x23, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x22
	bl	_syscon_regmap_lookup_by_phandle
	ldr	x8, [x21, #24]
	lsl	x9, x23, #3
	str	x0, [x8, x9]
	ldr	x8, [x21, #24]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbnz	x0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	w8, [x20]
	cmp	x23, x8
	b.lo	LBB0_4
LBB0_6:
	ldr	w8, [x20, #4]
	str	w8, [x21]
	add	x0, x21, #16
	bl	_spin_lock_init
	mov	x0, x19
	mov	x1, x21
	bl	_dev_set_drvdata
	ldr	w8, [x21]
	cbz	w8, LBB0_10
; %bb.7:
	mov	x25, #0
	mov	x26, #0
	mov	x22, #0
Lloh3:
	adrp	x23, _exynos_mipi_video_phy_ops@GOTPAGE
Lloh4:
	ldr	x23, [x23, _exynos_mipi_video_phy_ops@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, #0
	mov	x2, x23
	bl	_devm_phy_create
	mov	x24, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21, #8]
	add	x1, x8, x25
	str	w22, [x1]
	ldr	x8, [x20, #8]
	add	x8, x8, x26
	stp	x8, x24, [x1, #8]
	mov	x0, x24
	bl	_phy_set_drvdata
	add	x22, x22, #1
	ldr	w8, [x21]
	add	x26, x26, #4
	add	x25, x25, #24
	cmp	x22, x8
	b.lo	LBB0_8
LBB0_10:
Lloh5:
	adrp	x8, _exynos_mipi_video_phy_xlate@GOTPAGE
Lloh6:
	ldr	x8, [x8, _exynos_mipi_video_phy_xlate@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_of_phy_provider_register
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR_OR_ZERO
LBB0_11:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x8, [x21, #24]
	ldr	x0, [x8, x23, lsl #3]
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_err
	mov	x0, x24
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_exynos_mipi_video_phy_ops,4,2  ; @exynos_mipi_video_phy_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create PHY %d\n"

	.comm	_exynos_mipi_video_phy_xlate,4,2 ; @exynos_mipi_video_phy_xlate
	.no_dead_strip	_exynos_mipi_video_phy_probe
.subsections_via_symbols
