	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnetid                       ## -- Begin function getnetid
	.p2align	4, 0x90
_getnetid:                              ## @getnetid
	.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	$1064, %rsp                     ## imm = 0x428
	.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, -1104(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NETIDFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r13
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rax, %rdx
	callq	_fgets
	movq	%rax, -1088(%rbp)
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%r14, -1096(%rbp)               ## 8-byte Spill
	leaq	-1072(%rbp), %rbx
	leaq	-1088(%rbp), %r14
	leaq	L_.str.3(%rip), %r15
	movq	%r13, -1080(%rbp)               ## 8-byte Spill
	jmp	LBB0_6
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.4(%rip), %rsi
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NETIDFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	-1080(%rbp), %r13               ## 8-byte Reload
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r13, %rdx
	callq	_fgets
	movq	%rax, -1088(%rbp)
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movb	(%rax), %al
	orb	$8, %al
	cmpb	$43, %al
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strsep
	movq	%rax, %r13
	leaq	L_.str.2(%rip), %rsi
	testq	%rax, %rax
	je	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	%rax, %r12
	cmpb	$0, (%rax)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movq	-1104(%rbp), %rsi               ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	movq	-1080(%rbp), %r13               ## 8-byte Reload
	jne	LBB0_5
## %bb.11:
	movq	-1096(%rbp), %rdi               ## 8-byte Reload
	movq	%r12, %rsi
	callq	_strcpy
	movl	$1, %r14d
	jmp	LBB0_15
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	movq	%r13, %rdi
	callq	_fclose
	jmp	LBB0_16
LBB0_12:
	xorl	%r14d, %r14d
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, %eax
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIDFILE,8,3                  ## @NETIDFILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

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

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Bad record in %s -- %s"

L_.str.3:                               ## @.str.3
	.asciz	" \t#\n"

L_.str.4:                               ## @.str.4
	.asciz	"Bad record in %s val problem - %s"

	.comm	_NETID,4,2                      ## @NETID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnetid                       ; -- Begin function getnetid
	.p2align	2
_getnetid:                              ; @getnetid
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1072
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x26, _NETIDFILE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _NETIDFILE@GOTPAGEOFF]
	ldr	x0, [x26]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x0
	add	x27, sp, #32
	add	x0, sp, #32
	mov	w1, #1024
	mov	x2, x19
	bl	_fgets
	str	x0, [sp, #24]
	cbz	x0, LBB0_12
; %bb.2:
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh9:
	adrp	x28, l_.str.2@PAGE
Lloh10:
	add	x28, x28, l_.str.2@PAGEOFF
Lloh11:
	adrp	x20, _stderr@GOTPAGE
Lloh12:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
Lloh13:
	adrp	x23, l_.str.3@PAGE
Lloh14:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x28
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x20]
	ldr	x8, [x26]
	stp	x8, x27, [sp]
	bl	_fprintf
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #32
	mov	w1, #1024
	mov	x2, x19
	bl	_fgets
	str	x0, [sp, #24]
	cbz	x0, LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldrb	w8, [x0]
	orr	w8, w8, #0x8
	cmp	w8, #43
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #24
	mov	x1, x22
	bl	_strsep
	mov	x25, x0
	cbz	x0, LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #24
	mov	x1, x23
	bl	_strsep
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x24, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_5
	b	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_12:
	mov	w20, #0
LBB0_13:
	mov	x0, x19
	bl	_fclose
	b	LBB0_15
LBB0_14:
	mov	w20, #0
LBB0_15:
	ldur	x8, [x29, #-96]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.16:
	mov	x0, x20
	add	sp, sp, #1072
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_strcpy
	mov	w20, #1
	b	LBB0_13
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIDFILE,8,3                  ; @NETIDFILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

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

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Bad record in %s -- %s"

l_.str.3:                               ; @.str.3
	.asciz	" \t#\n"

l_.str.4:                               ; @.str.4
	.asciz	"Bad record in %s val problem - %s"

	.comm	_NETID,4,2                      ; @NETID
.subsections_via_symbols
