	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raspitex_do_capture
_raspitex_do_capture:                   ## @raspitex_do_capture
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -24(%rbp)
	movq	$0, -16(%rbp)
	cmpq	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rsi
	leaq	-16(%rbp), %rdx
	callq	*32(%rdi)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	-24(%rbp), %rax
	movq	-16(%rbp), %rcx
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_4:
	movq	%rax, 24(%rbx)
	movq	%rcx, (%rbx)
	movq	$0, 16(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_vcos_semaphore_post
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_raspitex_do_capture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raspitex_do_capture
_raspitex_do_capture:                   ; @raspitex_do_capture
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	stp	xzr, xzr, [sp]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #32]
	add	x1, sp, #8
	mov	x2, sp
	blr	x8
	ldp	x9, x8, [sp]
	cmp	x0, #0
	csel	x8, x8, xzr, eq
	csel	x9, x9, xzr, eq
	str	x9, [x19]
	stp	xzr, x8, [x19, #16]
	add	x0, x19, #8
	bl	_vcos_semaphore_post
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_raspitex_do_capture
.subsections_via_symbols
