	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_P_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_PPROT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %r13
	leaq	LJTI0_0(%rip), %r12
	xorl	%r15d, %r15d
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$-1, %eax
	je	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-99(%rax), %ecx
	cmpl	$13, %ecx
	ja	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_1:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_PPROT_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_P_PGID@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_P_PID@GOTPCREL(%rip), %rax
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_parse_id
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$1, %r15d
	jmp	LBB0_4
LBB0_6:
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, -56(%rbp)
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.7:
	cmpl	%ebx, %r12d
	je	LBB0_13
## %bb.8:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_17:
	xorl	%eax, %eax
	callq	_usage
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_19
	jmp	LBB0_20
LBB0_13:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.14:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
LBB0_19:
	movq	_PPROT_DESCEND@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	%r13d, -56(%rbp)
LBB0_20:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.21:
	movq	_PPROT_INHERIT@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	%r13d, -56(%rbp)
LBB0_22:
	movq	_PROC_SPROTECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	movl	%r15d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_procctl
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.24:
	cmpl	%ebx, %r12d
	je	LBB0_26
LBB0_25:
	leaq	(%r14,%r12,8), %rbx
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_execvp
	movq	(%r14), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	orl	$126, %edi
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_26:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
	cmpl	%ebx, %r12d
	jne	LBB0_25
	jmp	LBB0_26
LBB0_15:
	cmpl	%ebx, %r12d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_17
## %bb.16:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_P_PID,4,2                      ## @P_PID
	.comm	_PPROT_SET,4,2                  ## @PPROT_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cdig:p:"

	.comm	_PPROT_CLEAR,4,2                ## @PPROT_CLEAR
	.comm	_P_PGID,4,2                     ## @P_PGID
	.comm	_optarg,4,2                     ## @optarg
	.comm	_optind,8,3                     ## @optind
	.comm	_PPROT_DESCEND,4,2              ## @PPROT_DESCEND
	.comm	_PPROT_INHERIT,4,2              ## @PPROT_INHERIT
	.comm	_PROC_SPROTECT,4,2              ## @PROC_SPROTECT
L_.str.1:                               ## @.str.1
	.asciz	"procctl"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.2:                               ## @.str.2
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _P_PID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x26, _PPROT_SET@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PPROT_SET@GOTPAGEOFF]
	bl	_getpid
	mov	x22, x0
	mov	w25, #0
	mov	w24, #0
	mov	w28, #0
Lloh5:
	adrp	x23, l_.str@PAGE
Lloh6:
	add	x23, x23, l_.str@PAGEOFF
Lloh7:
	adrp	x27, lJTI0_0@PAGE
Lloh8:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh9:
	ldr	w26, [x26]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_getopt
	sub	w8, w0, #99
	cmp	w8, #13
	b.hi	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh10:
	adrp	x26, _PPROT_CLEAR@GOTPAGE
Lloh11:
	ldr	x26, [x26, _PPROT_CLEAR@GOTPAGEOFF]
Lloh12:
	ldr	w26, [x26]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, #1
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh13:
	adrp	x8, _P_PGID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _P_PGID@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w24, #1
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh15:
	adrp	x8, _P_PID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _optarg@GOTPAGE
Lloh18:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_parse_id
	mov	x22, x0
	mov	w28, #1
	b	LBB0_2
LBB0_10:
	str	w26, [sp, #12]
Lloh20:
	adrp	x8, _optind@GOTPAGE
Lloh21:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh22:
	ldr	x23, [x8]
	cbz	w28, LBB0_13
; %bb.11:
	cmp	w23, w20
	b.eq	LBB0_13
LBB0_12:
	bl	_usage
	b	LBB0_14
LBB0_13:
	cbz	w28, LBB0_23
LBB0_14:
	cbz	w25, LBB0_16
; %bb.15:
Lloh23:
	adrp	x8, _PPROT_DESCEND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PPROT_DESCEND@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	orr	w26, w26, w8
	str	w26, [sp, #12]
LBB0_16:
	cbz	w24, LBB0_18
; %bb.17:
Lloh26:
	adrp	x8, _PPROT_INHERIT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PPROT_INHERIT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	orr	w8, w26, w8
	str	w8, [sp, #12]
LBB0_18:
Lloh29:
	adrp	x8, _PROC_SPROTECT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PROC_SPROTECT@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x22
	bl	_procctl
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.19:
	cmp	w23, w20
	b.eq	LBB0_21
LBB0_20:
	add	x19, x19, x23, lsl #3
Lloh32:
	adrp	x20, _errno@GOTPAGE
Lloh33:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	ldr	x0, [x19]
	mov	x1, x19
	bl	_execvp
Lloh34:
	adrp	x8, _ENOENT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh36:
	ldr	x8, [x8]
	cmp	x9, x8
	mov	w8, #126
	cinc	w0, w8, eq
	ldr	x8, [x19]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_21:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_22:
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
	cmp	w23, w20
	b.ne	LBB0_20
	b	LBB0_21
LBB0_23:
	cmp	w23, w20
	ccmp	w25, #0, #0, ne
	b.ne	LBB0_12
	b	LBB0_16
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_P_PID,4,2                      ; @P_PID
	.comm	_PPROT_SET,4,2                  ; @PPROT_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cdig:p:"

	.comm	_PPROT_CLEAR,4,2                ; @PPROT_CLEAR
	.comm	_P_PGID,4,2                     ; @P_PGID
	.comm	_optarg,4,2                     ; @optarg
	.comm	_optind,8,3                     ; @optind
	.comm	_PPROT_DESCEND,4,2              ; @PPROT_DESCEND
	.comm	_PPROT_INHERIT,4,2              ; @PPROT_INHERIT
	.comm	_PROC_SPROTECT,4,2              ; @PROC_SPROTECT
l_.str.1:                               ; @.str.1
	.asciz	"procctl"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.2:                               ; @.str.2
	.asciz	"%s"

.subsections_via_symbols
