	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csi2rx_probe
_csi2rx_probe:                          ## @csi2rx_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), %esi
	movl	$80, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r14, 72(%r12)
	leaq	64(%r12), %rdi
	callq	_mutex_init
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_csi2rx_get_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:
	movq	%r12, %rdi
	callq	_csi2rx_parse_dt
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %r15
	addq	$32, %r15
	movl	%eax, 48(%r12)
	movq	%r14, 40(%r12)
	movq	_csi2rx_subdev_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_v4l2_subdev_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_v4l2_set_subdevdata
	movl	36(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_V4L2_SUBDEV_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r13, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	_MEDIA_ENT_F_VID_IF_BRIDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	56(%r12), %rdx
	movq	_CSI2RX_PAD_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rdx,%rcx,4)
	movq	_CSI2RX_PAD_SOURCE_STREAM0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CSI2RX_PAD_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %eax
	jae	LBB0_7
## %bb.5:
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %esi
	movl	%esi, (%rdx,%rax,4)
	incq	%rax
	movl	(%rcx), %esi
	cmpq	%rsi, %rax
	jb	LBB0_6
LBB0_7:
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_media_entity_pads_init
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_8
LBB0_10:
	movq	%r12, %rdi
	callq	_v4l2_async_notifier_cleanup
LBB0_11:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	callq	_v4l2_async_register_subdev
	testl	%eax, %eax
	js	LBB0_9
## %bb.13:
	movl	24(%r12), %edx
	movl	16(%r12), %r8d
	movl	20(%r12), %ecx
	cmpq	$0, 8(%r12)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %r9
	cmoveq	%rax, %r9
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	movl	%eax, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_csi2rx_subdev_ops,4,2          ## @csi2rx_subdev_ops
	.comm	_V4L2_SUBDEV_NAME_SIZE,4,2      ## @V4L2_SUBDEV_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.%s"

	.comm	_KBUILD_MODNAME,8,3             ## @KBUILD_MODNAME
	.comm	_MEDIA_ENT_F_VID_IF_BRIDGE,4,2  ## @MEDIA_ENT_F_VID_IF_BRIDGE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_CSI2RX_PAD_SINK,8,3            ## @CSI2RX_PAD_SINK
	.comm	_CSI2RX_PAD_SOURCE_STREAM0,4,2  ## @CSI2RX_PAD_SOURCE_STREAM0
	.comm	_CSI2RX_PAD_MAX,4,2             ## @CSI2RX_PAD_MAX
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
L_.str.1:                               ## @.str.1
	.asciz	"Probed CSI2RX with %u/%u lanes, %u streams, %s D-PHY\n"

L_.str.2:                               ## @.str.2
	.asciz	"internal"

L_.str.3:                               ## @.str.3
	.asciz	"no"

	.no_dead_strip	_csi2rx_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csi2rx_probe
_csi2rx_probe:                          ; @csi2rx_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #80
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	str	x19, [x20, #72]
	add	x0, x20, #64
	bl	_mutex_init
	mov	x0, x20
	mov	x1, x19
	bl	_csi2rx_get_resources
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.2:
	mov	x0, x20
	bl	_csi2rx_parse_dt
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	x21, x20, #32
	str	w8, [x20, #48]
	str	x19, [x20, #40]
Lloh6:
	adrp	x1, _csi2rx_subdev_ops@GOTPAGE
Lloh7:
	ldr	x1, [x1, _csi2rx_subdev_ops@GOTPAGEOFF]
	mov	x0, x21
	bl	_v4l2_subdev_init
	mov	x0, x21
	mov	x1, x19
	bl	_v4l2_set_subdevdata
	ldr	w22, [x20, #36]
Lloh8:
	adrp	x8, _V4L2_SUBDEV_NAME_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_SUBDEV_NAME_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
Lloh11:
	adrp	x8, _KBUILD_MODNAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KBUILD_MODNAME@GOTPAGEOFF]
Lloh13:
	ldr	x24, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x3, x24
	bl	_snprintf
Lloh16:
	adrp	x8, _MEDIA_ENT_F_VID_IF_BRIDGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MEDIA_ENT_F_VID_IF_BRIDGE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _CSI2RX_PAD_SINK@GOTPAGE
Lloh23:
	ldr	x10, [x10, _CSI2RX_PAD_SINK@GOTPAGEOFF]
	ldr	x2, [x20, #56]
Lloh24:
	ldr	x10, [x10]
	str	w9, [x2, x10, lsl #2]
Lloh25:
	adrp	x9, _CSI2RX_PAD_SOURCE_STREAM0@GOTPAGE
Lloh26:
	ldr	x9, [x9, _CSI2RX_PAD_SOURCE_STREAM0@GOTPAGEOFF]
	str	w8, [x20, #32]
Lloh27:
	ldr	w8, [x9]
Lloh28:
	adrp	x9, _CSI2RX_PAD_MAX@GOTPAGE
Lloh29:
	ldr	x9, [x9, _CSI2RX_PAD_MAX@GOTPAGEOFF]
	ldr	w1, [x9]
	cmp	w8, w1
	b.hs	LBB0_6
; %bb.4:
Lloh30:
	adrp	x10, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
LBB0_5:                                 ; =>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_5
LBB0_6:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_media_entity_pads_init
	mov	x22, x0
	cbz	w0, LBB0_11
LBB0_7:
	mov	x0, x20
	bl	_v4l2_async_notifier_cleanup
LBB0_8:
	mov	x0, x20
	bl	_kfree
	b	LBB0_10
LBB0_9:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
	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_11:
	mov	x0, x21
	bl	_v4l2_async_register_subdev
	tbnz	w0, #31, LBB0_13
; %bb.12:
	ldp	w3, w2, [x20, #20]
	ldr	w4, [x20, #16]
	ldr	x8, [x20, #8]
Lloh35:
	adrp	x9, l_.str.2@PAGE
Lloh36:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh37:
	adrp	x10, l_.str.3@PAGE
Lloh38:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x5, x10, x9, eq
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_10
LBB0_13:
	mov	x22, x0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_csi2rx_subdev_ops,4,2          ; @csi2rx_subdev_ops
	.comm	_V4L2_SUBDEV_NAME_SIZE,4,2      ; @V4L2_SUBDEV_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.%s"

	.comm	_KBUILD_MODNAME,8,3             ; @KBUILD_MODNAME
	.comm	_MEDIA_ENT_F_VID_IF_BRIDGE,4,2  ; @MEDIA_ENT_F_VID_IF_BRIDGE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_CSI2RX_PAD_SINK,8,3            ; @CSI2RX_PAD_SINK
	.comm	_CSI2RX_PAD_SOURCE_STREAM0,4,2  ; @CSI2RX_PAD_SOURCE_STREAM0
	.comm	_CSI2RX_PAD_MAX,4,2             ; @CSI2RX_PAD_MAX
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
l_.str.1:                               ; @.str.1
	.asciz	"Probed CSI2RX with %u/%u lanes, %u streams, %s D-PHY\n"

l_.str.2:                               ; @.str.2
	.asciz	"internal"

l_.str.3:                               ; @.str.3
	.asciz	"no"

	.no_dead_strip	_csi2rx_probe
.subsections_via_symbols
