	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcsi2_probe
_rcsi2_probe:                           ## @rcsi2_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movl	%eax, 76(%r12)
	movq	_r8a7795@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_soc_device_match
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	movl	%eax, 76(%r12)
LBB0_4:
	movq	%r14, 8(%r12)
	leaq	72(%r12), %rdi
	callq	_mutex_init
	movq	$0, 64(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_rcsi2_probe_resources
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_6:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	movq	%r12, %rdi
	callq	_rcsi2_parse_dt
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rbx
	addq	$16, %rbx
	movl	%eax, 48(%r12)
	movq	%r14, 40(%r12)
	movq	_rcar_csi2_subdev_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_subdev_init
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_v4l2_set_subdevdata
	movl	36(%r12), %r13d
	movq	_V4L2_SUBDEV_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	_MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	_rcar_csi2_entity_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r12)
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	56(%r12), %rdx
	movq	_RCAR_CSI2_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rdx,%rcx,4)
	movq	_RCAR_CSI2_SOURCE_VC0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_NR_OF_RCAR_CSI2_PAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %eax
	jae	LBB0_10
## %bb.8:
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %esi
	movl	%esi, (%rdx,%rax,4)
	incq	%rax
	movl	(%rcx), %esi
	cmpq	%rsi, %rax
	jb	LBB0_9
LBB0_10:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_media_entity_pads_init
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_11
LBB0_13:
	movq	%r12, %rdi
	callq	_v4l2_async_notifier_unregister
	movq	%r12, %rdi
	callq	_v4l2_async_notifier_cleanup
	jmp	LBB0_14
LBB0_11:
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r15, %rdi
	callq	_v4l2_async_register_subdev
	testl	%eax, %eax
	js	LBB0_12
## %bb.15:
	movq	8(%r12), %rdi
	movl	4(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_info
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%eax, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_r8a7795,4,2                    ## @r8a7795
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get resources\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_rcar_csi2_subdev_ops,4,2       ## @rcar_csi2_subdev_ops
	.comm	_V4L2_SUBDEV_NAME_SIZE,4,2      ## @V4L2_SUBDEV_NAME_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"%s %s"

	.comm	_KBUILD_MODNAME,8,3             ## @KBUILD_MODNAME
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER,4,2 ## @MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER
	.comm	_rcar_csi2_entity_ops,4,2       ## @rcar_csi2_entity_ops
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_RCAR_CSI2_SINK,8,3             ## @RCAR_CSI2_SINK
	.comm	_RCAR_CSI2_SOURCE_VC0,4,2       ## @RCAR_CSI2_SOURCE_VC0
	.comm	_NR_OF_RCAR_CSI2_PAD,4,2        ## @NR_OF_RCAR_CSI2_PAD
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
L_.str.2:                               ## @.str.2
	.asciz	"%d lanes found\n"

	.no_dead_strip	_rcsi2_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcsi2_probe
_rcsi2_probe:                           ; @rcsi2_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_of_device_get_match_data
	str	w0, [x19, #76]
Lloh3:
	adrp	x8, _r8a7795@GOTPAGE
Lloh4:
	ldr	x8, [x8, _r8a7795@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_soc_device_match
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x0]
	str	w8, [x19, #76]
LBB0_3:
	str	x20, [x19, #8]
	add	x0, x19, #72
	bl	_mutex_init
	str	xzr, [x19, #64]
	mov	x0, x19
	mov	x1, x20
	bl	_rcsi2_probe_resources
	cbz	w0, LBB0_6
; %bb.4:
	mov	x22, x0
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_14
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_14
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_rcsi2_parse_dt
	mov	x22, x0
	cbnz	w0, LBB0_14
; %bb.7:
Lloh11:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	x21, x19, #16
	str	w8, [x19, #48]
	str	x20, [x19, #40]
Lloh14:
	adrp	x1, _rcar_csi2_subdev_ops@GOTPAGE
Lloh15:
	ldr	x1, [x1, _rcar_csi2_subdev_ops@GOTPAGEOFF]
	mov	x0, x21
	bl	_v4l2_subdev_init
	mov	x0, x21
	mov	x1, x20
	bl	_v4l2_set_subdevdata
	ldr	w22, [x19, #36]
Lloh16:
	adrp	x8, _V4L2_SUBDEV_NAME_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_SUBDEV_NAME_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
Lloh19:
	adrp	x8, _KBUILD_MODNAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KBUILD_MODNAME@GOTPAGEOFF]
Lloh21:
	ldr	x24, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x3, x24
	bl	_snprintf
Lloh24:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh27:
	adrp	x8, _MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _rcar_csi2_entity_ops@GOTPAGE
Lloh31:
	ldr	x9, [x9, _rcar_csi2_entity_ops@GOTPAGEOFF]
	str	w8, [x19, #24]
Lloh32:
	adrp	x8, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x10, _RCAR_CSI2_SINK@GOTPAGE
Lloh36:
	ldr	x10, [x10, _RCAR_CSI2_SINK@GOTPAGEOFF]
	ldr	x2, [x19, #56]
Lloh37:
	ldr	x10, [x10]
	str	w8, [x2, x10, lsl #2]
Lloh38:
	adrp	x8, _RCAR_CSI2_SOURCE_VC0@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RCAR_CSI2_SOURCE_VC0@GOTPAGEOFF]
	str	x9, [x19, #16]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _NR_OF_RCAR_CSI2_PAD@GOTPAGE
Lloh42:
	ldr	x9, [x9, _NR_OF_RCAR_CSI2_PAD@GOTPAGEOFF]
	ldr	w1, [x9]
	cmp	w8, w1
	b.hs	LBB0_10
; %bb.8:
Lloh43:
	adrp	x10, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh44:
	ldr	x10, [x10, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x2, x8, lsl #2]
	add	x8, x8, #1
	ldr	w1, [x9]
	cmp	x8, x1
	b.lo	LBB0_9
LBB0_10:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_media_entity_pads_init
	mov	x22, x0
	cbz	w0, LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_v4l2_async_notifier_unregister
	mov	x0, x19
	bl	_v4l2_async_notifier_cleanup
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_pm_runtime_enable
	mov	x0, x21
	bl	_v4l2_async_register_subdev
	tbnz	w0, #31, LBB0_15
; %bb.13:
	ldr	x0, [x19, #8]
	ldr	w2, [x19, #4]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_info
	mov	w22, #0
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x22, x0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_r8a7795,4,2                    ; @r8a7795
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get resources\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_rcar_csi2_subdev_ops,4,2       ; @rcar_csi2_subdev_ops
	.comm	_V4L2_SUBDEV_NAME_SIZE,4,2      ; @V4L2_SUBDEV_NAME_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"%s %s"

	.comm	_KBUILD_MODNAME,8,3             ; @KBUILD_MODNAME
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER,4,2 ; @MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER
	.comm	_rcar_csi2_entity_ops,4,2       ; @rcar_csi2_entity_ops
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_RCAR_CSI2_SINK,8,3             ; @RCAR_CSI2_SINK
	.comm	_RCAR_CSI2_SOURCE_VC0,4,2       ; @RCAR_CSI2_SOURCE_VC0
	.comm	_NR_OF_RCAR_CSI2_PAD,4,2        ; @NR_OF_RCAR_CSI2_PAD
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
l_.str.2:                               ; @.str.2
	.asciz	"%d lanes found\n"

	.no_dead_strip	_rcsi2_probe
.subsections_via_symbols
