	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_queue_init                 ## -- Begin function uvc_queue_init
	.p2align	4, 0x90
_uvc_queue_init:                        ## @uvc_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	addq	$16, %rdi
	movl	%esi, 16(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rcx
	movq	_VB2_USERPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movl	%eax, 20(%rbx)
	movq	%rbx, 56(%rbx)
	movl	$4, 24(%rbx)
	movq	_vb2_vmalloc_memops@GOTPCREL(%rip), %rcx
	movq	%rcx, 48(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rcx
	movq	_V4L2_BUF_FLAG_TSTAMP_SRC_SOE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, 28(%rbx)
	leaq	12(%rbx), %r12
	movq	%r12, 40(%rbx)
	cmpl	$128, %esi
	jne	LBB0_2
## %bb.1:
	movq	_uvc_meta_queue_qops@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_VB2_DMABUF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 20(%rbx)
	movq	_uvc_queue_qops@GOTPCREL(%rip), %rax
LBB0_3:
	movq	%rax, 32(%rbx)
	callq	_vb2_queue_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	callq	_mutex_init
	leaq	8(%rbx), %rdi
	callq	_spin_lock_init
	leaq	4(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	movq	_UVC_QUEUE_DROP_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r14d, (%rbx)
LBB0_7:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ## @VB2_USERPTR
	.comm	_vb2_vmalloc_memops,4,2         ## @vb2_vmalloc_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_SOE,4,2 ## @V4L2_BUF_FLAG_TSTAMP_SRC_SOE
	.comm	_uvc_meta_queue_qops,4,2        ## @uvc_meta_queue_qops
	.comm	_VB2_DMABUF,4,2                 ## @VB2_DMABUF
	.comm	_uvc_queue_qops,4,2             ## @uvc_queue_qops
	.comm	_UVC_QUEUE_DROP_CORRUPTED,4,2   ## @UVC_QUEUE_DROP_CORRUPTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_queue_init                 ; -- Begin function uvc_queue_init
	.p2align	2
_uvc_queue_init:                        ; @uvc_queue_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	str	w1, [x0, #16]!
Lloh0:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VB2_USERPTR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VB2_USERPTR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mov	w9, #4
	stp	w8, w9, [x19, #20]
Lloh6:
	adrp	x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _V4L2_BUF_FLAG_TSTAMP_SRC_SOE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _V4L2_BUF_FLAG_TSTAMP_SRC_SOE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _vb2_vmalloc_memops@GOTPAGE
Lloh13:
	ldr	x10, [x10, _vb2_vmalloc_memops@GOTPAGEOFF]
	stp	x10, x19, [x19, #48]
	str	w9, [x19, #28]
	add	x21, x19, #12
	str	x21, [x19, #40]
	cmp	w1, #128
	b.ne	LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _uvc_meta_queue_qops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _uvc_meta_queue_qops@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh16:
	adrp	x9, _VB2_DMABUF@GOTPAGE
Lloh17:
	ldr	x9, [x9, _VB2_DMABUF@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #20]
Lloh19:
	adrp	x8, _uvc_queue_qops@GOTPAGE
Lloh20:
	ldr	x8, [x8, _uvc_queue_qops@GOTPAGEOFF]
LBB0_3:
	str	x8, [x19, #32]
	bl	_vb2_queue_init
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_mutex_init
	add	x0, x19, #8
	bl	_spin_lock_init
	add	x0, x19, #4
	bl	_INIT_LIST_HEAD
Lloh21:
	adrp	x8, _UVC_QUEUE_DROP_CORRUPTED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UVC_QUEUE_DROP_CORRUPTED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w20, #0
	csel	w8, wzr, w8, eq
	str	w8, [x19]
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ; @VB2_USERPTR
	.comm	_vb2_vmalloc_memops,4,2         ; @vb2_vmalloc_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_SOE,4,2 ; @V4L2_BUF_FLAG_TSTAMP_SRC_SOE
	.comm	_uvc_meta_queue_qops,4,2        ; @uvc_meta_queue_qops
	.comm	_VB2_DMABUF,4,2                 ; @VB2_DMABUF
	.comm	_uvc_queue_qops,4,2             ; @uvc_queue_qops
	.comm	_UVC_QUEUE_DROP_CORRUPTED,4,2   ; @UVC_QUEUE_DROP_CORRUPTED
.subsections_via_symbols
