	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_lite_create_capture_subdev
_fimc_lite_create_capture_subdev:       ## @fimc_lite_create_capture_subdev
	.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, %rbx
	leaq	16(%rdi), %r14
	movq	_fimc_lite_subdev_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_v4l2_subdev_init
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 60(%rbx)
	movl	(%rbx), %ecx
	movl	56(%rbx), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rdx
	movq	_FLITE_SD_PAD_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rdx,%rcx,8)
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_FLITE_SD_PAD_SOURCE_DMA@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdx,%rsi,8)
	movq	(%rax), %rax
	movq	_FLITE_SD_PAD_SOURCE_ISP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rdx,%rcx,8)
	leaq	24(%rbx), %r12
	movq	_FLITE_SD_PADS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_media_entity_pads_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	leaq	64(%rbx), %r13
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_fimc_lite_ctrl@GOTPCREL(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_v4l2_ctrl_new_custom
	movl	%eax, 4(%rbx)
	cmpl	$0, 64(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_media_entity_cleanup
	movl	(%r13), %r15d
	jmp	LBB0_4
LBB0_3:
	movq	%r13, 48(%rbx)
	movq	_fimc_lite_subdev_internal_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_MEDIA_ENT_F_PROC_VIDEO_SCALER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_fimc_lite_subdev_media_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_set_subdevdata
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fimc_lite_subdev_ops,4,2       ## @fimc_lite_subdev_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FIMC-LITE.%d"

	.comm	_MEDIA_PAD_FL_SINK,8,3          ## @MEDIA_PAD_FL_SINK
	.comm	_FLITE_SD_PAD_SINK,8,3          ## @FLITE_SD_PAD_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ## @MEDIA_PAD_FL_SOURCE
	.comm	_FLITE_SD_PAD_SOURCE_DMA,8,3    ## @FLITE_SD_PAD_SOURCE_DMA
	.comm	_FLITE_SD_PAD_SOURCE_ISP,8,3    ## @FLITE_SD_PAD_SOURCE_ISP
	.comm	_FLITE_SD_PADS_NUM,4,2          ## @FLITE_SD_PADS_NUM
	.comm	_fimc_lite_ctrl,4,2             ## @fimc_lite_ctrl
	.comm	_fimc_lite_subdev_internal_ops,4,2 ## @fimc_lite_subdev_internal_ops
	.comm	_MEDIA_ENT_F_PROC_VIDEO_SCALER,4,2 ## @MEDIA_ENT_F_PROC_VIDEO_SCALER
	.comm	_fimc_lite_subdev_media_ops,4,2 ## @fimc_lite_subdev_media_ops
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_fimc_lite_create_capture_subdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_lite_create_capture_subdev
_fimc_lite_create_capture_subdev:       ; @fimc_lite_create_capture_subdev
	.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, x0
	add	x20, x0, #16
Lloh0:
	adrp	x1, _fimc_lite_subdev_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _fimc_lite_subdev_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_v4l2_subdev_init
Lloh2:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldp	w0, w9, [x19, #56]
	orr	w8, w9, w8
	str	w8, [x19, #60]
	ldr	w3, [x19]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
Lloh7:
	adrp	x8, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x2, [x19, #8]
Lloh10:
	adrp	x9, _FLITE_SD_PAD_SINK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FLITE_SD_PAD_SINK@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	str	x8, [x2, x9, lsl #3]
Lloh13:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh15:
	adrp	x10, _FLITE_SD_PAD_SOURCE_DMA@GOTPAGE
Lloh16:
	ldr	x10, [x10, _FLITE_SD_PAD_SOURCE_DMA@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	str	x9, [x2, x10, lsl #3]
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _FLITE_SD_PAD_SOURCE_ISP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FLITE_SD_PAD_SOURCE_ISP@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	str	x8, [x2, x9, lsl #3]
	add	x21, x19, #24
Lloh21:
	adrp	x8, _FLITE_SD_PADS_NUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FLITE_SD_PADS_NUM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_media_entity_pads_init
	cbnz	w0, LBB0_4
; %bb.1:
	add	x22, x19, #64
	mov	x0, x22
	mov	w1, #1
	bl	_v4l2_ctrl_handler_init
Lloh24:
	adrp	x1, _fimc_lite_ctrl@GOTPAGE
Lloh25:
	ldr	x1, [x1, _fimc_lite_ctrl@GOTPAGEOFF]
	mov	x0, x22
	mov	x2, #0
	bl	_v4l2_ctrl_new_custom
	str	w0, [x19, #4]
	ldr	w8, [x19, #64]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_media_entity_cleanup
	ldr	w0, [x22]
	b	LBB0_4
LBB0_3:
Lloh26:
	adrp	x8, _fimc_lite_subdev_internal_ops@GOTPAGE
Lloh27:
	ldr	x8, [x8, _fimc_lite_subdev_internal_ops@GOTPAGEOFF]
	stp	x8, x22, [x19, #40]
Lloh28:
	adrp	x8, _MEDIA_ENT_F_PROC_VIDEO_SCALER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MEDIA_ENT_F_PROC_VIDEO_SCALER@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _fimc_lite_subdev_media_ops@GOTPAGE
Lloh32:
	ldr	x9, [x9, _fimc_lite_subdev_media_ops@GOTPAGEOFF]
	str	w8, [x19, #32]
	str	x9, [x19, #24]
Lloh33:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	x0, x20
	mov	x1, x19
	bl	_v4l2_set_subdevdata
	mov	w0, #0
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_fimc_lite_subdev_ops,4,2       ; @fimc_lite_subdev_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FIMC-LITE.%d"

	.comm	_MEDIA_PAD_FL_SINK,8,3          ; @MEDIA_PAD_FL_SINK
	.comm	_FLITE_SD_PAD_SINK,8,3          ; @FLITE_SD_PAD_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ; @MEDIA_PAD_FL_SOURCE
	.comm	_FLITE_SD_PAD_SOURCE_DMA,8,3    ; @FLITE_SD_PAD_SOURCE_DMA
	.comm	_FLITE_SD_PAD_SOURCE_ISP,8,3    ; @FLITE_SD_PAD_SOURCE_ISP
	.comm	_FLITE_SD_PADS_NUM,4,2          ; @FLITE_SD_PADS_NUM
	.comm	_fimc_lite_ctrl,4,2             ; @fimc_lite_ctrl
	.comm	_fimc_lite_subdev_internal_ops,4,2 ; @fimc_lite_subdev_internal_ops
	.comm	_MEDIA_ENT_F_PROC_VIDEO_SCALER,4,2 ; @MEDIA_ENT_F_PROC_VIDEO_SCALER
	.comm	_fimc_lite_subdev_media_ops,4,2 ; @fimc_lite_subdev_media_ops
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_fimc_lite_create_capture_subdev
.subsections_via_symbols
