	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pendjob                        ## -- Begin function pendjob
	.p2align	4, 0x90
_pendjob:                               ## @pendjob
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pcurrjob@GOTPCREL(%rip), %r14
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_8
## %bb.1:
	movq	_PFOREGND@GOTPCREL(%rip), %rax
	movq	_PSTOPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r12)
	jne	LBB0_8
## %bb.2:
	movq	$0, (%r14)
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	cmpq	16(%r12), %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r12), %r12
	jmp	LBB0_4
LBB0_5:
	movq	24(%r12), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_xprintf
	leaq	L_.str.1(%rip), %r15
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_xprintf
	movq	32(%rbx), %rbx
	cmpq	%r12, %rbx
	jne	LBB0_6
## %bb.7:
	movl	$10, %edi
	callq	_xputchar
LBB0_8:
	movq	$0, (%r14)
	movq	_pholdjob@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pcurrjob,8,3                   ## @pcurrjob
	.comm	_PFOREGND,4,2                   ## @PFOREGND
	.comm	_PSTOPPED,4,2                   ## @PSTOPPED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%d]"

L_.str.1:                               ## @.str.1
	.asciz	" %d"

	.comm	_pholdjob,8,3                   ## @pholdjob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pendjob                        ; -- Begin function pendjob
	.p2align	2
_pendjob:                               ; @pendjob
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x20, _pcurrjob@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pcurrjob@GOTPAGEOFF]
	ldr	x21, [x20]
	cbz	x21, LBB0_8
; %bb.1:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _PFOREGND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PFOREGND@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _PSTOPPED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PSTOPPED@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_8
; %bb.2:
	str	xzr, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x21, #8]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #32]
	b	LBB0_3
LBB0_5:
	ldr	x1, [x21, #24]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xprintf
Lloh10:
	adrp	x19, l_.str.1@PAGE
Lloh11:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x22, x21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22, #8]
	mov	x0, x19
	bl	_xprintf
	ldr	x22, [x22, #32]
	cmp	x22, x21
	b.ne	LBB0_6
; %bb.7:
	mov	w0, #10
	bl	_xputchar
LBB0_8:
	str	xzr, [x20]
Lloh12:
	adrp	x8, _pholdjob@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pholdjob@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pcurrjob,8,3                   ; @pcurrjob
	.comm	_PFOREGND,4,2                   ; @PFOREGND
	.comm	_PSTOPPED,4,2                   ; @PSTOPPED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%d]"

l_.str.1:                               ; @.str.1
	.asciz	" %d"

	.comm	_pholdjob,8,3                   ; @pholdjob
.subsections_via_symbols
