	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vb2_queue_init                 ## -- Begin function vb2_queue_init
	.p2align	4, 0x90
_vb2_queue_init:                        ## @vb2_queue_init
	.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	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MASK@GOTPCREL(%rip), %r14
	movq	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r14), %edi
	notl	%edi
	andl	(%rbx), %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movl	(%r14), %eax
	andl	(%rbx), %eax
	movq	_V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_WARN_ON
	movq	_VB2_MEMORY_MMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_V4L2_MEMORY_MMAP@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_VB2_MEMORY_USERPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_V4L2_MEMORY_USERPTR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	_VB2_MEMORY_DMABUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_V4L2_MEMORY_DMABUF@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, 4(%rbx)
	jne	LBB0_7
## %bb.6:
	movl	$4, 4(%rbx)
LBB0_7:
	movq	_v4l2_buf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movl	16(%rbx), %edi
	callq	_V4L2_TYPE_IS_MULTIPLANAR
	movl	%eax, 24(%rbx)
	movl	16(%rbx), %edi
	callq	_V4L2_TYPE_IS_OUTPUT
	movl	%eax, 20(%rbx)
	movl	(%r14), %eax
	andl	(%rbx), %eax
	movq	_V4L2_BUF_FLAG_TIMESTAMP_COPY@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	sete	%dl
	movl	%edx, 8(%rbx)
	movl	$1, 12(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vb2_core_queue_init            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MASK,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MASK
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK,4,2 ## @V4L2_BUF_FLAG_TSTAMP_SRC_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN
	.comm	_VB2_MEMORY_MMAP,4,2            ## @VB2_MEMORY_MMAP
	.comm	_V4L2_MEMORY_MMAP,8,3           ## @V4L2_MEMORY_MMAP
	.comm	_VB2_MEMORY_USERPTR,4,2         ## @VB2_MEMORY_USERPTR
	.comm	_V4L2_MEMORY_USERPTR,8,3        ## @V4L2_MEMORY_USERPTR
	.comm	_VB2_MEMORY_DMABUF,4,2          ## @VB2_MEMORY_DMABUF
	.comm	_V4L2_MEMORY_DMABUF,8,3         ## @V4L2_MEMORY_DMABUF
	.comm	_v4l2_buf_ops,4,2               ## @v4l2_buf_ops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_COPY,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_COPY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vb2_queue_init                 ; -- Begin function vb2_queue_init
	.p2align	2
_vb2_queue_init:                        ; @vb2_queue_init
	.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	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x20, _V4L2_BUF_FLAG_TIMESTAMP_MASK@GOTPAGE
Lloh1:
	ldr	x20, [x20, _V4L2_BUF_FLAG_TIMESTAMP_MASK@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	adrp	x10, _V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _V4L2_BUF_FLAG_TSTAMP_SRC_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w0, w8, w9
	bl	_WARN_ON
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x19]
	ldr	w9, [x20]
	and	w8, w9, w8
Lloh5:
	adrp	x9, _V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_WARN_ON
Lloh8:
	adrp	x8, _VB2_MEMORY_MMAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VB2_MEMORY_MMAP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _V4L2_MEMORY_MMAP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_MEMORY_MMAP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_5
; %bb.3:
Lloh14:
	adrp	x8, _VB2_MEMORY_USERPTR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VB2_MEMORY_USERPTR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _V4L2_MEMORY_USERPTR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _V4L2_MEMORY_USERPTR@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_5
; %bb.4:
Lloh20:
	adrp	x8, _VB2_MEMORY_DMABUF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VB2_MEMORY_DMABUF@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _V4L2_MEMORY_DMABUF@GOTPAGE
Lloh24:
	ldr	x9, [x9, _V4L2_MEMORY_DMABUF@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_6
LBB0_5:
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_8
; %bb.7:
	mov	w8, #4
	str	w8, [x19, #4]
LBB0_8:
Lloh29:
	adrp	x8, _v4l2_buf_ops@GOTPAGE
Lloh30:
	ldr	x8, [x8, _v4l2_buf_ops@GOTPAGEOFF]
	str	x8, [x19, #32]
	ldr	w0, [x19, #16]
	bl	_V4L2_TYPE_IS_MULTIPLANAR
	str	w0, [x19, #24]
	ldr	w0, [x19, #16]
	bl	_V4L2_TYPE_IS_OUTPUT
	str	w0, [x19, #20]
	ldr	w8, [x19]
	ldr	w9, [x20]
	and	w8, w9, w8
Lloh31:
	adrp	x9, _V4L2_BUF_FLAG_TIMESTAMP_COPY@GOTPAGE
Lloh32:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TIMESTAMP_COPY@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
	mov	w9, #1
	stp	w8, w9, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vb2_core_queue_init
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MASK,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MASK
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_MASK,4,2 ; @V4L2_BUF_FLAG_TSTAMP_SRC_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN
	.comm	_VB2_MEMORY_MMAP,4,2            ; @VB2_MEMORY_MMAP
	.comm	_V4L2_MEMORY_MMAP,8,3           ; @V4L2_MEMORY_MMAP
	.comm	_VB2_MEMORY_USERPTR,4,2         ; @VB2_MEMORY_USERPTR
	.comm	_V4L2_MEMORY_USERPTR,8,3        ; @V4L2_MEMORY_USERPTR
	.comm	_VB2_MEMORY_DMABUF,4,2          ; @VB2_MEMORY_DMABUF
	.comm	_V4L2_MEMORY_DMABUF,8,3         ; @V4L2_MEMORY_DMABUF
	.comm	_v4l2_buf_ops,4,2               ; @v4l2_buf_ops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_COPY,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_COPY
.subsections_via_symbols
