	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_vb2_au_start_streaming
_delta_vb2_au_start_streaming:          ## @delta_vb2_au_start_streaming
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_vb2_get_drv_priv
	movq	%rax, %r13
	movq	64(%rax), %rbx
	movq	24(%rax), %rax
	movq	%rax, -280(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movl	$0, -64(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movaps	%xmm0, -272(%rbp)
	movl	$0, -176(%rbp)
	movq	(%r13), %rax
	movq	_DELTA_STATE_WF_FORMAT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_DELTA_STATE_WF_STREAMINFO@GOTPCREL(%rip), %r15
	cmpq	%rcx, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	cmpq	(%r15), %rax
	jne	LBB0_17
LBB0_2:
	cmpq	%rcx, %rax
	jne	LBB0_5
## %bb.3:
	movl	40(%r13), %edx
	movl	60(%r13), %esi
	leaq	-280(%rbp), %rcx
	movq	%r13, %rdi
	callq	_delta_open_decoder
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	-280(%rbp), %rax
	movq	%rax, 24(%r13)
	movq	(%r15), %rax
	movq	%rax, (%r13)
LBB0_5:
	movl	8(%r13), %edi
	callq	_v4l2_m2m_src_buf_remove
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_to_au
	movq	%rax, %r12
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_vb2_get_plane_payload
	movl	%eax, 4(%r12)
	movl	(%r15), %esi
	movl	%esi, (%r12)
	movq	%r13, %rdi
	callq	_delta_push_dts
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_dump_au
	movq	-280(%rbp), %rdi
	movq	_decode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_call_dec_op
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movl	12(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_9
LBB0_6:
	movl	(%rbx), %edi
	movl	12(%r13), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_13:
	leaq	48(%r13), %rcx
	movq	-280(%rbp), %rdi
	movq	_get_streaminfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	movq	%rcx, -296(%rbp)                ## 8-byte Spill
	callq	_call_dec_op
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movl	12(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg_ratelimited
	jmp	LBB0_9
LBB0_15:
	movq	%r13, %rcx
	movq	_DELTA_FLAG_STREAMINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r13)
	addq	$32, %rcx
	movq	-280(%rbp), %rdi
	movq	_get_frameinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	movq	%rcx, -288(%rbp)                ## 8-byte Spill
	callq	_call_dec_op
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_16
LBB0_9:
	movq	_VB2_BUF_STATE_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_v4l2_m2m_buf_done
LBB0_10:
	movl	8(%r13), %edi
	callq	_v4l2_m2m_src_buf_remove
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	movq	_VB2_BUF_STATE_QUEUED@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_v4l2_m2m_buf_done
	movl	8(%r13), %edi
	callq	_v4l2_m2m_src_buf_remove
	testq	%rax, %rax
	jne	LBB0_12
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r14d, %eax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_DELTA_FLAG_FRAMEINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r13)
	movq	_DELTA_STATE_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movl	(%rbx), %r14d
	movl	12(%r13), %r15d
	leaq	-160(%rbp), %rsi
	movq	-296(%rbp), %rdi                ## 8-byte Reload
	movl	$100, %edx
	callq	_delta_streaminfo_str
	movl	%eax, %ebx
	leaq	-272(%rbp), %rsi
	movq	-288(%rbp), %rdi                ## 8-byte Reload
	movl	$100, %edx
	callq	_delta_frameinfo_str
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_dev_dbg
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_delta_au_done
	jmp	LBB0_17
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DELTA_STATE_WF_FORMAT,8,3      ## @DELTA_STATE_WF_FORMAT
	.comm	_DELTA_STATE_WF_STREAMINFO,8,3  ## @DELTA_STATE_WF_STREAMINFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s failed to start streaming, no stream header buffer enqueued\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_decode,4,2                     ## @decode
L_.str.1:                               ## @.str.1
	.asciz	"%s failed to start streaming, header decoding failed (%d)\n"

	.comm	_get_streaminfo,4,2             ## @get_streaminfo
L_.str.2:                               ## @.str.2
	.asciz	"%s failed to start streaming, valid stream header not yet decoded\n"

	.comm	_DELTA_FLAG_STREAMINFO,4,2      ## @DELTA_FLAG_STREAMINFO
	.comm	_get_frameinfo,4,2              ## @get_frameinfo
	.comm	_DELTA_FLAG_FRAMEINFO,4,2       ## @DELTA_FLAG_FRAMEINFO
	.comm	_DELTA_STATE_READY,8,3          ## @DELTA_STATE_READY
L_.str.3:                               ## @.str.3
	.asciz	"%s %s => %s\n"

	.comm	_VB2_BUF_STATE_QUEUED,4,2       ## @VB2_BUF_STATE_QUEUED
	.no_dead_strip	_delta_vb2_au_start_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_vb2_au_start_streaming
_delta_vb2_au_start_streaming:          ; @delta_vb2_au_start_streaming
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	add	x20, sp, #128
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_vb2_get_drv_priv
	mov	x19, x0
	ldr	x26, [x0, #64]
	ldr	x8, [x0, #24]
	str	x8, [sp, #8]
	str	wzr, [sp, #224]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #64]
	stp	q0, q0, [x20, #32]
	str	q0, [x20, #16]
	str	q0, [sp, #128]
	str	wzr, [sp, #112]
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _DELTA_STATE_WF_FORMAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DELTA_STATE_WF_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x20, _DELTA_STATE_WF_STREAMINFO@GOTPAGE
Lloh7:
	ldr	x20, [x20, _DELTA_STATE_WF_STREAMINFO@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	w22, #0
	ldr	x10, [x20]
	cmp	x8, x10
	b.ne	LBB0_17
LBB0_2:
Lloh8:
	adrp	x25, _VB2_BUF_STATE_QUEUED@GOTPAGE
Lloh9:
	ldr	x25, [x25, _VB2_BUF_STATE_QUEUED@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w1, [x19, #60]
	ldr	w2, [x19, #40]
	add	x3, sp, #8
	mov	x0, x19
	bl	_delta_open_decoder
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.4:
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
	ldr	x8, [x20]
	str	x8, [x19]
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_v4l2_m2m_src_buf_remove
	cbz	x0, LBB0_8
; %bb.6:
	mov	x20, x0
	bl	_to_au
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	bl	_vb2_get_plane_payload
	str	w0, [x21, #4]
	ldr	w1, [x20]
	str	w1, [x21]
	mov	x0, x19
	bl	_delta_push_dts
	mov	x0, x19
	mov	x1, x21
	bl	_dump_au
	ldr	x0, [sp, #8]
Lloh10:
	adrp	x8, _decode@GOTPAGE
Lloh11:
	ldr	x8, [x8, _decode@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x2, x19
	mov	x3, x21
	bl	_call_dec_op
	cbz	w0, LBB0_9
; %bb.7:
	mov	x22, x0
	ldr	w0, [x26]
	ldr	w2, [x19, #12]
	str	x22, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_12
LBB0_8:
	ldr	w0, [x26]
	ldr	w2, [x19, #12]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_15
LBB0_9:
	add	x23, x19, #48
	ldr	x0, [sp, #8]
Lloh20:
	adrp	x8, _get_streaminfo@GOTPAGE
Lloh21:
	ldr	x8, [x8, _get_streaminfo@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x2, x19
	mov	x3, x23
	bl	_call_dec_op
	cbz	w0, LBB0_11
; %bb.10:
	mov	x22, x0
	ldr	w0, [x26]
	ldr	w2, [x19, #12]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg_ratelimited
	b	LBB0_12
LBB0_11:
	add	x24, x19, #32
Lloh25:
	adrp	x8, _DELTA_FLAG_STREAMINFO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DELTA_FLAG_STREAMINFO@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	ldr	x0, [sp, #8]
Lloh28:
	adrp	x8, _get_frameinfo@GOTPAGE
Lloh29:
	ldr	x8, [x8, _get_frameinfo@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x2, x19
	mov	x3, x24
	bl	_call_dec_op
	mov	x22, x0
	cbz	w0, LBB0_13
LBB0_12:
	ldr	w1, [x25]
	mov	x0, x20
	b	LBB0_14
LBB0_13:
Lloh31:
	adrp	x8, _DELTA_FLAG_FRAMEINFO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DELTA_FLAG_FRAMEINFO@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldp	w20, w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #16]
Lloh34:
	adrp	x8, _DELTA_STATE_READY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DELTA_STATE_READY@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w22, [x26]
	add	x1, sp, #128
	mov	x0, x23
	mov	w2, #100
	bl	_delta_streaminfo_str
	mov	x23, x0
	add	x1, sp, #16
	mov	x0, x24
	mov	w2, #100
	bl	_delta_frameinfo_str
	mov	x4, x0
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	mov	x3, x23
	bl	_dev_dbg
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_delta_au_done
	mov	w22, #0
	b	LBB0_17
LBB0_14:
	bl	_v4l2_m2m_buf_done
LBB0_15:
	ldr	w0, [x19, #8]
	bl	_v4l2_m2m_src_buf_remove
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w1, [x25]
	b	LBB0_14
LBB0_17:
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x22
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_DELTA_STATE_WF_FORMAT,8,3      ; @DELTA_STATE_WF_FORMAT
	.comm	_DELTA_STATE_WF_STREAMINFO,8,3  ; @DELTA_STATE_WF_STREAMINFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s failed to start streaming, no stream header buffer enqueued\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_decode,4,2                     ; @decode
l_.str.1:                               ; @.str.1
	.asciz	"%s failed to start streaming, header decoding failed (%d)\n"

	.comm	_get_streaminfo,4,2             ; @get_streaminfo
l_.str.2:                               ; @.str.2
	.asciz	"%s failed to start streaming, valid stream header not yet decoded\n"

	.comm	_DELTA_FLAG_STREAMINFO,4,2      ; @DELTA_FLAG_STREAMINFO
	.comm	_get_frameinfo,4,2              ; @get_frameinfo
	.comm	_DELTA_FLAG_FRAMEINFO,4,2       ; @DELTA_FLAG_FRAMEINFO
	.comm	_DELTA_STATE_READY,8,3          ; @DELTA_STATE_READY
l_.str.3:                               ; @.str.3
	.asciz	"%s %s => %s\n"

	.comm	_VB2_BUF_STATE_QUEUED,4,2       ; @VB2_BUF_STATE_QUEUED
	.no_dead_strip	_delta_vb2_au_start_streaming
.subsections_via_symbols
