	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_command_queue          ## -- Begin function mmalomx_command_queue
	.p2align	4, 0x90
_mmalomx_command_queue:                 ## @mmalomx_command_queue
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_mmal_queue_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_vcos_verify
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, 8(%rbx)
	movq	%r14, (%rbx)
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_mmal_queue_put
	movq	%r12, %rdi
	callq	_mmalomx_commands_actions_signal
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_LOG_ERROR
	movq	_OMX_ErrorInsufficientResources@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command queue too small"

	.comm	_OMX_ErrorInsufficientResources,4,2 ## @OMX_ErrorInsufficientResources
	.comm	_OMX_ErrorNone,4,2              ## @OMX_ErrorNone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_command_queue          ; -- Begin function mmalomx_command_queue
	.p2align	2
_mmalomx_command_queue:                 ; @mmalomx_command_queue
	.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	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_mmal_queue_get
	mov	x22, x0
	bl	_vcos_verify
	cbz	w0, LBB0_2
; %bb.1:
	stp	x20, x21, [x22]
	ldr	w0, [x19]
	mov	x1, x22
	bl	_mmal_queue_put
	mov	x0, x19
	bl	_mmalomx_commands_actions_signal
Lloh0:
	adrp	x8, _OMX_ErrorNone@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMX_ErrorNone@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_ERROR
Lloh4:
	adrp	x8, _OMX_ErrorInsufficientResources@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OMX_ErrorInsufficientResources@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command queue too small"

	.comm	_OMX_ErrorInsufficientResources,4,2 ; @OMX_ErrorInsufficientResources
	.comm	_OMX_ErrorNone,4,2              ; @OMX_ErrorNone
.subsections_via_symbols
