	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s3c_camif_create_subdev        ## -- Begin function s3c_camif_create_subdev
	.p2align	4, 0x90
_s3c_camif_create_subdev:               ## @s3c_camif_create_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	32(%rdi), %r14
	movq	_s3c_camif_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, 48(%rbx)
	movl	44(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rbx), %rdx
	movq	_CAMIF_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	_CAMIF_SD_PAD_SOURCE_C@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdx,%rsi,8)
	movq	(%rax), %rax
	movq	_CAMIF_SD_PAD_SOURCE_P@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rdx,%rcx,8)
	leaq	40(%rbx), %r12
	movq	_CAMIF_SD_PADS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_media_entity_pads_init
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	56(%rbx), %r15
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_TEST_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_s3c_camif_test_pattern_menu@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ARRAY_SIZE
	leaq	-1(%rax), %rcx
	movl	(%r14), %eax
	movl	%eax, (%rsp)
	movq	_s3c_camif_subdev_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu_items
	movl	%eax, 20(%rbx)
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_V4L2_CID_COLORFX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_COLORFX_SET_CBCR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_COLORFX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_s3c_camif_subdev_ctrl_ops@GOTPCREL(%rip), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$-38944, %r8d                   ## imm = 0xFFFF67E0
	callq	_v4l2_ctrl_new_std_menu
	movl	%eax, (%rbx)
	movq	_V4L2_CID_COLORFX_CBCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$65535, %r8d                    ## imm = 0xFFFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	%eax, 16(%rbx)
LBB0_3:
	cmpl	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_free
	movq	%r12, %rdi
	callq	_media_entity_cleanup
	movl	(%r15), %eax
	jmp	LBB0_8
