	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vb2_fill_vb2_v4l2_buffer
_vb2_fill_vb2_v4l2_buffer:              ## @vb2_fill_vb2_v4l2_buffer
	.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	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_to_vb2_v4l2_buffer
	movq	%rax, %rbx
	movq	24(%rax), %r14
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	___verify_length
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	_V4L2_FIELD_ALTERNATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_58
LBB0_5:
	movq	$0, 16(%rbx)
	movl	$-1, (%rbx)
	movl	36(%r15), %edi
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	callq	_V4L2_TYPE_IS_MULTIPLANAR
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movl	8(%r9), %ecx
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_38
## %bb.6:
	cmpl	$128, %ecx
	je	LBB0_11
## %bb.7:
	cmpl	$129, %ecx
	jne	LBB0_14
## %bb.8:
	movl	(%r12), %ecx
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.9:
	movq	48(%r9), %r8
	cmpl	$1, %ecx
	jne	LBB0_21
## %bb.10:
	xorl	%edx, %edx
	jmp	LBB0_23
LBB0_1:
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_58
LBB0_38:
	cmpl	$129, %ecx
	je	LBB0_41
## %bb.39:
	cmpl	$128, %ecx
	jne	LBB0_42
## %bb.40:
	movl	44(%r9), %eax
	movl	%eax, 32(%r14)
	leaq	16(%r9), %rax
	jmp	LBB0_43
LBB0_11:
	movl	(%r12), %ecx
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.12:
	movq	48(%r9), %r8
	cmpl	$1, %ecx
	jne	LBB0_17
## %bb.13:
	xorl	%edx, %edx
	jmp	LBB0_19
LBB0_14:
	movl	(%r12), %ecx
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.15:
	movq	16(%r12), %r8
	cmpl	$1, %ecx
	jne	LBB0_25
## %bb.16:
	xorl	%edx, %edx
	jmp	LBB0_27
LBB0_41:
	movl	40(%r9), %eax
	movl	%eax, 28(%r14)
	leaq	16(%r9), %rax
	jmp	LBB0_43
LBB0_42:
	movq	16(%r12), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 24(%r14)
LBB0_43:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	$0, 16(%r14)
	movl	36(%r9), %edi
	movq	%r9, %r15
	callq	_V4L2_TYPE_IS_OUTPUT
	testq	%rax, %rax
	je	LBB0_44
## %bb.45:
	cmpq	$0, 24(%r15)
	movq	%r15, %rdx
	jne	LBB0_47
## %bb.46:
	movq	%r12, %rdi
	callq	_vb2_warn_zero_bytesused
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_47:
	movq	8(%r12), %rcx
	movq	24(%rdx), %rax
	movq	8(%rcx), %rcx
	orq	%rax, %rcx
	jne	LBB0_49
## %bb.48:
	movq	(%r14), %rax
	jmp	LBB0_49
LBB0_44:
	xorl	%eax, %eax
	movq	%r15, %rdx
LBB0_49:
	movq	%rax, 8(%r14)
	jmp	LBB0_50
LBB0_21:
	movl	%ecx, %esi
	andl	$-2, %esi
	leaq	56(%r8), %rdi
	xorl	%edx, %edx
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	-32(%rdi), %eax
	movl	%eax, 28(%rbx)
	movq	-56(%rdi), %rax
	movq	%rax, (%rbx)
	movl	(%rdi), %eax
	movl	%eax, 68(%rbx)
	movq	-24(%rdi), %rax
	movq	%rax, 40(%rbx)
	addq	$2, %rdx
	addq	$64, %rdi
	addq	$80, %rbx
	cmpq	%rdx, %rsi
	jne	LBB0_22
LBB0_23:
	testb	$1, %cl
	je	LBB0_30
## %bb.24:
	movq	%rdx, %rax
	shlq	$5, %rax
	movl	24(%r8,%rax), %ecx
	leaq	(%rdx,%rdx,4), %rdx
	movl	%ecx, 28(%r14,%rdx,8)
	jmp	LBB0_29
LBB0_17:
	movl	%ecx, %esi
	andl	$-2, %esi
	leaq	60(%r8), %rdi
	leaq	72(%r14), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	-32(%rdi), %eax
	movl	%eax, -40(%rbx)
	movq	-60(%rdi), %rax
	movq	%rax, -72(%rbx)
	movl	(%rdi), %eax
	movl	%eax, (%rbx)
	movq	-28(%rdi), %rax
	movq	%rax, -32(%rbx)
	addq	$2, %rdx
	addq	$64, %rdi
	addq	$80, %rbx
	cmpq	%rdx, %rsi
	jne	LBB0_18
LBB0_19:
	testb	$1, %cl
	je	LBB0_30
