	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___setnetgrent                  ## -- Begin function __setnetgrent
	.p2align	4, 0x90
___setnetgrent:                         ## @__setnetgrent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_8
## %bb.2:
	movq	_grouphead@GOTPCREL(%rip), %r14
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	xorl	%eax, %eax
	callq	___endnetgrent
	movq	%rbx, %rdi
	callq	_parse_netgrp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	___endnetgrent
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_malloc
	movq	%rax, (%r14)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
LBB0_7:
	movq	8(%r14), %rax
	movq	_nextgrp@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_grouphead,16,3                 ## @grouphead
	.comm	_nextgrp,8,3                    ## @nextgrp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___setnetgrent                  ; -- Begin function __setnetgrent
	.p2align	2
___setnetgrent:                         ; @__setnetgrent
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.2:
Lloh0:
	adrp	x20, _grouphead@GOTPAGE
Lloh1:
	ldr	x20, [x20, _grouphead@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_7
LBB0_4:
	bl	___endnetgrent
	mov	x0, x19
	bl	_parse_netgrp
	cbz	x0, LBB0_6
; %bb.5:
	bl	___endnetgrent
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_strlen
	add	x0, x0, #1
	bl	_malloc
	str	x0, [x20]
	mov	x1, x19
	bl	_strcpy
LBB0_7:
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _nextgrp@GOTPAGE
Lloh3:
	ldr	x9, [x9, _nextgrp@GOTPAGEOFF]
Lloh4:
	str	x8, [x9]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_grouphead,16,3                 ; @grouphead
	.comm	_nextgrp,8,3                    ; @nextgrp
.subsections_via_symbols
