	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ceu_notify_complete
_ceu_notify_complete:                   ## @ceu_notify_complete
	.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	%r14, %rdi
	callq	_v4l2_to_ceu
	movq	%rax, %rbx
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movq	_VB2_DMABUF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	%rbx, 48(%rbx)
	movq	_ceu_vb2_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_vb2_dma_contig_memops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movl	$4, 4(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	$2, 8(%rbx)
	leaq	64(%rbx), %r12
	movq	%r12, 16(%rbx)
	movl	96(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_vb2_queue_init
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	72(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	88(%rbx), %rax
	movq	%rax, 72(%rbx)
	movq	$0, 80(%rbx)
LBB0_3:
	movq	(%rax), %r13
	movq	%rbx, %rdi
	callq	_ceu_init_mbus_fmt
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_ceu_set_default_fmt
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %r15
	addq	$104, %r15
	movl	168(%rbx), %edi
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strscpy
	movq	%r14, 112(%rbx)
	movq	%r12, 160(%rbx)
	movq	%rbx, 152(%rbx)
	movl	(%r13), %eax
	movl	%eax, 144(%rbx)
	movq	_ceu_fops@GOTPCREL(%rip), %rax
	movq	%rax, 136(%rbx)
	movq	_ceu_ioctl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 128(%rbx)
	movq	_ceu_vdev_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rbx)
	movq	_V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 104(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_video_register_device
	movl	%eax, %r14d
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jns	LBB0_7
## %bb.6:
	movq	112(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_v4l2_err
	movl	%r14d, %eax
LBB0_7:
	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	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_DMABUF,4,2                 ## @VB2_DMABUF
	.comm	_ceu_vb2_ops,4,2                ## @ceu_vb2_ops
	.comm	_vb2_dma_contig_memops,4,2      ## @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.comm	_ceu_fops,4,2                   ## @ceu_fops
	.comm	_ceu_ioctl_ops,4,2              ## @ceu_ioctl_ops
	.comm	_ceu_vdev_release,4,2           ## @ceu_vdev_release
	.comm	_V4L2_CAP_VIDEO_CAPTURE_MPLANE,4,2 ## @V4L2_CAP_VIDEO_CAPTURE_MPLANE
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"video_register_device failed: %d\n"

	.no_dead_strip	_ceu_notify_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ceu_notify_complete
lCPI0_0:
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ceu_notify_complete:                   ; @ceu_notify_complete
	.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
	ldr	x20, [x0]
	mov	x0, x20
	bl	_v4l2_to_ceu
	mov	x19, x0
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]
	str	w8, [x0, #56]
Lloh3:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VB2_DMABUF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VB2_DMABUF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	str	x0, [x0, #48]
Lloh9:
	adrp	x8, _ceu_vb2_ops@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ceu_vb2_ops@GOTPAGEOFF]
Lloh11:
	adrp	x9, _vb2_dma_contig_memops@GOTPAGE
Lloh12:
	ldr	x9, [x9, _vb2_dma_contig_memops@GOTPAGEOFF]
	stp	x9, x8, [x0, #32]
Lloh13:
	adrp	x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x0, #24]
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x0, #4]
	add	x22, x0, #64
	str	x22, [x0, #16]
	ldr	w8, [x0, #96]
	str	w8, [x0, #12]
	bl	_vb2_queue_init
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #88]
	stp	x8, xzr, [x19, #72]
LBB0_3:
	ldr	x23, [x8]
	mov	x0, x19
	bl	_ceu_init_mbus_fmt
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_ceu_set_default_fmt
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.5:
	add	x21, x19, #104
	ldr	w0, [x19, #168]
Lloh18:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strscpy
	str	x20, [x19, #112]
	stp	x19, x22, [x19, #152]
	ldr	w8, [x23]
	str	w8, [x19, #144]
Lloh21:
	adrp	x8, _ceu_fops@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ceu_fops@GOTPAGEOFF]
Lloh23:
	adrp	x9, _ceu_ioctl_ops@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ceu_ioctl_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #128]
Lloh25:
	adrp	x8, _ceu_vdev_release@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ceu_vdev_release@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x19, #120]
Lloh28:
	adrp	x8, _V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _V4L2_CAP_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _V4L2_CAP_STREAMING@GOTPAGE
Lloh32:
	ldr	x9, [x9, _V4L2_CAP_STREAMING@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #104]
	mov	x0, x21
	mov	x1, x19
	bl	_video_set_drvdata
Lloh34:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh35:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #-1
	bl	_video_register_device
	tbnz	w0, #31, LBB0_7
; %bb.6:
	mov	w21, #0
	b	LBB0_8
LBB0_7:
	mov	x21, x0
	ldr	x0, [x19, #112]
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_v4l2_err
LBB0_8:
	mov	x0, x21
	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 AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_DMABUF,4,2                 ; @VB2_DMABUF
	.comm	_ceu_vb2_ops,4,2                ; @ceu_vb2_ops
	.comm	_vb2_dma_contig_memops,4,2      ; @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.comm	_ceu_fops,4,2                   ; @ceu_fops
	.comm	_ceu_ioctl_ops,4,2              ; @ceu_ioctl_ops
	.comm	_ceu_vdev_release,4,2           ; @ceu_vdev_release
	.comm	_V4L2_CAP_VIDEO_CAPTURE_MPLANE,4,2 ; @V4L2_CAP_VIDEO_CAPTURE_MPLANE
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"video_register_device failed: %d\n"

	.no_dead_strip	_ceu_notify_complete
.subsections_via_symbols
