	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csi2tx_probe
_csi2tx_probe:                          ## @csi2tx_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	$96, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	leaq	88(%r12), %rdi
	callq	_mutex_init
	movq	%r14, 80(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_csi2tx_get_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movq	_csi2tx_of_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_of_match_node
	movq	(%rax), %rax
	movq	%rax, 72(%r12)
	movq	%r12, %r13
	addq	$24, %r13
	movq	_csi2tx_subdev_ops@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_v4l2_subdev_init
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	%r14, 40(%r12)
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%r12)
	movl	28(%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), %r15
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	%r12, %rdi
	callq	_csi2tx_check_lanes
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:
	movq	_MEDIA_ENT_F_VID_IF_BRIDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	56(%r12), %rdx
	movq	_CSI2TX_PAD_SOURCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rdx,%rcx,4)
	movq	_CSI2TX_PAD_SINK_STREAM0@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	movq	_CSI2TX_PAD_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %ecx
	jae	LBB0_8
## %bb.5:
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	%esi, (%rdx,%rcx,4)
	incq	%rcx
	movl	(%rax), %esi
	cmpq	%rsi, %rcx
	jb	LBB0_6
## %bb.7:
	movl	(%r8), %ecx
LBB0_8:
	cmpl	%esi, %ecx
	jae	LBB0_11
## %bb.9:
	movq	64(%r12), %rbx
	movl	%ecx, %ecx
	movq	_fmt_default@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %esi
	movl	%esi, (%rbx,%rcx,4)
	incq	%rcx
	movl	(%rax), %esi
	cmpq	%rsi, %rcx
	jb	LBB0_10
LBB0_11:
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_media_entity_pads_init
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
LBB0_14:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_15
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r13, %rdi
	callq	_v4l2_async_register_subdev
	testl	%eax, %eax
	js	LBB0_13
## %bb.16:
	movl	16(%r12), %edx
	movl	8(%r12), %r8d
	movl	12(%r12), %ecx
	cmpq	$0, (%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_15
LBB0_13:
	movl	%eax, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_csi2tx_of_table,4,2            ## @csi2tx_of_table
	.comm	_csi2tx_subdev_ops,4,2          ## @csi2tx_subdev_ops
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.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_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_CSI2TX_PAD_SOURCE,8,3          ## @CSI2TX_PAD_SOURCE
	.comm	_CSI2TX_PAD_SINK_STREAM0,4,2    ## @CSI2TX_PAD_SINK_STREAM0
	.comm	_CSI2TX_PAD_MAX,4,2             ## @CSI2TX_PAD_MAX
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_fmt_default,4,2                ## @fmt_default
L_.str.1:                               ## @.str.1
	.asciz	"Probed CSI2TX 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	_csi2tx_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csi2tx_probe
_csi2tx_probe:                          ; @csi2tx_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, #96
	bl	_kzalloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	add	x0, x20, #88
	bl	_mutex_init
	str	x19, [x20, #80]
	mov	x0, x20
	mov	x1, x19
	bl	_csi2tx_get_resources
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.2:
Lloh3:
	adrp	x8, _csi2tx_of_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _csi2tx_of_table@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_of_match_node
	ldr	x8, [x0]
	str	x8, [x20, #72]
	add	x21, x20, #24
Lloh6:
	adrp	x1, _csi2tx_subdev_ops@GOTPAGE
Lloh7:
	ldr	x1, [x1, _csi2tx_subdev_ops@GOTPAGEOFF]
	mov	x0, x21
	bl	_v4l2_subdev_init
Lloh8:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #48]
Lloh11:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
	str	x19, [x20, #40]
Lloh13:
	ldr	w8, [x8]
	ldp	w22, w9, [x20, #28]
	orr	w8, w9, w8
	str	w8, [x20, #32]
Lloh14:
	adrp	x8, _V4L2_SUBDEV_NAME_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_SUBDEV_NAME_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
Lloh17:
	adrp	x8, _KBUILD_MODNAME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _KBUILD_MODNAME@GOTPAGEOFF]
Lloh19:
	ldr	x24, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x3, x24
	bl	_snprintf
	mov	x0, x20
	bl	_csi2tx_check_lanes
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.3:
Lloh22:
	adrp	x8, _MEDIA_ENT_F_VID_IF_BRIDGE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MEDIA_ENT_F_VID_IF_BRIDGE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _CSI2TX_PAD_SOURCE@GOTPAGE
Lloh29:
	ldr	x10, [x10, _CSI2TX_PAD_SOURCE@GOTPAGEOFF]
	ldr	x2, [x20, #56]
Lloh30:
	ldr	x10, [x10]
	str	w9, [x2, x10, lsl #2]
Lloh31:
	adrp	x10, _CSI2TX_PAD_SINK_STREAM0@GOTPAGE
Lloh32:
	ldr	x10, [x10, _CSI2TX_PAD_SINK_STREAM0@GOTPAGEOFF]
	str	w8, [x20, #24]
	ldr	w9, [x10]
Lloh33:
	adrp	x8, _CSI2TX_PAD_MAX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CSI2TX_PAD_MAX@GOTPAGEOFF]
	ldr	w1, [x8]
	cmp	w9, w1
	b.hs	LBB0_7
; %bb.4:
Lloh35:
	adrp	x11, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh36:
	ldr	x11, [x11, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	str	w12, [x2, x9, lsl #2]
	add	x9, x9, #1
	ldr	w1, [x8]
	cmp	x9, x1
	b.lo	LBB0_5
; %bb.6:
	ldr	w9, [x10]
LBB0_7:
	cmp	w9, w1
	b.hs	LBB0_11
; %bb.8:
	ldr	x10, [x20, #64]
	mov	w9, w9
Lloh37:
	adrp	x11, _fmt_default@GOTPAGE
Lloh38:
	ldr	x11, [x11, _fmt_default@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	str	w12, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldr	w1, [x8]
	cmp	x9, x1
	b.lo	LBB0_9
; %bb.10:
                                        ; kill: def $w1 killed $w1 killed $x1 def $x1
LBB0_11:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_media_entity_pads_init
	mov	x22, x0
	cbz	w0, LBB0_15
LBB0_12:
	mov	x0, x20
	bl	_kfree
	b	LBB0_14
LBB0_13:
Lloh39:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w22, w8
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	x0, x21
	bl	_v4l2_async_register_subdev
	tbnz	w0, #31, LBB0_17
; %bb.16:
	ldp	w3, w2, [x20, #12]
	ldr	w4, [x20, #8]
	ldr	x8, [x20]
Lloh42:
	adrp	x9, l_.str.2@PAGE
Lloh43:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh44:
	adrp	x10, l_.str.3@PAGE
Lloh45:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x5, x10, x9, eq
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_14
LBB0_17:
	mov	x22, x0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_csi2tx_of_table,4,2            ; @csi2tx_of_table
	.comm	_csi2tx_subdev_ops,4,2          ; @csi2tx_subdev_ops
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.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_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_CSI2TX_PAD_SOURCE,8,3          ; @CSI2TX_PAD_SOURCE
	.comm	_CSI2TX_PAD_SINK_STREAM0,4,2    ; @CSI2TX_PAD_SINK_STREAM0
	.comm	_CSI2TX_PAD_MAX,4,2             ; @CSI2TX_PAD_MAX
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_fmt_default,4,2                ; @fmt_default
l_.str.1:                               ; @.str.1
	.asciz	"Probed CSI2TX 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	_csi2tx_probe
.subsections_via_symbols
