	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function group_unpack
_group_unpack:                          ## @group_unpack
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, -32(%rbp)
	movq	%rcx, -24(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_nvlist_exists_string
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_explicit_bzero
	leaq	20(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rcx
	leaq	-24(%rbp), %r8
	movq	%rbx, %rdi
	callq	_group_unpack_string
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	leaq	16(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rcx
	leaq	-24(%rbp), %r8
	movq	%rbx, %rdi
	callq	_group_unpack_string
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nvlist_get_number
	movq	%rax, 8(%r14)
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_group_unpack_members
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gr_name"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"gr_passwd"

L_.str.2:                               ## @.str.2
	.asciz	"gr_gid"

	.no_dead_strip	_group_unpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function group_unpack
_group_unpack:                          ; @group_unpack
	.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
	mov	x19, x1
	mov	x20, x0
	stp	x3, x2, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nvlist_exists_string
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #24
	bl	_explicit_bzero
	add	x2, x19, #20
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x20
	bl	_group_unpack_string
	cbnz	w0, LBB0_5
; %bb.2:
	add	x2, x19, #16
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x20
	bl	_group_unpack_string
	cbnz	w0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_nvlist_get_number
	str	x0, [x19, #8]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x20
	mov	x1, x19
	bl	_group_unpack_members
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gr_name"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"gr_passwd"

l_.str.2:                               ; @.str.2
	.asciz	"gr_gid"

	.no_dead_strip	_group_unpack
.subsections_via_symbols
