	.file	"extr_smp_64.c_smp_capture.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	smp_capture
	.type	smp_capture, @function
smp_capture:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, smp_capture_depth[rip]
	mov	edi, 1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	atomic_add_ret@PLT
	cmp	eax, 1
	je	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	eax, eax
	lea	rbp, smp_capture_registry[rip]
	call	num_online_cpus@PLT
	lea	rdi, smp_capture_registry[rip]
	mov	DWORD PTR penguins_are_doing_time[rip], 1
	mov	ebx, eax
	call	atomic_inc@PLT
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	lea	rdi, xcall_capture[rip]
	call	smp_cross_call@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	call	rmb@PLT
.L3:
	mov	rdi, rbp
	call	atomic_read@PLT
	cmp	eax, ebx
	jne	.L4
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	smp_capture, .-smp_capture
	.comm	xcall_capture,4,4
	.comm	smp_capture_registry,4,4
	.comm	smp_capture_depth,4,4
	.comm	penguins_are_doing_time,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_smp_64.c_smp_capture.c"
	.text
	.align	2
	.global	smp_capture
	.syntax unified
	.arm
	.fpu softvfp
	.type	smp_capture, %function
smp_capture:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r0, #1
	push	{r4, r5, r6, lr}
	ldr	r1, .L8
	bl	atomic_add_ret
	cmp	r0, #1
	popne	{r4, r5, r6, pc}
	mov	r4, r0
	bl	num_online_cpus
	ldr	r3, .L8+4
	mov	r5, r0
	ldr	r0, .L8+8
	str	r4, [r3]
	bl	atomic_inc
	mov	r3, #0
	ldr	r0, .L8+12
	mov	r2, r3
	mov	r1, r3
	bl	smp_cross_call
	ldr	r4, .L8+8
.L3:
	mov	r0, r4
	bl	atomic_read
	cmp	r0, r5
	popeq	{r4, r5, r6, pc}
	bl	rmb
	b	.L3
.L9:
	.align	2
.L8:
	.word	smp_capture_depth
	.word	penguins_are_doing_time
	.word	smp_capture_registry
	.word	xcall_capture
	.size	smp_capture, .-smp_capture
	.comm	xcall_capture,4,4
	.comm	smp_capture_registry,4,4
	.comm	smp_capture_depth,4,4
	.comm	penguins_are_doing_time,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