## %bb.20:
	movq	%rdx, %rax
	shlq	$5, %rax
	movl	28(%r8,%rax), %ecx
	leaq	(%rdx,%rdx,4), %rdx
	movl	%ecx, 32(%r14,%rdx,8)
	jmp	LBB0_29
LBB0_25:
	movl	%ecx, %esi
	andl	$-2, %esi
	leaq	24(%r8), %rdi
	leaq	64(%r14), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	-16(%rdi), %eax
	movl	%eax, -40(%rbx)
	movq	-24(%rdi), %rax
	movq	%rax, -64(%rbx)
	movl	(%rdi), %eax
	movl	%eax, (%rbx)
	movq	-8(%rdi), %rax
	movq	%rax, -24(%rbx)
	addq	$2, %rdx
	addq	$32, %rdi
	addq	$80, %rbx
	cmpq	%rdx, %rsi
	jne	LBB0_26
LBB0_27:
	testb	$1, %cl
	je	LBB0_30
## %bb.28:
	movq	%rdx, %rax
	shlq	$4, %rax
	movl	8(%r8,%rax), %ecx
	leaq	(%rdx,%rdx,4), %rdx
	movl	%ecx, 24(%r14,%rdx,8)
LBB0_29:
	movq	(%r8,%rax), %rax
	movq	%rax, (%r14,%rdx,8)
LBB0_30:
	movl	36(%r9), %edi
	callq	_V4L2_TYPE_IS_OUTPUT
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_50
## %bb.31:
	cmpl	$0, (%r12)
	je	LBB0_50
## %bb.32:
	addq	$16, %r14
	movl	$8, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	%rax, -8(%r14)
	movq	8(%r15,%rbx), %rax
	movq	%rax, (%r14)
	incq	%r13
	movl	(%r12), %eax
	addq	$40, %r14
	addq	$32, %rbx
	cmpq	%rax, %r13
	jae	LBB0_50
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%rdx), %r15
	cmpq	$0, (%r15,%rbx)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r12, %rdi
	callq	_vb2_warn_zero_bytesused
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%r12), %rcx
	movq	(%r15,%rbx), %rax
	movq	8(%rcx), %rcx
	orq	%rax, %rcx
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-16(%r14), %rax
	jmp	LBB0_37
LBB0_50:
	movq	_V4L2_BUFFER_MASK_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	32(%rdx), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 4(%rbx)
	movq	8(%r12), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_53
## %bb.51:
	movl	36(%rdx), %edi
	callq	_V4L2_TYPE_IS_OUTPUT
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_54
## %bb.52:
	movl	4(%rbx), %eax
LBB0_53:
	movq	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, 4(%rbx)
LBB0_54:
	movl	36(%rdx), %edi
	movq	%rdx, %r14
	callq	_V4L2_TYPE_IS_OUTPUT
	testq	%rax, %rax
	je	LBB0_56
## %bb.55:
	movq	_V4L2_BUF_FLAG_TIMECODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_57
LBB0_56:
	movq	_V4L2_BUFFER_OUT_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_V4L2_BUF_FLAG_LAST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_57:
	xorl	%r13d, %r13d
LBB0_58:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"plane parameters verification failed: %d\n"

	.comm	_V4L2_FIELD_ALTERNATE,8,3       ## @V4L2_FIELD_ALTERNATE
L_.str.1:                               ## @.str.1
	.asciz	"the field is incorrectly set to ALTERNATE for an output buffer\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_BUFFER_MASK_FLAGS,4,2     ## @V4L2_BUFFER_MASK_FLAGS
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK,4,2 ## @V4L2_BUF_FLAG_TSTAMP_SRC_MASK
	.comm	_V4L2_BUF_FLAG_TIMECODE,4,2     ## @V4L2_BUF_FLAG_TIMECODE
	.comm	_V4L2_BUFFER_OUT_FLAGS,4,2      ## @V4L2_BUFFER_OUT_FLAGS
	.comm	_V4L2_BUF_FLAG_LAST,4,2         ## @V4L2_BUF_FLAG_LAST
	.no_dead_strip	_vb2_fill_vb2_v4l2_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vb2_fill_vb2_v4l2_buffer
