	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parsecred
_parsecred:                             ## @parsecred
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_XU_NGROUPS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_XUCRED_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	movl	$65534, (%r13)                  ## imm = 0xFFFE
	movq	8(%r13), %rax
	movl	$65533, (%rax)                  ## imm = 0xFFFD
	movl	$1, 16(%r13)
	movq	%rbx, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strsep_quote
	movq	%rax, %r15
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpb	$45, (%r15)
	jne	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_atoi
	movq	%rax, %rdi
	callq	_getpwuid
LBB0_4:
	movq	-64(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.13:
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movl	$0, 16(%r13)
	jmp	LBB0_18
LBB0_5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	(%rax), %ecx
	movl	%ecx, (%r13)
	movl	(%r12), %ecx
	incl	%ecx
	movl	%ecx, -52(%rbp)
	movl	4(%rax), %esi
	movl	8(%rax), %edi
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdx
	callq	_getgrouplist
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %eax
	incl	%eax
	movl	%eax, -52(%rbp)
	jmp	LBB0_10
LBB0_15:
	movsbl	(%r15), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	cmpb	$45, (%r15)
	jne	LBB0_6
LBB0_17:
	movq	%r15, %rdi
	callq	_atoi
	movq	-64(%rbp), %rcx
	movl	%eax, (%r13)
	movl	$0, 16(%r13)
	testq	%rcx, %rcx
	je	LBB0_30
LBB0_18:
	leaq	L_.str(%rip), %r14
	leaq	-64(%rbp), %r15
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rdi
	callq	_atoi
	movq	8(%r13), %rcx
	movslq	16(%r13), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 16(%r13)
	movl	%eax, (%rcx,%rdx,4)
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-64(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_30
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rcx)
	je	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	(%r12), %eax
	cmpl	%eax, 16(%r13)
	jge	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strsep_quote
	movq	%rax, %rbx
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpb	$45, (%rbx)
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rdi
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	(%rax), %eax
	movq	8(%r13), %rcx
	movslq	16(%r13), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 16(%r13)
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_26
LBB0_3:
	movq	%r15, %rdi
	callq	_getpwnam
	jmp	LBB0_4
LBB0_6:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_30
LBB0_28:
	jne	LBB0_30
## %bb.29:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_30
LBB0_8:
	movl	-52(%rbp), %eax
LBB0_10:
	decl	%eax
	movl	%eax, 16(%r13)
	movl	(%r14), %ecx
	movq	8(%r13), %rax
	movl	%ecx, (%rax)
	cmpl	$3, -52(%rbp)
	jl	LBB0_30
## %bb.11:
	movl	$2, %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rcx,8), %edx
	movl	%edx, -4(%rax,%rcx,4)
	incq	%rcx
	movslq	-52(%rbp), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_12
LBB0_30:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XU_NGROUPS,4,2                 ## @XU_NGROUPS
	.comm	_XUCRED_VERSION,4,2             ## @XUCRED_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"unknown user: %s"

L_.str.2:                               ## @.str.2
	.asciz	"too many groups"

L_.str.3:                               ## @.str.3
	.asciz	"unknown group: %s"

	.no_dead_strip	_parsecred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parsecred
