	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_core                           ## -- Begin function core
	.p2align	4, 0x90
_core:                                  ## @core
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_fork
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.1:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	%ebx, %edi
	callq	_wait_child
	movq	_wait_status@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_WIFSIGNALED
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %edi
	callq	_WCOREDUMP
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_str.4(%rip), %rdi
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movl	$1, %eax
	jmp	LBB0_7
LBB0_5:
	leaq	L_str(%rip), %rdi
LBB0_6:
	callq	_puts
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fork"

L_.str.1:                               ## @.str.1
	.asciz	"Okie dokie"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_wait_status,4,2                ## @wait_status
L_str:                                  ## @str
	.asciz	" -- Can't dump core."

L_str.4:                                ## @str.4
	.asciz	" -- Core dumped."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_core                           ; -- Begin function core
	.p2align	2
_core:                                  ; @core
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_fork
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	cbz	w0, LBB0_9
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x8, _stdout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_fflush
	mov	x0, x19
	bl	_wait_child
Lloh5:
	adrp	x19, _wait_status@GOTPAGE
Lloh6:
	ldr	x19, [x19, _wait_status@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_WIFSIGNALED
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x19]
	bl	_WCOREDUMP
	cbz	x0, LBB0_6
; %bb.4:
Lloh7:
	adrp	x0, l_str.4@PAGE
Lloh8:
	add	x0, x0, l_str.4@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	mov	w0, #1
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x0, l_str@PAGE
Lloh12:
	add	x0, x0, l_str@PAGEOFF
LBB0_7:
	bl	_puts
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	_abort
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fork"

l_.str.1:                               ; @.str.1
	.asciz	"Okie dokie"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_wait_status,4,2                ; @wait_status
l_str:                                  ; @str
	.asciz	" -- Can't dump core."

l_str.4:                                ; @str.4
	.asciz	" -- Core dumped."

.subsections_via_symbols
