	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_queue_get_core
_mmal_queue_get_core:                   ## @mmal_queue_get_core
	.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
	callq	_vcos_mutex_lock
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mmal_queue_sanity_check
	movq	8(%rbx), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_vcos_assert
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
LBB0_2:
	decl	4(%rbx)
	movq	%rbx, %rdi
	callq	_vcos_mutex_unlock
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mmal_queue_get_core
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_queue_get_core
_mmal_queue_get_core:                   ; @mmal_queue_get_core
	.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	x19, x0
	bl	_vcos_mutex_lock
	mov	x0, x19
	mov	x1, #0
	bl	_mmal_queue_sanity_check
	mov	x21, x19
	ldr	x20, [x21, #8]!
	cmp	x20, #0
	cset	w0, ne
	bl	_vcos_assert
	ldr	x8, [x20]
	str	x8, [x21]
	cbnz	x8, LBB0_2
; %bb.1:
	str	x21, [x19, #16]
LBB0_2:
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_vcos_mutex_unlock
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mmal_queue_get_core
.subsections_via_symbols