_vb2_fill_vb2_v4l2_buffer:              ; @vb2_fill_vb2_v4l2_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x0, #8]
	bl	_to_vb2_v4l2_buffer
	mov	x19, x0
	ldr	x23, [x0, #24]
	mov	x0, x21
	mov	x1, x20
	bl	___verify_length
	tbnz	w0, #31, LBB0_10
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _V4L2_FIELD_ALTERNATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_FIELD_ALTERNATE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dprintk
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_59
LBB0_4:
	str	xzr, [x19, #16]
	mov	w8, #-1
	str	w8, [x19]
	ldr	w0, [x20, #36]
	bl	_V4L2_TYPE_IS_MULTIPLANAR
	ldr	w8, [x20, #8]
	cbz	x0, LBB0_11
; %bb.5:
	cmp	w8, #128
	b.eq	LBB0_14
; %bb.6:
	cmp	w8, #129
	b.ne	LBB0_17
; %bb.7:
	ldr	w8, [x21]
	cbz	w8, LBB0_44
; %bb.8:
	ldr	x9, [x20, #48]
	cmp	w8, #1
	b.ne	LBB0_29
; %bb.9:
	mov	x10, #0
	b	LBB0_32
LBB0_10:
	mov	x22, x0
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	b	LBB0_59
LBB0_11:
	cmp	w8, #129
	b.eq	LBB0_20
; %bb.12:
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.13:
	ldr	w8, [x20, #44]
	str	w8, [x23, #32]
	add	x8, x20, #16
	b	LBB0_22
LBB0_14:
	ldr	w8, [x21]
	cbz	w8, LBB0_44
; %bb.15:
	ldr	x9, [x20, #48]
	cmp	w8, #1
	b.ne	LBB0_34
; %bb.16:
	mov	x10, #0
	b	LBB0_37
LBB0_17:
	ldr	w8, [x21]
	cbz	w8, LBB0_44
; %bb.18:
	ldr	x9, [x21, #16]
	cmp	w8, #1
	b.ne	LBB0_39
; %bb.19:
	mov	x10, #0
	b	LBB0_42
LBB0_20:
	ldr	w8, [x20, #40]
	str	w8, [x23, #28]
	add	x8, x20, #16
	b	LBB0_22
LBB0_21:
	ldr	x8, [x21, #16]
	ldr	w9, [x8, #8]
	str	w9, [x23, #24]
LBB0_22:
	ldr	x8, [x8]
	str	x8, [x23]
	str	xzr, [x23, #16]
	ldr	w0, [x20, #36]
	bl	_V4L2_TYPE_IS_OUTPUT
	cbz	x0, LBB0_27
; %bb.23:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_25
; %bb.24:
	mov	x0, x21
	bl	_vb2_warn_zero_bytesused
LBB0_25:
	ldr	x8, [x21, #8]
	ldr	x9, [x8, #8]
	ldr	x8, [x20, #24]
	orr	x9, x9, x8
	cbnz	x9, LBB0_28
; %bb.26:
	ldr	x8, [x23]
	b	LBB0_28
LBB0_27:
	mov	x8, #0
LBB0_28:
	str	x8, [x23, #8]
	b	LBB0_52
LBB0_29:
	and	x10, x8, #0xfffffffe
	add	x11, x9, #32
	add	x12, x23, #40
	mov	x13, x10
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldur	w14, [x11, #-8]
	ldr	w15, [x11, #24]
	stur	w14, [x12, #-12]
	str	w15, [x12, #28]
	ldur	x14, [x11, #-32]
	ldr	x15, [x11], #64
	stur	x14, [x12, #-40]
	str	x15, [x12], #80
	subs	x13, x13, #2
	b.ne	LBB0_30
; %bb.31:
	cmp	x10, x8
	b.eq	LBB0_44
LBB0_32:
	add	x9, x9, x10, lsl #5
	mov	w11, #40
	madd	x11, x10, x11, x23
	sub	x8, x8, x10
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, #24]
	str	w10, [x11, #28]
	ldr	x10, [x9], #32
	str	x10, [x11], #40
	subs	x8, x8, #1
	b.ne	LBB0_33
	b	LBB0_44
LBB0_34:
	and	x10, x8, #0xfffffffe
	add	x11, x9, #32
	add	x12, x23, #40
	mov	x13, x10
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldur	w14, [x11, #-4]
	ldr	w15, [x11, #28]
	stur	w14, [x12, #-8]
	str	w15, [x12, #32]
	ldur	x14, [x11, #-32]
	ldr	x15, [x11], #64
	stur	x14, [x12, #-40]
	str	x15, [x12], #80
	subs	x13, x13, #2
	b.ne	LBB0_35
; %bb.36:
	cmp	x10, x8
	b.eq	LBB0_44
LBB0_37:
	add	x9, x9, x10, lsl #5
	mov	w11, #40
	madd	x11, x10, x11, x23
	add	x11, x11, #32
	sub	x8, x8, x10
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, #28]
	str	w10, [x11]
	ldr	x10, [x9], #32
	stur	x10, [x11, #-32]
	add	x11, x11, #40
	subs	x8, x8, #1
	b.ne	LBB0_38
	b	LBB0_44
LBB0_39:
	and	x10, x8, #0xfffffffe
	add	x11, x9, #16
	add	x12, x23, #40
	mov	x13, x10
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldur	w14, [x11, #-8]
	ldr	w15, [x11, #8]
	stur	w14, [x12, #-16]
	str	w15, [x12, #24]
	ldur	x14, [x11, #-16]
	ldr	x15, [x11], #32
	stur	x14, [x12, #-40]
	str	x15, [x12], #80
	subs	x13, x13, #2
	b.ne	LBB0_40
; %bb.41:
	cmp	x10, x8
	b.eq	LBB0_44
LBB0_42:
	add	x9, x9, x10, lsl #4
	add	x9, x9, #8
	mov	w11, #40
	madd	x11, x10, x11, x23
	sub	x8, x8, x10
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	str	w10, [x11, #24]
	ldur	x10, [x9, #-8]
	str	x10, [x11], #40
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_43
LBB0_44:
	ldr	w0, [x20, #36]
	bl	_V4L2_TYPE_IS_OUTPUT
	cbz	x0, LBB0_52
; %bb.45:
	ldr	w8, [x21]
	cbz	w8, LBB0_52
; %bb.46:
	mov	x22, #0
	mov	x24, #0
	add	x23, x23, #8
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=1
	add	x9, x25, x22
	ldr	x9, [x9, #16]
	stp	x8, x9, [x23], #40
	add	x24, x24, #1
	ldr	w8, [x21]
	add	x22, x22, #32
	cmp	x24, x8
	b.hs	LBB0_52
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x20, #48]
	add	x26, x25, x22
	ldr	x8, [x26, #8]
	cbnz	x8, LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x21
	bl	_vb2_warn_zero_bytesused
LBB0_50:                                ;   in Loop: Header=BB0_48 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x8, #8]
	ldr	x8, [x26, #8]
	orr	x9, x9, x8
	cbnz	x9, LBB0_47
; %bb.51:                               ;   in Loop: Header=BB0_48 Depth=1
	ldur	x8, [x23, #-8]
	b	LBB0_47
LBB0_52:
Lloh10:
	adrp	x8, _V4L2_BUFFER_MASK_FLAGS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_BUFFER_MASK_FLAGS@GOTPAGEOFF]
	ldr	w9, [x20, #32]
Lloh12:
	ldr	w8, [x8]
	bic	w8, w9, w8
	str	w8, [x19, #4]
	ldr	x9, [x21, #8]
	ldr	w9, [x9]
	cbz	w9, LBB0_55
; %bb.53:
	ldr	w0, [x20, #36]
	bl	_V4L2_TYPE_IS_OUTPUT
	cbnz	x0, LBB0_56
; %bb.54:
	ldr	w8, [x19, #4]
LBB0_55:
Lloh13:
	adrp	x9, _V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19, #4]
LBB0_56:
	ldr	w0, [x20, #36]
	bl	_V4L2_TYPE_IS_OUTPUT
	mov	w22, #0
	cbz	x0, LBB0_58
; %bb.57:
Lloh16:
	adrp	x8, _V4L2_BUF_FLAG_TIMECODE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMECODE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
	ldr	x8, [x20]
	str	x8, [x19, #8]
	b	LBB0_59
LBB0_58:
Lloh19:
	adrp	x8, _V4L2_BUFFER_OUT_FLAGS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _V4L2_BUFFER_OUT_FLAGS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
Lloh22:
	adrp	x10, _V4L2_BUF_FLAG_LAST@GOTPAGE
Lloh23:
	ldr	x10, [x10, _V4L2_BUF_FLAG_LAST@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	orr	w8, w8, w10
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_59:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"plane parameters verification failed: %d\n"

	.comm	_V4L2_FIELD_ALTERNATE,8,3       ; @V4L2_FIELD_ALTERNATE
l_.str.1:                               ; @.str.1
	.asciz	"the field is incorrectly set to ALTERNATE for an output buffer\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_BUFFER_MASK_FLAGS,4,2     ; @V4L2_BUFFER_MASK_FLAGS
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK,4,2 ; @V4L2_BUF_FLAG_TSTAMP_SRC_MASK
	.comm	_V4L2_BUF_FLAG_TIMECODE,4,2     ; @V4L2_BUF_FLAG_TIMECODE
	.comm	_V4L2_BUFFER_OUT_FLAGS,4,2      ; @V4L2_BUFFER_OUT_FLAGS
	.comm	_V4L2_BUF_FLAG_LAST,4,2         ; @V4L2_BUF_FLAG_LAST
	.no_dead_strip	_vb2_fill_vb2_v4l2_buffer
.subsections_via_symbols
