	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getgroup
_getgroup:                              ## @getgroup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	testq	%r14, %r14
	jns	LBB0_3
## %bb.2:
	movq	_EX_DATAERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_GETGRNAM
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_GETGRGID
LBB0_6:
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.8:
	testq	%rbx, %rbx
	jne	LBB0_10
## %bb.9:
	movq	_EX_DATAERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_10:
	movq	_EX_DATAERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_11:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_DATAERR,4,2                 ## @EX_DATAERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"groupname or id required"

L_.str.1:                               ## @.str.1
	.asciz	"unknown gid `%ju'"

L_.str.2:                               ## @.str.2
	.asciz	"unknown group `%s'"

	.no_dead_strip	_getgroup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getgroup
_getgroup:                              ; @getgroup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _EX_DATAERR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EX_DATAERR@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.1:
	tbz	x20, #63, LBB0_3
; %bb.2:
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
LBB0_3:
	cbz	x19, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_GETGRNAM
	mov	x22, x0
	cbz	x0, LBB0_6
	b	LBB0_10
LBB0_5:
	mov	x0, x20
	bl	_GETGRGID
	mov	x22, x0
	cbnz	x0, LBB0_10
LBB0_6:
	cbz	w21, LBB0_10
; %bb.7:
	cbnz	x19, LBB0_9
; %bb.8:
	ldr	w0, [x23]
	str	x20, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errx
LBB0_9:
	ldr	w0, [x23]
	str	x19, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_DATAERR,4,2                 ; @EX_DATAERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"groupname or id required"

l_.str.1:                               ; @.str.1
	.asciz	"unknown gid `%ju'"

l_.str.2:                               ; @.str.2
	.asciz	"unknown group `%s'"

	.no_dead_strip	_getgroup
.subsections_via_symbols
