	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getgrent_r                     ## -- Begin function getgrent_r
	.p2align	4, 0x90
_getgrent_r:                            ## @getgrent_r
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rax
	movq	%rsi, %r10
	movq	%rdi, %r9
	movl	$0, -12(%rbp)
	movq	$0, (%rcx)
	movq	_getgrent_r_dtab@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_NSDB_GROUP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_defaultsrc@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	subq	$8, %rsp
	leaq	-12(%rbp), %rbx
	leaq	L_.str(%rip), %r11
	movq	%rcx, %rdi
	movq	%r11, %rcx
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	callq	__nsdispatch
	addq	$32, %rsp
	movl	%eax, %ecx
	movq	_NS_SUCCESS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_2
## %bb.1:
	movl	-12(%rbp), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_getgrent_r_dtab,4,2            ## @getgrent_r_dtab
	.comm	_NSDB_GROUP,4,2                 ## @NSDB_GROUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getgrent_r"

	.comm	_defaultsrc,4,2                 ## @defaultsrc
	.comm	_NS_SUCCESS,4,2                 ## @NS_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getgrent_r                     ; -- Begin function getgrent_r
	.p2align	2
_getgrent_r:                            ; @getgrent_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x8, x3
	mov	x7, x2
	mov	x6, x1
	mov	x5, x0
	stur	wzr, [x29, #-4]
	str	xzr, [x3]
Lloh0:
	adrp	x9, _getgrent_r_dtab@GOTPAGE
Lloh1:
	ldr	x9, [x9, _getgrent_r_dtab@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _NSDB_GROUP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NSDB_GROUP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x9, _defaultsrc@GOTPAGE
Lloh7:
	ldr	x9, [x9, _defaultsrc@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x9]
	sub	x9, x29, #4
	str	x9, [sp]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x8
	bl	__nsdispatch
Lloh11:
	adrp	x8, _NS_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NS_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldur	w9, [x29, #-4]
	cmp	w0, w8
	csel	w0, wzr, w9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_getgrent_r_dtab,4,2            ; @getgrent_r_dtab
	.comm	_NSDB_GROUP,4,2                 ; @NSDB_GROUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getgrent_r"

	.comm	_defaultsrc,4,2                 ; @defaultsrc
	.comm	_NS_SUCCESS,4,2                 ; @NS_SUCCESS
.subsections_via_symbols
