	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getjobstatus
_getjobstatus:                          ## @getjobstatus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rdi), %rax
	movl	-4(%rax,%rcx,4), %eax
	decq	%rcx
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rdi), %rax
	movslq	(%rdi), %rcx
	movl	-4(%rax,%rcx,4), %eax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getjobstatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getjobstatus
_getjobstatus:                          ; @getjobstatus
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	w9, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0, #8]
	add	x8, x8, x9, lsl #2
	sub	x9, x9, #1
	ldur	w8, [x8, #-4]
	cbz	w8, LBB0_2
; %bb.4:
	mov	x0, x8
	ret
LBB0_5:
	ldr	x8, [x0, #8]
	ldrsw	x9, [x0]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	ret
LBB0_6:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getjobstatus
.subsections_via_symbols