LBB0_5:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_V4L2_COLORFX_SET_CBCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, %edi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
LBB0_7:
	movq	%r15, 32(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_v4l2_set_subdevdata
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s3c_camif_subdev_ops,4,2       ## @s3c_camif_subdev_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"S3C-CAMIF"

	.comm	_MEDIA_PAD_FL_SINK,8,3          ## @MEDIA_PAD_FL_SINK
	.comm	_CAMIF_SD_PAD_SINK,8,3          ## @CAMIF_SD_PAD_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ## @MEDIA_PAD_FL_SOURCE
	.comm	_CAMIF_SD_PAD_SOURCE_C,8,3      ## @CAMIF_SD_PAD_SOURCE_C
	.comm	_CAMIF_SD_PAD_SOURCE_P,8,3      ## @CAMIF_SD_PAD_SOURCE_P
	.comm	_CAMIF_SD_PADS_NUM,4,2          ## @CAMIF_SD_PADS_NUM
	.comm	_s3c_camif_subdev_ctrl_ops,4,2  ## @s3c_camif_subdev_ctrl_ops
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ## @V4L2_CID_TEST_PATTERN
	.comm	_s3c_camif_test_pattern_menu,4,2 ## @s3c_camif_test_pattern_menu
	.comm	_V4L2_CID_COLORFX,4,2           ## @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_SET_CBCR,4,2      ## @V4L2_COLORFX_SET_CBCR
	.comm	_V4L2_COLORFX_NONE,4,2          ## @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_COLORFX_CBCR,4,2      ## @V4L2_CID_COLORFX_CBCR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s3c_camif_create_subdev        ; -- Begin function s3c_camif_create_subdev
	.p2align	2
_s3c_camif_create_subdev:               ; @s3c_camif_create_subdev
	.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
	add	x20, x0, #32
Lloh0:
	adrp	x1, _s3c_camif_subdev_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _s3c_camif_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, #44]
	orr	w8, w9, w8
	str	w8, [x19, #48]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strscpy
Lloh7:
	adrp	x8, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x2, [x19, #24]
Lloh10:
	adrp	x9, _CAMIF_SD_PAD_SINK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CAMIF_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, _CAMIF_SD_PAD_SOURCE_C@GOTPAGE
Lloh16:
	ldr	x10, [x10, _CAMIF_SD_PAD_SOURCE_C@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	str	x9, [x2, x10, lsl #3]
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _CAMIF_SD_PAD_SOURCE_P@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CAMIF_SD_PAD_SOURCE_P@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	str	x8, [x2, x9, lsl #3]
	add	x22, x19, #40
Lloh21:
	adrp	x8, _CAMIF_SD_PADS_NUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CAMIF_SD_PADS_NUM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_media_entity_pads_init
	cbnz	w0, LBB0_8
; %bb.1:
	add	x21, x19, #56
	mov	x0, x21
	mov	w1, #3
	bl	_v4l2_ctrl_handler_init
Lloh24:
	adrp	x8, _V4L2_CID_TEST_PATTERN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_CID_TEST_PATTERN@GOTPAGEOFF]
Lloh26:
	ldr	w23, [x8]
Lloh27:
	adrp	x24, _s3c_camif_test_pattern_menu@GOTPAGE
Lloh28:
	ldr	x24, [x24, _s3c_camif_test_pattern_menu@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_ARRAY_SIZE
	sub	x3, x0, #1
	ldr	w6, [x24]
Lloh29:
	adrp	x1, _s3c_camif_subdev_ctrl_ops@GOTPAGE
Lloh30:
	ldr	x1, [x1, _s3c_camif_subdev_ctrl_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x2, x23
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu_items
	str	w0, [x19, #20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh31:
	adrp	x8, _V4L2_CID_COLORFX@GOTPAGE
Lloh32:
	ldr	x8, [x8, _V4L2_CID_COLORFX@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x8, _V4L2_COLORFX_SET_CBCR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _V4L2_COLORFX_SET_CBCR@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
Lloh37:
	adrp	x8, _V4L2_COLORFX_NONE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _V4L2_COLORFX_NONE@GOTPAGEOFF]
Lloh39:
	ldr	w5, [x8]
Lloh40:
	adrp	x23, _s3c_camif_subdev_ctrl_ops@GOTPAGE
Lloh41:
	ldr	x23, [x23, _s3c_camif_subdev_ctrl_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x23
	mov	w4, #-38944
	bl	_v4l2_ctrl_new_std_menu
	str	w0, [x19]
Lloh42:
	adrp	x8, _V4L2_CID_COLORFX_CBCR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _V4L2_CID_COLORFX_CBCR@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x23
	mov	w3, #0
	mov	w4, #65535
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	w0, [x19, #16]
LBB0_3:
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_v4l2_ctrl_handler_free
	mov	x0, x22
	bl	_media_entity_cleanup
	ldr	w0, [x21]
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh45:
	adrp	x8, _V4L2_COLORFX_SET_CBCR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _V4L2_COLORFX_SET_CBCR@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	w0, #2
	mov	x1, x19
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
LBB0_7:
	str	x21, [x19, #32]
	mov	x0, x20
	mov	x1, x19
	bl	_v4l2_set_subdevdata
	mov	w0, #0
LBB0_8:
	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
	.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	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_s3c_camif_subdev_ops,4,2       ; @s3c_camif_subdev_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"S3C-CAMIF"

	.comm	_MEDIA_PAD_FL_SINK,8,3          ; @MEDIA_PAD_FL_SINK
	.comm	_CAMIF_SD_PAD_SINK,8,3          ; @CAMIF_SD_PAD_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ; @MEDIA_PAD_FL_SOURCE
	.comm	_CAMIF_SD_PAD_SOURCE_C,8,3      ; @CAMIF_SD_PAD_SOURCE_C
	.comm	_CAMIF_SD_PAD_SOURCE_P,8,3      ; @CAMIF_SD_PAD_SOURCE_P
	.comm	_CAMIF_SD_PADS_NUM,4,2          ; @CAMIF_SD_PADS_NUM
	.comm	_s3c_camif_subdev_ctrl_ops,4,2  ; @s3c_camif_subdev_ctrl_ops
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ; @V4L2_CID_TEST_PATTERN
	.comm	_s3c_camif_test_pattern_menu,4,2 ; @s3c_camif_test_pattern_menu
	.comm	_V4L2_CID_COLORFX,4,2           ; @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_SET_CBCR,4,2      ; @V4L2_COLORFX_SET_CBCR
	.comm	_V4L2_COLORFX_NONE,4,2          ; @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_COLORFX_CBCR,4,2      ; @V4L2_CID_COLORFX_CBCR
.subsections_via_symbols
