	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fg_proc_entry                  ## -- Begin function fg_proc_entry
	.p2align	4, 0x90
_fg_proc_entry:                         ## @fg_proc_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_getexit
	movq	_pintr_disabled@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_GettingInput@GOTPCREL(%rip), %r15
	movq	(%r15), %r12
	movq	$0, (%r15)
	movq	_haderr@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	xorl	%eax, %eax
	callq	_cleanup_push_mark
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_setexit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_pendjob
	xorl	%edi, %edi
	callq	_alarm
	movq	_alrmcatch_disabled@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pstart
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	$0, 8(%rbx)
	movq	_ERR_BADJOB@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rbx), %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_stderror
LBB0_3:
	movq	%rbx, %rdi
	callq	_pjwait
	movq	_haderr@GOTPCREL(%rip), %r13
	movq	_GettingInput@GOTPCREL(%rip), %r15
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movl	$1, %edi
	callq	_setalarm
	movq	%rbx, %rdi
	callq	_cleanup_pop_mark
	callq	_resexit
	movl	%r14d, (%r13)
	movq	%r12, (%r15)
	movq	_pintr_disabled@GOTPCREL(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_disabled_cleanup               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pintr_disabled,4,2             ## @pintr_disabled
	.comm	_GettingInput,8,3               ## @GettingInput
	.comm	_haderr,4,2                     ## @haderr
	.comm	_alrmcatch_disabled,4,2         ## @alrmcatch_disabled
	.comm	_ERR_BADJOB,4,2                 ## @ERR_BADJOB
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fg_proc_entry                  ; -- Begin function fg_proc_entry
	.p2align	2
_fg_proc_entry:                         ; @fg_proc_entry
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_getexit
Lloh0:
	adrp	x8, _pintr_disabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pintr_disabled@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
Lloh2:
	adrp	x23, _GettingInput@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GettingInput@GOTPAGEOFF]
	str	w9, [x8]
	ldr	x24, [x23]
	str	xzr, [x23]
Lloh4:
	adrp	x25, _haderr@GOTPAGE
Lloh5:
	ldr	x25, [x25, _haderr@GOTPAGEOFF]
	ldr	w26, [x25]
	bl	_cleanup_push_mark
	mov	x20, x0
	bl	_setexit
	cbnz	x0, LBB0_4
; %bb.1:
	bl	_pendjob
	mov	w0, #0
	bl	_alarm
Lloh6:
	adrp	x8, _alrmcatch_disabled@GOTPAGE
Lloh7:
	ldr	x8, [x8, _alrmcatch_disabled@GOTPAGEOFF]
	mov	w9, #1
Lloh8:
	str	w9, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_pstart
	cbnz	w0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _ERR_BADJOB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_BADJOB@GOTPAGEOFF]
	str	xzr, [x19, #8]
Lloh11:
	ldr	w21, [x8]
	ldr	w22, [x19]
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_stderror
LBB0_3:
	mov	x0, x19
	bl	_pjwait
LBB0_4:
	mov	w0, #1
	bl	_setalarm
	mov	x0, x20
	bl	_cleanup_pop_mark
	bl	_resexit
	str	w26, [x25]
	str	x24, [x23]
Lloh15:
	adrp	x0, _pintr_disabled@GOTPAGE
Lloh16:
	ldr	x0, [x0, _pintr_disabled@GOTPAGEOFF]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_disabled_cleanup
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_pintr_disabled,4,2             ; @pintr_disabled
	.comm	_GettingInput,8,3               ; @GettingInput
	.comm	_haderr,4,2                     ; @haderr
	.comm	_alrmcatch_disabled,4,2         ; @alrmcatch_disabled
	.comm	_ERR_BADJOB,4,2                 ; @ERR_BADJOB
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
