	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procstat_threads_sigs          ## -- Begin function procstat_threads_sigs
	.p2align	4, 0x90
_procstat_threads_sigs:                 ## @procstat_threads_sigs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_procstat_opts@GOTPCREL(%rip), %rax
	movq	_PS_OPT_NOHEADER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	leaq	L_.str.5(%rip), %r9
	xorl	%eax, %eax
	callq	_xo_emit
LBB0_2:
	movq	_KERN_PROC_PID@GOTPCREL(%rip), %rax
	movq	_KERN_PROC_INC_THREAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	16(%r15), %edx
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	callq	_procstat_getprocs
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %r12
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	8(%r15), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	leaq	L_.str.8(%rip), %rdi
	callq	_xo_open_container
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	callq	_kinfo_proc_sort
	cmpl	$0, -44(%rbp)
	je	LBB0_11
## %bb.4:
	leaq	L_.str.12(%rip), %r15
	movq	__SIG_MAXSIG@GOTPCREL(%rip), %r13
	xorl	%ecx, %ecx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.12(%rip), %r15
	movq	%r15, %rdi
	callq	_xo_close_container
	movq	-56(%rbp), %rdi
	callq	_xo_close_container
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movl	-44(%rbp), %eax
	cmpq	%rax, %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	__SIG_MAXSIG@GOTPCREL(%rip), %r13
	jae	LBB0_11
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,4), %r14
	movl	12(%r12,%r14,4), %edx
	leaq	-56(%rbp), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_asprintf
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	leaq	L_.str.10(%rip), %rdx
	callq	_xo_errc
	movq	-56(%rbp), %rdi
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%r12,%r14,4), %rbx
	addq	$12, %rbx
	callq	_xo_open_container
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	%r15, %rdi
	callq	_xo_open_container
	cmpl	$0, (%r13)
	leaq	L_.str.13(%rip), %r13
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rbx
	addq	$16, %rbx
	leaq	(%rax,%r14,4), %r15
	leaq	(%rax,%r14,4), %r12
	addq	$4, %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%r14d
	movl	(%rbx), %esi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	-8(%rbx), %esi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	%r14d, %edi
	callq	_procstat_print_signame
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	$80, %edx
	callq	_procstat_print_sig
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$66, %edx
	callq	_procstat_print_sig
	movl	%r14d, %edi
	callq	_procstat_close_signame
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	__SIG_MAXSIG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jl	LBB0_9
	jmp	LBB0_10
LBB0_11:
	leaq	L_.str.8(%rip), %rdi
	callq	_xo_close_container
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_procstat_freeprocs
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_procstat_opts,4,2              ## @procstat_opts
	.comm	_PS_OPT_NOHEADER,4,2            ## @PS_OPT_NOHEADER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{T:/%5s %6s %-16s %-7s %4s}\n"

L_.str.1:                               ## @.str.1
	.asciz	"PID"

L_.str.2:                               ## @.str.2
	.asciz	"TID"

L_.str.3:                               ## @.str.3
	.asciz	"COMM"

L_.str.4:                               ## @.str.4
	.asciz	"SIG"

L_.str.5:                               ## @.str.5
	.asciz	"FLAGS"

	.comm	_KERN_PROC_PID,4,2              ## @KERN_PROC_PID
	.comm	_KERN_PROC_INC_THREAD,4,2       ## @KERN_PROC_INC_THREAD
L_.str.6:                               ## @.str.6
	.asciz	"{ek:process_id/%5d/%d}"

L_.str.7:                               ## @.str.7
	.asciz	"{e:command/%-16s/%s}"

L_.str.8:                               ## @.str.8
	.asciz	"threads"

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

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.10:                              ## @.str.10
	.asciz	"Failed to allocate memory in procstat_threads_sigs()"

L_.str.11:                              ## @.str.11
	.asciz	"{e:thread_id/%6d/%d}"

L_.str.12:                              ## @.str.12
	.asciz	"signals"

	.comm	__SIG_MAXSIG,4,2                ## @_SIG_MAXSIG
L_.str.13:                              ## @.str.13
	.asciz	"{dk:process_id/%5d/%d} "

L_.str.14:                              ## @.str.14
	.asciz	"{d:thread_id/%6d/%d} "

L_.str.15:                              ## @.str.15
	.asciz	"{d:command/%-16s/%s} "

L_.str.16:                              ## @.str.16
	.asciz	" "

L_.str.17:                              ## @.str.17
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procstat_threads_sigs          ; -- Begin function procstat_threads_sigs
	.p2align	2
_procstat_threads_sigs:                 ; @procstat_threads_sigs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, _procstat_opts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procstat_opts@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PS_OPT_NOHEADER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PS_OPT_NOHEADER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, l_.str.5@PAGE
Lloh7:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh8:
	adrp	x9, l_.str.4@PAGE
Lloh9:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh10:
	adrp	x10, l_.str.3@PAGE
