	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vb2_core_queue_init            ## -- Begin function vb2_core_queue_init
	.p2align	4, 0x90
_vb2_core_queue_init:                   ## @vb2_core_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 72(%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	xorl	%edi, %edi
	cmpl	$0, 88(%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	xorl	%edi, %edi
	cmpl	$0, 84(%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	xorl	%edi, %edi
	cmpl	$0, 80(%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movq	72(%rbx), %rax
	xorl	%edi, %edi
	cmpl	$0, 4(%rax)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	72(%rbx), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	cmpq	$0, 64(%rbx)
	je	LBB0_9
## %bb.10:
	xorl	%edi, %edi
	cmpl	$0, 56(%rbx)
	sete	%dil
	jmp	LBB0_11
LBB0_9:
	xorl	%edi, %edi
LBB0_11:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_12
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_12:
	leaq	52(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	48(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	44(%rbx), %rdi
	callq	_spin_lock_init
	leaq	40(%rbx), %rdi
	callq	_mutex_init
	leaq	36(%rbx), %rdi
	callq	_init_waitqueue_head
	movq	_VB2_MEMORY_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	cmpl	$0, (%rbx)
	jne	LBB0_14
## %bb.13:
	movl	$4, (%rbx)
LBB0_14:
	cmpq	$0, 24(%rbx)
	je	LBB0_16
## %bb.15:
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	cmpq	$0, 8(%rbx)
	jne	LBB0_17
## %bb.18:
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VB2_MEMORY_UNKNOWN,4,2         ## @VB2_MEMORY_UNKNOWN
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vb2_core_queue_init            ; -- Begin function vb2_core_queue_init
	.p2align	2
_vb2_core_queue_init:                   ; @vb2_core_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_11
; %bb.1:
	ldr	x8, [x19, #72]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_11
; %bb.2:
	ldr	w8, [x19, #88]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_11
; %bb.3:
	ldr	w8, [x19, #84]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_11
; %bb.4:
	ldr	w8, [x19, #80]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_11
; %bb.5:
	ldr	x8, [x19, #72]
	ldr	w8, [x8, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_11
; %bb.6:
	ldr	x8, [x19, #72]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_11
; %bb.7:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w8, [x19, #56]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	bl	_WARN_ON
	cbz	x0, LBB0_13
LBB0_11:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	add	x0, x19, #52
	bl	_INIT_LIST_HEAD
	add	x0, x19, #48
	bl	_INIT_LIST_HEAD
	add	x0, x19, #44
	bl	_spin_lock_init
	add	x0, x19, #40
	bl	_mutex_init
	add	x0, x19, #36
	bl	_init_waitqueue_head
Lloh3:
	adrp	x8, _VB2_MEMORY_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VB2_MEMORY_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	w8, [x19]
	cbnz	w8, LBB0_15
; %bb.14:
	mov	w8, #4
	str	w8, [x19]
LBB0_15:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_17
; %bb.16:
	mov	w0, #0
Lloh6:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
	mov	w0, #0
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _DMA_TO_DEVICE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh10:
	adrp	x10, _DMA_FROM_DEVICE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DMA_FROM_DEVICE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
LBB0_18:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VB2_MEMORY_UNKNOWN,4,2         ; @VB2_MEMORY_UNKNOWN
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
.subsections_via_symbols