_parsecred:                             ; @parsecred
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x19, x1
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _XU_NGROUPS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _XU_NGROUPS@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _XUCRED_VERSION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XUCRED_VERSION@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x1, #20]
	mov	w8, #65534
	str	w8, [x1]
	ldr	x8, [x1, #8]
	mov	w9, #65533
	str	w9, [x8]
	mov	w8, #1
	str	w8, [x1, #16]
	stur	x0, [x29, #-80]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #80
	bl	_strsep_quote
	mov	x21, x0
	ldrsb	w0, [x0]
	bl	_isdigit
	cbnz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [x21]
	cmp	w8, #45
	b.ne	LBB0_18
LBB0_2:
	mov	x0, x21
	bl	_atoi
	bl	_getpwuid
	ldur	x8, [x29, #-80]
	cbz	x8, LBB0_19
LBB0_3:
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w9, [x0]
	str	w9, [x19]
	str	wzr, [x19, #16]
	b	LBB0_8
LBB0_5:
	ldrsb	w0, [x21]
	bl	_isdigit
	cbnz	x0, LBB0_7
; %bb.6:
	ldrb	w8, [x21]
	cmp	w8, #45
	b.ne	LBB0_22
LBB0_7:
	mov	x0, x21
	bl	_atoi
	ldur	x8, [x29, #-80]
	str	w0, [x19]
	str	wzr, [x19, #16]
	cbz	x8, LBB0_29
LBB0_8:
Lloh12:
	adrp	x20, l_.str@PAGE
Lloh13:
	add	x20, x20, l_.str@PAGEOFF
Lloh14:
	adrp	x25, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x25, [x25, _LOG_ERR@GOTPAGEOFF]
Lloh16:
	adrp	x21, l_.str.3@PAGE
Lloh17:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	bl	_atoi
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	add	w10, w9, #1
	str	w10, [x19, #16]
	str	w0, [x8, x9, lsl #2]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldur	x8, [x29, #-80]
	cbz	x8, LBB0_29
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x8]
	cbz	w8, LBB0_29
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x19, #16]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ge	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x0, x29, #80
	mov	x1, x20
	bl	_strsep_quote
	mov	x22, x0
	ldrsb	w0, [x0]
	bl	_isdigit
	cbnz	x0, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #45
	b.eq	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	bl	_getgrnam
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x0]
	ldr	x9, [x19, #8]
	ldrsw	x10, [x19, #16]
	add	w11, w10, #1
	str	w11, [x19, #16]
	str	w8, [x9, x10, lsl #2]
	b	LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x25]
	str	x22, [sp, #-16]!
	mov	x1, x21
	bl	_syslog
	add	sp, sp, #16
	b	LBB0_10
LBB0_18:
	mov	x0, x21
	bl	_getpwnam
	ldur	x8, [x29, #-80]
	cbnz	x8, LBB0_3
LBB0_19:
	cbz	x0, LBB0_22
; %bb.20:
	ldr	w8, [x0]
	str	w8, [x19]
	ldr	w8, [x24]
	add	w8, w8, #1
	stur	w8, [x29, #-84]
	ldp	w1, w8, [x0, #4]
	sub	x3, x29, #84
	mov	x0, x8
	mov	x2, x20
	bl	_getgrouplist
	cbz	x0, LBB0_25
; %bb.21:
Lloh18:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
	ldr	w8, [x24]
	add	w8, w8, #1
	stur	w8, [x29, #-84]
	b	LBB0_26
LBB0_22:
Lloh23:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	str	x21, [sp, #-16]!
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
	add	sp, sp, #16
	b	LBB0_29
LBB0_23:
	b.ne	LBB0_29
; %bb.24:
	ldr	w0, [x25]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
	b	LBB0_29
LBB0_25:
	ldur	w8, [x29, #-84]
LBB0_26:
	sub	w8, w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x20]
	ldr	x10, [x19, #8]
	str	w8, [x10]
	ldur	w8, [x29, #-84]
	cmp	w8, #3
	b.lt	LBB0_29
; %bb.27:
	mov	x9, #0
	add	x8, x20, #16
	add	x10, x10, #4
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, x9, lsl #3]
	str	w11, [x10, x9, lsl #2]
	ldursw	x11, [x29, #-84]
	add	x12, x9, #3
	add	x9, x9, #1
	cmp	x12, x11
	b.lt	LBB0_28
LBB0_29:
	mov	sp, x23
	ldur	x8, [x29, #-72]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_XU_NGROUPS,4,2                 ; @XU_NGROUPS
	.comm	_XUCRED_VERSION,4,2             ; @XUCRED_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"unknown user: %s"

l_.str.2:                               ; @.str.2
	.asciz	"too many groups"

l_.str.3:                               ; @.str.3
	.asciz	"unknown group: %s"

	.no_dead_strip	_parsecred
.subsections_via_symbols
