	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_save_to_context
_v4l2_save_to_context:                  ## @v4l2_save_to_context
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	64(%rdi), %edi
	movl	%edi, 56(%rbx)
	cmpq	$0, 24(%rsi)
	je	LBB0_2
## %bb.1:
	movl	16(%r14), %eax
	movl	%eax, 68(%rbx)
LBB0_2:
	callq	_V4L2_TYPE_IS_MULTIPLANAR
	movl	(%rbx), %edx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	%edx, 48(%rbx)
	movl	4(%rbx), %esi
	movl	%esi, 44(%rbx)
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.4:
	movl	(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	%rbx, %rdi
	callq	_v4l2_get_framesize_compressed
	movq	32(%rbx), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_7
LBB0_5:
	movl	%edx, 24(%rbx)
	movl	4(%rbx), %esi
	movl	%esi, 20(%rbx)
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.6:
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_v4l2_get_framesize_compressed
	movq	%rax, 8(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_v4l2_save_to_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_save_to_context
_v4l2_save_to_context:                  ; @v4l2_save_to_context
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #64]
	str	w0, [x19, #56]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x20, #16]
	str	w8, [x19, #68]
LBB0_2:
	bl	_V4L2_TYPE_IS_MULTIPLANAR
	ldr	w2, [x19]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w1, [x19, #4]
	stp	w1, w2, [x19, #44]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	w8, [x20]
	str	w8, [x19, #40]
	mov	x0, x19
	bl	_v4l2_get_framesize_compressed
	ldr	x8, [x19, #32]
	str	x0, [x8]
	b	LBB0_7
LBB0_5:
	ldr	w1, [x19, #4]
	stp	w1, w2, [x19, #20]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w8, [x20]
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_v4l2_get_framesize_compressed
	str	x0, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_v4l2_save_to_context
.subsections_via_symbols
