	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkuser
_checkuser:                             ## @checkuser
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	testq	%r8, %r8
	je	LBB0_3
## %bb.1:
	movq	%r8, %rbx
	movl	$0, (%r8)
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_36
LBB0_3:
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_36
LBB0_4:
	leaq	-48(%rbp), %rbx
	jmp	LBB0_7
LBB0_36:
	xorl	%ebx, %ebx
	jmp	LBB0_40
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	je	LBB0_5
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_free
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	-48(%rbp), %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_37
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_fgetln
	testq	%rax, %rax
	je	LBB0_38
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r13
	xorl	%r12d, %r12d
	cmpb	$35, (%rax)
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rbx
	cmpb	$10, -1(%rbx,%r13)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rbx,%r13), %rax
	decq	%rax
	xorl	%r15d, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%rbx), %rdi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_fatalerror
	movq	-48(%rbp), %rbx
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	-48(%rbp), %rax
	addq	%r15, %rax
	movq	%r15, %r13
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, (%rax)
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$64, (%rax)
	jne	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %r12d
	cmpb	$0, 1(%rax)
	je	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	movq	%rax, %rdi
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_32
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r13
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rax
	movq	_pw@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_strcmp
	addq	$8, %rbx
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r12d, %r12d
	testq	%r15, %r15
	jne	LBB0_34
	jmp	LBB0_5
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	xorl	%r12d, %r12d
	testq	%rax, %rax
	sete	%r12b
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	je	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strspn
	cltq
	cmpb	$0, (%rbx,%rax)
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_strdup
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_fatalerror
	testq	%r15, %r15
	jne	LBB0_34
	jmp	LBB0_5
LBB0_31:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	$1, %r12d
	testq	%r15, %r15
	jne	LBB0_34
	jmp	LBB0_5
LBB0_37:
	movl	$1, %ebx
	jmp	LBB0_39
LBB0_38:
	xorl	%ebx, %ebx
LBB0_39:
	movq	%r14, %rdi
	callq	_fclose
LBB0_40:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"Ran out of memory."

L_.str.2:                               ## @.str.2
	.asciz	" \t"

	.comm	_pw,8,3                         ## @pw
L_.str.3:                               ## @.str.3
	.space	1

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_checkuser
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkuser
_checkuser:                             ; @checkuser
	.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, x3
	mov	x20, x2
	mov	x21, x1
	cbz	x4, LBB0_3
; %bb.1:
	mov	x23, x4
	str	wzr, [x4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.2:
	mov	w19, #0
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x23]
	b	LBB0_38
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x22, x0
	cbz	x0, LBB0_39
LBB0_4:
Lloh7:
	adrp	x23, l_.str.2@PAGE
Lloh8:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh9:
	adrp	x24, l_.str.3@PAGE
Lloh10:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh11:
	adrp	x25, l_.str.1@PAGE
Lloh12:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w27, #0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w27, LBB0_36
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	add	x1, sp, #8
	mov	x0, x22
	bl	_fgetln
	cbz	x0, LBB0_35
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x0
	ldrb	w8, [x0]
	cmp	w8, #35
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [sp, #8]
	add	x8, x28, x27
	ldrb	w9, [x8, #-1]!
	cmp	w9, #10
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, #0
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, x28, #1
	bl	_malloc
	mov	x26, x0
	cbnz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_fatalerror
	ldr	x28, [sp, #8]
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	bl	_memcpy
	ldr	x8, [sp, #8]
	add	x8, x26, x8
	mov	x27, x26
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	wzr, [x8]
	mov	x0, x27
	mov	x1, x23
	bl	_strtok
	cbz	x0, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #64
	b.ne	LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x0, #1]!
	cbz	w8, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_getgrnam
	mov	x27, x0
	cbz	x0, LBB0_33
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w20, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x27]
Lloh13:
	adrp	x9, _pw@GOTPAGE
Lloh14:
	ldr	x9, [x9, _pw@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, #0
LBB0_21:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27, #8]
	ldr	x1, [x8, x28]
	cbz	x1, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x0, x21
	bl	_strcmp
	add	x28, x28, #8
	cbnz	x0, LBB0_21
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w27, #1
	cbnz	x19, LBB0_26
	b	LBB0_33
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w27, #0
	cbnz	x26, LBB0_34
	b	LBB0_6
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x21
	bl	_strcmp
	cmp	x0, #0
	cset	w27, eq
	cbz	x19, LBB0_33
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w27, LBB0_33
; %bb.27:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, #0
	mov	x1, x24
	bl	_strtok
	cbz	x0, LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x0
	mov	x1, x23
	bl	_strspn
	add	x0, x27, w0, sxtw
	ldrb	w8, [x0]
	cbz	w8, LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_strdup
	str	x0, [x19]
	cbnz	x0, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_fatalerror
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_7 Depth=1
	str	xzr, [x19]
LBB0_32:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w27, #1
LBB0_33:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x26, LBB0_6
LBB0_34:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_free
	b	LBB0_6
LBB0_35:
	mov	w19, #0
	b	LBB0_37
LBB0_36:
	mov	w19, #1
LBB0_37:
	mov	x0, x22
	bl	_fclose
LBB0_38:
	mov	x0, x19
	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_39:
	mov	w19, #0
	b	LBB0_38
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"Ran out of memory."

l_.str.2:                               ; @.str.2
	.asciz	" \t"

	.comm	_pw,8,3                         ; @pw
l_.str.3:                               ; @.str.3
	.space	1

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_checkuser
.subsections_via_symbols