Lloh11:
	add	x10, x10, l_.str.3@PAGEOFF
	stp	x9, x8, [sp, #24]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh14:
	adrp	x11, l_.str.1@PAGE
Lloh15:
	add	x11, x11, l_.str.1@PAGEOFF
	stp	x8, x10, [sp, #8]
	str	x11, [sp]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_emit
LBB0_2:
Lloh18:
	adrp	x8, _KERN_PROC_PID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _KERN_PROC_PID@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _KERN_PROC_INC_THREAD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _KERN_PROC_INC_THREAD@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w2, [x19, #16]
	add	x3, sp, #76
	mov	x0, x20
	bl	_procstat_getprocs
	cbz	x0, LBB0_12
; %bb.3:
	mov	x21, x0
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh26:
	adrp	x0, l_.str.7@PAGE
Lloh27:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_xo_emit
Lloh28:
	adrp	x0, l_.str.8@PAGE
Lloh29:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_xo_open_container
	ldr	w1, [sp, #76]
	mov	x0, x21
	bl	_kinfo_proc_sort
	ldr	w8, [sp, #76]
	cbz	w8, LBB0_11
; %bb.4:
	mov	x9, #0
Lloh30:
	adrp	x22, l_.str.12@PAGE
Lloh31:
	add	x22, x22, l_.str.12@PAGEOFF
Lloh32:
	adrp	x19, __SIG_MAXSIG@GOTPAGE
Lloh33:
	ldr	x19, [x19, __SIG_MAXSIG@GOTPAGEOFF]
	str	x21, [sp, #48]                  ; 8-byte Folded Spill
Lloh34:
	adrp	x20, l_.str.13@PAGE
Lloh35:
	add	x20, x20, l_.str.13@PAGEOFF
Lloh36:
	adrp	x27, l_.str.16@PAGE
Lloh37:
	add	x27, x27, l_.str.16@PAGEOFF
Lloh38:
	adrp	x28, l_.str.17@PAGE
Lloh39:
	add	x28, x28, l_.str.17@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh40:
	adrp	x22, l_.str.12@PAGE
Lloh41:
	add	x22, x22, l_.str.12@PAGEOFF
	mov	x0, x22
	bl	_xo_close_container
	ldr	x0, [sp, #64]
	bl	_xo_close_container
	ldr	x0, [sp, #64]
	bl	_free
	ldp	x21, x9, [sp, #48]              ; 16-byte Folded Reload
	add	x9, x9, #1
	ldr	w8, [sp, #76]
	cmp	x9, x8
	b.hs	LBB0_11
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
	mov	w8, #20
	madd	x24, x9, x8, x21
	ldr	w2, [x24, #12]!
	add	x0, sp, #64
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_asprintf
	ldr	x0, [sp, #64]
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	w0, #1
Lloh47:
	adrp	x2, l_.str.10@PAGE
Lloh48:
	add	x2, x2, l_.str.10@PAGEOFF
	bl	_xo_errc
	ldr	x0, [sp, #64]
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_xo_open_container
	ldr	w8, [x24]
	str	x8, [sp]
Lloh49:
	adrp	x0, l_.str.11@PAGE
Lloh50:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_xo_emit
	mov	x0, x22
	bl	_xo_open_container
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, #0
	ldp	x8, x9, [sp, #48]               ; 16-byte Folded Reload
	mov	w10, #20
	madd	x21, x9, x10, x8
	add	x25, x21, #16
	add	x26, x21, #8
	add	x23, x21, #4
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w22, w22, #1
	ldr	w8, [x25]
	str	x8, [sp]
	mov	x0, x20
	bl	_xo_emit
	ldr	w8, [x24]
	str	x8, [sp]
Lloh51:
	adrp	x0, l_.str.14@PAGE
Lloh52:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x26]
	str	x8, [sp]
Lloh53:
	adrp	x0, l_.str.15@PAGE
Lloh54:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_xo_emit
	mov	x0, x22
	bl	_procstat_print_signame
	mov	x0, x27
	bl	_xo_emit
	mov	x0, x23
	mov	x1, x22
	mov	w2, #80
	bl	_procstat_print_sig
	mov	x0, x21
	mov	x1, x22
	mov	w2, #66
	bl	_procstat_print_sig
	mov	x0, x22
	bl	_procstat_close_signame
	mov	x0, x28
	bl	_xo_emit
	ldr	w8, [x19]
	cmp	w22, w8
	b.lt	LBB0_10
	b	LBB0_5
LBB0_11:
Lloh55:
	adrp	x0, l_.str.8@PAGE
Lloh56:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_xo_close_container
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x21
	bl	_procstat_freeprocs
LBB0_12:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_procstat_opts,4,2              ; @procstat_opts
	.comm	_PS_OPT_NOHEADER,4,2            ; @PS_OPT_NOHEADER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{T:/%5s %6s %-16s %-7s %4s}\n"

l_.str.1:                               ; @.str.1
	.asciz	"PID"

l_.str.2:                               ; @.str.2
	.asciz	"TID"

l_.str.3:                               ; @.str.3
	.asciz	"COMM"

l_.str.4:                               ; @.str.4
	.asciz	"SIG"

l_.str.5:                               ; @.str.5
	.asciz	"FLAGS"

	.comm	_KERN_PROC_PID,4,2              ; @KERN_PROC_PID
	.comm	_KERN_PROC_INC_THREAD,4,2       ; @KERN_PROC_INC_THREAD
l_.str.6:                               ; @.str.6
	.asciz	"{ek:process_id/%5d/%d}"

l_.str.7:                               ; @.str.7
	.asciz	"{e:command/%-16s/%s}"

l_.str.8:                               ; @.str.8
	.asciz	"threads"

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

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.10:                              ; @.str.10
	.asciz	"Failed to allocate memory in procstat_threads_sigs()"

l_.str.11:                              ; @.str.11
	.asciz	"{e:thread_id/%6d/%d}"

l_.str.12:                              ; @.str.12
	.asciz	"signals"

	.comm	__SIG_MAXSIG,4,2                ; @_SIG_MAXSIG
l_.str.13:                              ; @.str.13
	.asciz	"{dk:process_id/%5d/%d} "

l_.str.14:                              ; @.str.14
	.asciz	"{d:thread_id/%6d/%d} "

l_.str.15:                              ; @.str.15
	.asciz	"{d:command/%-16s/%s} "

l_.str.16:                              ; @.str.16
	.asciz	" "

l_.str.17:                              ; @.str.17
	.asciz	"\n"

.subsections_via_symbols
