	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__getgrent                      ## -- Begin function _getgrent
	.p2align	4, 0x90
__getgrent:                             ## @_getgrent
	.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	__gr_fp@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_start_gr
	testl	%eax, %eax
	je	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_grscan
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	__gr_group@GOTPCREL(%rip), %rbx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__gr_fp,4,2                     ## @_gr_fp
	.comm	__gr_group,4,2                  ## @_gr_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__getgrent                      ; -- Begin function _getgrent
	.p2align	2
__getgrent:                             ; @_getgrent
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, __gr_fp@GOTPAGE
Lloh1:
	ldr	x8, [x8, __gr_fp@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_start_gr
	cbz	w0, LBB0_3
LBB0_2:
	mov	w0, #0
	mov	w1, #0
	bl	_grscan
Lloh3:
	adrp	x8, __gr_group@GOTPAGE
Lloh4:
	ldr	x8, [x8, __gr_group@GOTPAGEOFF]
	cmp	w0, #0
	csel	x0, xzr, x8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__gr_fp,4,2                     ; @_gr_fp
	.comm	__gr_group,4,2                  ; @_gr_group
.subsections_via_symbols
