	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_isp_video_device_register ## -- Begin function fimc_isp_video_device_register
	.p2align	4, 0x90
_fimc_isp_video_device_register:        ## @fimc_isp_video_device_register
	.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	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_5
## %bb.1:
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	184(%rdi), %r15
	callq	_mutex_init
	leaq	180(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	176(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_fimc_isp_find_format
	movq	%rax, 168(%rbx)
	movq	_IS_DEFAULT_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 164(%rbx)
	movq	_IS_DEFAULT_HEIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 160(%rbx)
	movl	(%rax), %eax
	movl	%eax, 156(%rbx)
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 152(%rbx)
	movq	$0, 144(%rbx)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
	movl	%r12d, 184(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movq	_VB2_USERPTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 188(%rbx)
	movq	_isp_video_capture_qops@GOTPCREL(%rip), %rax
	movq	%rax, 296(%rbx)
	movq	_vb2_dma_contig_memops@GOTPCREL(%rip), %rax
	movq	%rax, 288(%rbx)
	movl	$4, 192(%rbx)
	movq	%rbx, 280(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 272(%rbx)
	movq	%rbx, 216(%rbx)
	movq	8(%rbx), %rax
	movq	%rax, 264(%rbx)
	movq	%r15, %rdi
	callq	_vb2_queue_init
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:
	leaq	16(%rbx), %r13
	leaq	24(%rbx), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
	movl	44(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	%r15, 96(%rbx)
	movq	_isp_video_fops@GOTPCREL(%rip), %rax
	movq	%rax, 88(%rbx)
	movq	_isp_video_ioctl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 80(%rbx)
	movq	%r14, 72(%rbx)
	movl	$-1, 36(%rbx)
	movq	_video_device_release_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	%rbx, 56(%rbx)
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 40(%rbx)
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	leaq	48(%rbx), %r15
	movq	%r15, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	callq	_media_entity_pads_init
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_video_register_device
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movl	44(%rbx), %ebx
	movq	%r12, %rdi
	callq	_video_device_node_name
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_v4l2_info
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_5:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_9
LBB0_7:
	movl	%eax, %r13d
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_media_entity_cleanup
LBB0_9:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_IS_DEFAULT_WIDTH,4,2           ## @IS_DEFAULT_WIDTH
	.comm	_IS_DEFAULT_HEIGHT,4,2          ## @IS_DEFAULT_HEIGHT
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ## @VB2_USERPTR
	.comm	_isp_video_capture_qops,4,2     ## @isp_video_capture_qops
	.comm	_vb2_dma_contig_memops,4,2      ## @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fimc-is-isp.capture"

	.comm	_isp_video_fops,4,2             ## @isp_video_fops
	.comm	_isp_video_ioctl_ops,4,2        ## @isp_video_ioctl_ops
	.comm	_video_device_release_empty,4,2 ## @video_device_release_empty
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_VIDEO_CAPTURE_MPLANE,4,2 ## @V4L2_CAP_VIDEO_CAPTURE_MPLANE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
L_.str.1:                               ## @.str.1
	.asciz	"Registered %s as /dev/%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_isp_video_device_register ; -- Begin function fimc_isp_video_device_register
	.p2align	2
_fimc_isp_video_device_register:        ; @fimc_isp_video_device_register
	.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
Lloh0:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_5
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	add	x21, x0, #184
	bl	_mutex_init
	add	x0, x20, #180
	bl	_INIT_LIST_HEAD
	add	x0, x20, #176
	bl	_INIT_LIST_HEAD
	mov	x0, #0
	mov	x1, #0
	mov	w2, #0
	bl	_fimc_isp_find_format
	str	x0, [x20, #168]
Lloh3:
	adrp	x8, _IS_DEFAULT_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_DEFAULT_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IS_DEFAULT_HEIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IS_DEFAULT_HEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #160]
	ldr	w8, [x0]
Lloh9:
	adrp	x9, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #152]
	str	xzr, [x20, #144]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #120
	bl	_memset
Lloh12:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _VB2_USERPTR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VB2_USERPTR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w22, w8, [x20, #184]
Lloh18:
	adrp	x8, _isp_video_capture_qops@GOTPAGE
Lloh19:
	ldr	x8, [x8, _isp_video_capture_qops@GOTPAGEOFF]
Lloh20:
	adrp	x9, _vb2_dma_contig_memops@GOTPAGE
Lloh21:
	ldr	x9, [x9, _vb2_dma_contig_memops@GOTPAGEOFF]
	str	x8, [x20, #296]
	mov	w8, #4
	str	w8, [x20, #192]
Lloh22:
	adrp	x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
	stp	x20, x9, [x20, #280]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x20, #272]
	str	x20, [x20, #216]
	ldr	x8, [x20, #8]
	str	x8, [x20, #264]
	mov	x0, x21
	bl	_vb2_queue_init
	tbnz	w0, #31, LBB0_6
; %bb.2:
	add	x22, x20, #24
	mov	x0, x22
	mov	w1, #0
	mov	w2, #120
	bl	_memset
	ldr	w0, [x20, #44]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strscpy
Lloh27:
	adrp	x8, _isp_video_fops@GOTPAGE
Lloh28:
	ldr	x8, [x8, _isp_video_fops@GOTPAGEOFF]
	stp	x8, x21, [x20, #88]
Lloh29:
	adrp	x8, _isp_video_ioctl_ops@GOTPAGE
Lloh30:
	ldr	x8, [x8, _isp_video_ioctl_ops@GOTPAGEOFF]
	stp	x19, x8, [x20, #72]
	mov	w8, #-1
Lloh31:
	adrp	x9, _video_device_release_empty@GOTPAGE
Lloh32:
	ldr	x9, [x9, _video_device_release_empty@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	str	w9, [x20, #64]
	str	x20, [x20, #56]
Lloh34:
	adrp	x9, _V4L2_CAP_STREAMING@GOTPAGE
Lloh35:
	ldr	x9, [x9, _V4L2_CAP_STREAMING@GOTPAGEOFF]
Lloh36:
	adrp	x10, _V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh37:
	ldr	x10, [x10, _V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh40:
	adrp	x10, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh41:
	ldr	x10, [x10, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
	stp	w8, w9, [x20, #36]
Lloh42:
	ldr	w8, [x10]
	mov	x2, x20
	str	w8, [x2, #16]!
	add	x21, x20, #48
	mov	x0, x21
	mov	w1, #1
	bl	_media_entity_pads_init
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x0, x22
	mov	x1, x20
	bl	_video_set_drvdata
Lloh43:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh44:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #-1
	bl	_video_register_device
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	w20, [x20, #44]
	mov	x0, x22
	bl	_video_device_node_name
	mov	x3, x0
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_v4l2_info
	mov	w23, #0
	b	LBB0_8
LBB0_5:
Lloh48:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_8
LBB0_6:
	mov	x23, x0
	b	LBB0_8
LBB0_7:
	mov	x23, x0
	mov	x0, x21
	bl	_media_entity_cleanup
LBB0_8:
	mov	x0, x23
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_IS_DEFAULT_WIDTH,4,2           ; @IS_DEFAULT_WIDTH
	.comm	_IS_DEFAULT_HEIGHT,4,2          ; @IS_DEFAULT_HEIGHT
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ; @VB2_USERPTR
	.comm	_isp_video_capture_qops,4,2     ; @isp_video_capture_qops
	.comm	_vb2_dma_contig_memops,4,2      ; @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fimc-is-isp.capture"

	.comm	_isp_video_fops,4,2             ; @isp_video_fops
	.comm	_isp_video_ioctl_ops,4,2        ; @isp_video_ioctl_ops
	.comm	_video_device_release_empty,4,2 ; @video_device_release_empty
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_VIDEO_CAPTURE_MPLANE,4,2 ; @V4L2_CAP_VIDEO_CAPTURE_MPLANE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
l_.str.1:                               ; @.str.1
	.asciz	"Registered %s as /dev/%s\n"

.subsections_via_symbols
