	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cap_getgrcommon
_cap_getgrcommon:                       ## @cap_getgrcommon
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	_gbuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_gbufsize@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-32(%rbp), %rbx
	movq	_ggrp@GOTPCREL(%rip), %r8
	pushq	%rbx
	pushq	%rax
	callq	_cap_getgrcommon_r
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, (%r15)
	movq	-32(%rbp), %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_ggrp,4,2                       ## @ggrp
	.comm	_gbuffer,4,2                    ## @gbuffer
	.comm	_gbufsize,4,2                   ## @gbufsize
	.no_dead_strip	_cap_getgrcommon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cap_getgrcommon
_cap_getgrcommon:                       ; @cap_getgrcommon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _errno@GOTPAGE
Lloh1:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w20, [x19]
Lloh2:
	adrp	x8, _gbuffer@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gbuffer@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
Lloh5:
	adrp	x8, _gbufsize@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gbufsize@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
Lloh8:
	adrp	x4, _ggrp@GOTPAGE
Lloh9:
	ldr	x4, [x4, _ggrp@GOTPAGEOFF]
	add	x7, sp, #8
	bl	_cap_getgrcommon_r
	cbz	w0, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
	str	w20, [x19]
	ldr	x0, [sp, #8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_ggrp,4,2                       ; @ggrp
	.comm	_gbuffer,4,2                    ; @gbuffer
	.comm	_gbufsize,4,2                   ; @gbufsize
	.no_dead_strip	_cap_getgrcommon
.subsections_via_symbols
