	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_initialize_capture_subdev ## -- Begin function fimc_initialize_capture_subdev
	.p2align	4, 0x90
_fimc_initialize_capture_subdev:        ## @fimc_initialize_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	_fimc_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, 36(%rbx)
	movl	(%rbx), %ecx
	movl	32(%rbx), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rbx), %rdx
	movq	_FIMC_SD_PAD_SINK_CAM@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdx,%rsi,8)
	movq	(%rax), %rax
	movq	_FIMC_SD_PAD_SINK_FIFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rdx,%rcx,8)
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FIMC_SD_PAD_SOURCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rdx,%rcx,8)
	leaq	24(%rbx), %rdi
	movq	_FIMC_SD_PADS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_media_entity_pads_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_fimc_sd_media_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	_fimc_capture_sd_internal_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_set_subdevdata
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fimc_subdev_ops,4,2            ## @fimc_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.%d"

	.comm	_MEDIA_PAD_FL_SINK,8,3          ## @MEDIA_PAD_FL_SINK
	.comm	_FIMC_SD_PAD_SINK_CAM,8,3       ## @FIMC_SD_PAD_SINK_CAM
	.comm	_FIMC_SD_PAD_SINK_FIFO,8,3      ## @FIMC_SD_PAD_SINK_FIFO
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ## @MEDIA_PAD_FL_SOURCE
	.comm	_FIMC_SD_PAD_SOURCE,8,3         ## @FIMC_SD_PAD_SOURCE
	.comm	_FIMC_SD_PADS_NUM,4,2           ## @FIMC_SD_PADS_NUM
	.comm	_fimc_sd_media_ops,4,2          ## @fimc_sd_media_ops
	.comm	_fimc_capture_sd_internal_ops,4,2 ## @fimc_capture_sd_internal_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_initialize_capture_subdev ; -- Begin function fimc_initialize_capture_subdev
	.p2align	2
_fimc_initialize_capture_subdev:        ; @fimc_initialize_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_subdev_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _fimc_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, #32]
	orr	w8, w9, w8
	str	w8, [x19, #36]
	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]
	ldr	x9, [x8]
	ldr	x2, [x19, #8]
Lloh9:
	adrp	x10, _FIMC_SD_PAD_SINK_CAM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FIMC_SD_PAD_SINK_CAM@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	str	x9, [x2, x10, lsl #3]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _FIMC_SD_PAD_SINK_FIFO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FIMC_SD_PAD_SINK_FIFO@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	x8, [x2, x9, lsl #3]
Lloh15:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _FIMC_SD_PAD_SOURCE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FIMC_SD_PAD_SOURCE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	str	x8, [x2, x9, lsl #3]
	add	x0, x19, #24
Lloh21:
	adrp	x8, _FIMC_SD_PADS_NUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FIMC_SD_PADS_NUM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_media_entity_pads_init
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh24:
	adrp	x8, _fimc_sd_media_ops@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fimc_sd_media_ops@GOTPAGEOFF]
Lloh26:
	adrp	x9, _fimc_capture_sd_internal_ops@GOTPAGE
Lloh27:
	ldr	x9, [x9, _fimc_capture_sd_internal_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #16]
	mov	x0, x20
	mov	x1, x19
	bl	_v4l2_set_subdevdata
LBB0_2:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_fimc_subdev_ops,4,2            ; @fimc_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.%d"

	.comm	_MEDIA_PAD_FL_SINK,8,3          ; @MEDIA_PAD_FL_SINK
	.comm	_FIMC_SD_PAD_SINK_CAM,8,3       ; @FIMC_SD_PAD_SINK_CAM
	.comm	_FIMC_SD_PAD_SINK_FIFO,8,3      ; @FIMC_SD_PAD_SINK_FIFO
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ; @MEDIA_PAD_FL_SOURCE
	.comm	_FIMC_SD_PAD_SOURCE,8,3         ; @FIMC_SD_PAD_SOURCE
	.comm	_FIMC_SD_PADS_NUM,4,2           ; @FIMC_SD_PADS_NUM
	.comm	_fimc_sd_media_ops,4,2          ; @fimc_sd_media_ops
	.comm	_fimc_capture_sd_internal_ops,4,2 ; @fimc_capture_sd_internal_ops
.subsections_via_symbols
