	.file	"extr_mmal_vc_api.c_mmal_vc_compact.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mmal_vc_compact
	.type	mmal_vc_compact, @function
mmal_vc_compact:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 96
	.cfi_def_cfa_offset 128
	mov	ebp, DWORD PTR MMAL_FALSE[rip]
	mov	r12d, DWORD PTR MMAL_WORKER_COMPACT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 40[rsp], rdi
	mov	QWORD PTR 8[rsp], 32
	call	mmal_vc_get_client@PLT
	lea	rsi, 32[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	ecx, r12d
	push	rbp
	.cfi_def_cfa_offset 144
	mov	edx, 32
	mov	edi, eax
	lea	r9, 24[rsp]
	lea	r8, 64[rsp]
	call	mmal_vc_sendwait_message@PLT
	cmp	QWORD PTR MMAL_SUCCESS[rip], rax
	pop	rdx
	.cfi_def_cfa_offset 136
	pop	rcx
	.cfi_def_cfa_offset 128
	je	.L6
.L1:
	mov	rcx, QWORD PTR 88[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 96
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], 32
	sete	dil
	call	vcos_assert@PLT
	mov	rdx, QWORD PTR 56[rsp]
	mov	rax, QWORD PTR 48[rsp]
	mov	QWORD PTR [rbx], rdx
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mmal_vc_compact, .-mmal_vc_compact
	.comm	MMAL_WORKER_COMPACT,4,4
	.comm	MMAL_SUCCESS,8,8
	.comm	MMAL_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mmal_vc_api.c_mmal_vc_compact.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mmal_vc_compact
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmal_vc_compact, %function
mmal_vc_compact:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, #16
	sub	sp, sp, #60
	ldr	r3, .L8
	str	r0, [sp, #32]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	mov	r4, r1
	str	r5, [sp, #16]
	bl	mmal_vc_get_client
	ldr	r2, .L8+4
	ldr	r3, .L8+8
	ldr	r1, [r2]
	add	ip, sp, r5
	str	r1, [sp, #8]
	add	r1, sp, #36
	ldr	r3, [r3]
	mov	r2, r5
	stm	sp, {r1, ip}
	add	r1, sp, #28
	bl	mmal_vc_sendwait_message
	ldr	r3, .L8+12
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	ldr	r0, [sp, #16]
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	vcos_assert
	ldr	r3, [sp, #40]
	ldr	r0, [sp, #36]
	str	r3, [r4]
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	MMAL_FALSE
	.word	MMAL_WORKER_COMPACT
	.word	MMAL_SUCCESS
	.size	mmal_vc_compact, .-mmal_vc_compact
	.comm	MMAL_WORKER_COMPACT,4,4
	.comm	MMAL_SUCCESS,4,4
	.comm	MMAL_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
