	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function term_procs
_term_procs:                            ## @term_procs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %rax
	movq	_IP_STOP_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-44(%rbp), %rsi
	callq	_int_param
	testl	%eax, %eax
	je	LBB0_1
## %bb.18:
	cmpl	$0, -44(%rbp)
	jne	LBB0_2
## %bb.19:
	xorl	%r14d, %r14d
	jmp	LBB0_20
LBB0_1:
	movq	_DEFAULT_STOP_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
LBB0_2:
	movq	_term_procs.kd(%rip), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_kvm_open
	movq	%rax, %rdi
	movq	%rax, _term_procs.kd(%rip)
	testq	%rax, %rax
	je	LBB0_20
LBB0_4:
	movq	_KERN_PROC_PROC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %rcx
	xorl	%edx, %edx
	callq	_kvm_getprocs
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:
	cmpl	$0, -48(%rbp)
	jle	LBB0_16
## %bb.6:
	movq	%rax, %rbx
	addq	$8, %rbx
	movq	_SIGTERM@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movslq	-48(%rbp), %rax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jge	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %edi
	movl	(%r12), %esi
	callq	_kill
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_add_proc
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_jail_note
	jmp	LBB0_12
LBB0_14:
	testl	%r14d, %r14d
	movl	$0, %r14d
	je	LBB0_16
## %bb.15:
	movl	$10, %edi
	callq	_putchar
LBB0_16:
	cmpq	$0, 8(%r15)
	jle	LBB0_20
## %bb.17:
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	callq	_clock_gettime
	movl	-44(%rbp), %eax
	addl	%eax, 16(%r15)
	movl	$1, %r14d
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_term_procs.kd,8,3 ## @term_procs.kd
	.comm	_IP_STOP_TIMEOUT,8,3            ## @IP_STOP_TIMEOUT
	.comm	_DEFAULT_STOP_TIMEOUT,4,2       ## @DEFAULT_STOP_TIMEOUT
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_KERN_PROC_PROC,4,2             ## @KERN_PROC_PROC
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_verbose,8,3                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sent SIGTERM to:"

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

	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.no_dead_strip	_term_procs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function term_procs
_term_procs:                            ; @term_procs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _IP_STOP_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IP_STOP_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #8
	bl	_int_param
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_3
	b	LBB0_19
LBB0_2:
Lloh3:
	adrp	x8, _DEFAULT_STOP_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEFAULT_STOP_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
LBB0_3:
	adrp	x20, _term_procs.kd@PAGE
	ldr	x0, [x20, _term_procs.kd@PAGEOFF]
	cbnz	x0, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x1, #0
	mov	x2, #0
	mov	x4, #0
	bl	_kvm_open
	str	x0, [x20, _term_procs.kd@PAGEOFF]
	cbz	x0, LBB0_20
LBB0_5:
Lloh9:
	adrp	x8, _KERN_PROC_PROC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KERN_PROC_PROC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	w2, #0
	bl	_kvm_getprocs
	cbz	x0, LBB0_20
; %bb.6:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.7:
	mov	x22, #0
	mov	w26, #0
	add	x23, x0, #8
Lloh12:
	adrp	x24, _SIGTERM@GOTPAGE
Lloh13:
	ldr	x24, [x24, _SIGTERM@GOTPAGEOFF]
Lloh14:
	adrp	x25, _verbose@GOTPAGE
Lloh15:
	ldr	x25, [x25, _verbose@GOTPAGEOFF]
Lloh16:
	adrp	x20, l_.str@PAGE
Lloh17:
	add	x20, x20, l_.str@PAGEOFF
Lloh18:
	adrp	x21, l_.str.1@PAGE
Lloh19:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x23]
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
	mov	w26, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [sp, #12]
	add	x23, x23, #16
	cmp	x22, x8
	b.ge	LBB0_15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x23, #-8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x23]
	ldr	w1, [x24]
	bl	_kill
	cbnz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_add_proc
	ldr	x8, [x25]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	cbnz	w26, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_jail_note
	b	LBB0_8
LBB0_15:
	cbz	w26, LBB0_17
; %bb.16:
	mov	w0, #10
	bl	_putchar
LBB0_17:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_19
; %bb.18:
Lloh20:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_clock_gettime
	ldr	w8, [sp, #8]
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
	mov	w0, #1
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_term_procs.kd,8,3 ; @term_procs.kd
	.comm	_IP_STOP_TIMEOUT,8,3            ; @IP_STOP_TIMEOUT
	.comm	_DEFAULT_STOP_TIMEOUT,4,2       ; @DEFAULT_STOP_TIMEOUT
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_KERN_PROC_PROC,4,2             ; @KERN_PROC_PROC
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_verbose,8,3                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sent SIGTERM to:"

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

	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.no_dead_strip	_term_procs
.subsections_via_symbols
