	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procstat_cred                  ## -- Begin function procstat_cred
	.p2align	4, 0x90
_procstat_cred:                         ## @procstat_cred
	.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
	movq	%rdi, %r13
	movq	_procstat_opts@GOTPCREL(%rip), %rax
	movq	_PS_OPT_NOHEADER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.11(%rip), %rbx
	leaq	L_.str.10(%rip), %r10
	leaq	L_.str.9(%rip), %r11
	leaq	L_.str.8(%rip), %r14
	leaq	L_.str.7(%rip), %r15
	leaq	L_.str.6(%rip), %r12
	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
	pushq	%rbx
	pushq	%r10
	pushq	%r11
	pushq	%r14
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	pushq	%r15
	pushq	%r12
	callq	_xo_emit
	addq	$48, %rsp
LBB0_2:
	movl	40(%r14), %esi
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	36(%r14), %esi
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	32(%r14), %esi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	28(%r14), %esi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	24(%r14), %esi
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	8(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	20(%r14), %esi
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	16(%r14), %esi
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_get_umask
	leaq	L_.str.20(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	_CRED_FLAG_CAPMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	leaq	L_.str.23(%rip), %rax
	leaq	L_.str.22(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.21(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	leaq	L_.str.24(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	_KI_CRF_GRP_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.3:
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_procstat_getgroups
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	movl	4(%r14), %eax
	movl	%eax, -44(%rbp)
	movq	8(%r14), %rbx
LBB0_5:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.25(%rip), %rdi
	callq	_xo_open_list
	cmpl	$0, -44(%rbp)
	je	LBB0_8
## %bb.6:
	leaq	L_.str.28(%rip), %r13
	leaq	L_.str.27(%rip), %r14
	leaq	L_.str.26(%rip), %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	movq	%r14, %rsi
	cmoveq	%r13, %rsi
	movl	(%rbx,%r15,4), %edx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	incq	%r15
	movl	-44(%rbp), %eax
	cmpq	%rax, %r15
	jb	LBB0_7
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%rax), %rbx
	je	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_procstat_freegroups
LBB0_10:
	leaq	L_.str.25(%rip), %rdi
	callq	_xo_close_list
	leaq	L_.str.29(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	addq	$24, %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 %-16s %5s %5s %5s %5s %5s %5s %5s %5s %-15s}\n"

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

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"EGID"

L_.str.7:                               ## @.str.7
	.asciz	"RGID"

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

L_.str.9:                               ## @.str.9
	.asciz	"UMASK"

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

L_.str.11:                              ## @.str.11
	.asciz	"GROUPS"

L_.str.12:                              ## @.str.12
	.asciz	"{k:process_id/%5d/%d} "

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

L_.str.14:                              ## @.str.14
	.asciz	"{:uid/%5d} "

L_.str.15:                              ## @.str.15
	.asciz	"{:ruid/%5d} "

L_.str.16:                              ## @.str.16
	.asciz	"{:svuid/%5d} "

L_.str.17:                              ## @.str.17
	.asciz	"{:group/%5d} "

L_.str.18:                              ## @.str.18
	.asciz	"{:rgid/%5d} "

L_.str.19:                              ## @.str.19
	.asciz	"{:svgid/%5d} "

L_.str.20:                              ## @.str.20
	.asciz	"{:umask/%5s} "

L_.str.21:                              ## @.str.21
	.asciz	"{:cr_flags/%s}"

	.comm	_CRED_FLAG_CAPMODE,4,2          ## @CRED_FLAG_CAPMODE
L_.str.22:                              ## @.str.22
	.asciz	"C"

L_.str.23:                              ## @.str.23
	.asciz	"-"

L_.str.24:                              ## @.str.24
	.asciz	"{P:     }"

	.comm	_KI_CRF_GRP_OVERFLOW,4,2        ## @KI_CRF_GRP_OVERFLOW
L_.str.25:                              ## @.str.25
	.asciz	"groups"

L_.str.26:                              ## @.str.26
	.asciz	"{D:/%s}{l:groups/%d}"

L_.str.27:                              ## @.str.27
	.asciz	","

L_.str.28:                              ## @.str.28
	.space	1

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procstat_cred                  ; -- Begin function procstat_cred
	.p2align	2
_procstat_cred:                         ; @procstat_cred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	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
	mov	x20, x1
	mov	x19, 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.11@PAGE
Lloh7:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh8:
	adrp	x9, l_.str.10@PAGE
Lloh9:
	add	x9, x9, l_.str.10@PAGEOFF
Lloh10:
	adrp	x10, l_.str.9@PAGE
Lloh11:
	add	x10, x10, l_.str.9@PAGEOFF
	stp	x9, x8, [sp, #72]
Lloh12:
	adrp	x8, l_.str.8@PAGE
Lloh13:
	add	x8, x8, l_.str.8@PAGEOFF
Lloh14:
	adrp	x11, l_.str.7@PAGE
Lloh15:
	add	x11, x11, l_.str.7@PAGEOFF
	stp	x8, x10, [sp, #56]
Lloh16:
	adrp	x9, l_.str.6@PAGE
Lloh17:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh18:
	adrp	x10, l_.str.5@PAGE
Lloh19:
	add	x10, x10, l_.str.5@PAGEOFF
	stp	x9, x11, [sp, #40]
Lloh20:
	adrp	x8, l_.str.4@PAGE
Lloh21:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh22:
	adrp	x11, l_.str.3@PAGE
Lloh23:
	add	x11, x11, l_.str.3@PAGEOFF
	stp	x8, x10, [sp, #24]
Lloh24:
	adrp	x9, l_.str.2@PAGE
Lloh25:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh26:
	adrp	x10, l_.str.1@PAGE
Lloh27:
	add	x10, x10, l_.str.1@PAGEOFF
	stp	x9, x11, [sp, #8]
	str	x10, [sp]
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_emit
LBB0_2:
	ldr	w8, [x20, #40]
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.12@PAGE
Lloh31:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20, #36]
	str	x8, [sp]
Lloh32:
	adrp	x0, l_.str.13@PAGE
Lloh33:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20, #32]
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.14@PAGE
Lloh35:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20, #28]
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.15@PAGE
Lloh37:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20, #24]
	str	x8, [sp]
Lloh38:
	adrp	x0, l_.str.16@PAGE
Lloh39:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_xo_emit
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.17@PAGE
Lloh41:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20, #20]
	str	x8, [sp]
Lloh42:
	adrp	x0, l_.str.18@PAGE
Lloh43:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20, #16]
	str	x8, [sp]
Lloh44:
	adrp	x0, l_.str.19@PAGE
Lloh45:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_xo_emit
	mov	x0, x19
	mov	x1, x20
	bl	_get_umask
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh46:
	adrp	x0, l_.str.20@PAGE
Lloh47:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20]
Lloh48:
	adrp	x9, _CRED_FLAG_CAPMODE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _CRED_FLAG_CAPMODE@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
Lloh51:
	adrp	x10, l_.str.22@PAGE
Lloh52:
	add	x10, x10, l_.str.22@PAGEOFF
Lloh53:
	adrp	x11, l_.str.23@PAGE
Lloh54:
	add	x11, x11, l_.str.23@PAGEOFF
	tst	w9, w8
	csel	x8, x11, x10, eq
	str	x8, [sp]
Lloh55:
	adrp	x0, l_.str.21@PAGE
Lloh56:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_xo_emit
Lloh57:
	adrp	x0, l_.str.24@PAGE
Lloh58:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x20]
Lloh59:
	adrp	x9, _KI_CRF_GRP_OVERFLOW@GOTPAGE
Lloh60:
	ldr	x9, [x9, _KI_CRF_GRP_OVERFLOW@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	sub	x2, x29, #68
	mov	x0, x19
	mov	x1, x20
	bl	_procstat_getgroups
	mov	x21, x0
	cbnz	x0, LBB0_5
LBB0_4:
	ldr	w8, [x20, #4]
	stur	w8, [x29, #-68]
	ldr	x21, [x20, #8]
LBB0_5:
Lloh62:
	adrp	x0, l_.str.25@PAGE
Lloh63:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_xo_open_list
	ldur	w8, [x29, #-68]
	cbz	w8, LBB0_8
; %bb.6:
	mov	x23, #0
Lloh64:
	adrp	x24, l_.str.27@PAGE
Lloh65:
	add	x24, x24, l_.str.27@PAGEOFF
Lloh66:
	adrp	x25, l_.str.28@PAGE
Lloh67:
	add	x25, x25, l_.str.28@PAGEOFF
Lloh68:
	adrp	x22, l_.str.26@PAGE
Lloh69:
	add	x22, x22, l_.str.26@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, #0
	csel	x8, x25, x24, eq
	ldr	w9, [x21, x23, lsl #2]
	stp	x8, x9, [sp]
	mov	x0, x22
	bl	_xo_emit
	add	x23, x23, #1
	ldur	w8, [x29, #-68]
	cmp	x23, x8
	b.lo	LBB0_7
LBB0_8:
	ldr	x8, [x20, #8]
	cmp	x21, x8
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x21
	bl	_procstat_freegroups
LBB0_10:
Lloh70:
	adrp	x0, l_.str.25@PAGE
Lloh71:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_xo_close_list
Lloh72:
	adrp	x0, l_.str.29@PAGE
Lloh73:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_xo_emit
	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
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.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	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.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 %-16s %5s %5s %5s %5s %5s %5s %5s %5s %-15s}\n"

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

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"EGID"

l_.str.7:                               ; @.str.7
	.asciz	"RGID"

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

l_.str.9:                               ; @.str.9
	.asciz	"UMASK"

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

l_.str.11:                              ; @.str.11
	.asciz	"GROUPS"

l_.str.12:                              ; @.str.12
	.asciz	"{k:process_id/%5d/%d} "

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

l_.str.14:                              ; @.str.14
	.asciz	"{:uid/%5d} "

l_.str.15:                              ; @.str.15
	.asciz	"{:ruid/%5d} "

l_.str.16:                              ; @.str.16
	.asciz	"{:svuid/%5d} "

l_.str.17:                              ; @.str.17
	.asciz	"{:group/%5d} "

l_.str.18:                              ; @.str.18
	.asciz	"{:rgid/%5d} "

l_.str.19:                              ; @.str.19
	.asciz	"{:svgid/%5d} "

l_.str.20:                              ; @.str.20
	.asciz	"{:umask/%5s} "

l_.str.21:                              ; @.str.21
	.asciz	"{:cr_flags/%s}"

	.comm	_CRED_FLAG_CAPMODE,4,2          ; @CRED_FLAG_CAPMODE
l_.str.22:                              ; @.str.22
	.asciz	"C"

l_.str.23:                              ; @.str.23
	.asciz	"-"

l_.str.24:                              ; @.str.24
	.asciz	"{P:     }"

	.comm	_KI_CRF_GRP_OVERFLOW,4,2        ; @KI_CRF_GRP_OVERFLOW
l_.str.25:                              ; @.str.25
	.asciz	"groups"

l_.str.26:                              ; @.str.26
	.asciz	"{D:/%s}{l:groups/%d}"

l_.str.27:                              ; @.str.27
	.asciz	","

l_.str.28:                              ; @.str.28
	.space	1

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

.subsections_via_symbols
