	.file	"530994.c"
	.intel_syntax noprefix
	.text
	.globl	cb_prepare
	.bss
	.align 8
	.type	cb_prepare, @object
	.size	cb_prepare, 8
cb_prepare:
	.zero	8
	.globl	cb_parent
	.align 8
	.type	cb_parent, @object
	.size	cb_parent, 8
cb_parent:
	.zero	8
	.globl	cb_child
	.align 8
	.type	cb_child, @object
	.size	cb_child, 8
cb_child:
	.zero	8
	.text
	.globl	__fork
	.type	__fork, @function
__fork:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR cb_prepare[rip]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR cb_prepare[rip]
	call	rax
.L2:
	mov	edi, 57
	mov	eax, 0
	call	__syscall@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR cb_child[rip]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR cb_child[rip]
	call	rax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR cb_parent[rip]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR cb_parent[rip]
	call	rax
.L4:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	__fork, .-__fork
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"530994.c"
	.text
	.global	cb_prepare
	.bss
	.align	2
	.type	cb_prepare, %object
	.size	cb_prepare, 4
cb_prepare:
	.space	4
	.global	cb_parent
	.align	2
	.type	cb_parent, %object
	.size	cb_parent, 4
cb_parent:
	.space	4
	.global	cb_child
	.align	2
	.type	cb_child, %object
	.size	cb_child, 4
cb_child:
	.space	4
	.text
	.align	2
	.global	__fork
	.syntax unified
	.arm
	.fpu softvfp
	.type	__fork, %function
__fork:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L6
	ldr	r3, [r3]
	blx	r3
.L2:
	mov	r0, #2
	bl	__syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L6+4
	ldr	r3, [r3]
	blx	r3
	b	.L4
.L3:
	ldr	r3, .L6+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L6+8
	ldr	r3, [r3]
	blx	r3
.L4:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	cb_prepare
	.word	cb_child
	.word	cb_parent
	.size	__fork, .-__fork
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
