	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_groupadd                       ## -- Begin function groupadd
	.p2align	4, 0x90
_groupadd:                              ## @groupadd
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, %ebx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, -112(%rbp)
	movups	%xmm0, -80(%rbp)
	movups	%xmm0, -96(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -128(%rbp)
	leaq	L_.str.1(%rip), %r12
	movq	%r12, -120(%rbp)
	movl	$-1, -112(%rbp)
	leaq	-128(%rbp), %r14
	movq	%r14, -48(%rbp)
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_pw_checkname
	movl	%eax, -88(%rbp)
	movq	%r12, -104(%rbp)
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_gr_gidpolicy
	movq	%rax, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	24(%rbp), %ecx
	callq	_grp_set_passwd
	leaq	-48(%rbp), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_grp_add_members
	movq	-48(%rbp), %rdi
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movl	16(%rbp), %esi
	callq	_print_group
	jmp	LBB0_7
LBB0_2:
	callq	_addgrent
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movq	_EX_IOERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax
	movl	40(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
	jmp	LBB0_6
LBB0_5:
	movq	_EX_IOERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_6:
	movq	_M_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_W_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rax
	movl	32(%rax), %r9d
	movl	40(%rax), %r8d
	leaq	L_.str.4(%rip), %rcx
	movq	%r15, %rdi
	callq	_pw_log
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nogroup"

L_.str.1:                               ## @.str.1
	.asciz	"*"

	.comm	_EX_IOERR,4,2                   ## @EX_IOERR
L_.str.2:                               ## @.str.2
	.asciz	"group '%s' already exists"

L_.str.3:                               ## @.str.3
	.asciz	"group update"

	.comm	_M_ADD,4,2                      ## @M_ADD
	.comm	_W_GROUP,4,2                    ## @W_GROUP
L_.str.4:                               ## @.str.4
	.asciz	"%s(%ju)"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_groupadd                       ; -- Begin function groupadd
	.p2align	2
_groupadd:                              ; @groupadd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x7
	mov	x20, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #56]
	stur	q0, [sp, #24]
	stur	q0, [sp, #40]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x26, l_.str.1@PAGE
Lloh3:
	add	x26, x26, l_.str.1@PAGEOFF
	stp	x8, x26, [sp, #8]
	mov	w8, #-1
	str	w8, [sp, #24]
	add	x8, sp, #8
	str	x8, [sp, #72]
	mov	x0, x1
	mov	w1, #0
	bl	_pw_checkname
	str	w0, [sp, #48]
	str	x26, [sp, #32]
	mov	x0, x19
	mov	x1, x25
	bl	_gr_gidpolicy
	str	x0, [sp, #40]
	str	xzr, [sp, #56]
	add	x0, sp, #8
	mov	w1, #0
	mov	x2, x23
	mov	x3, x21
	bl	_grp_set_passwd
	add	x0, sp, #72
	mov	x1, x24
	bl	_grp_add_members
	ldr	x0, [sp, #72]
	cbz	w22, LBB0_2
; %bb.1:
	mov	x1, x20
	bl	_print_group
	b	LBB0_7
LBB0_2:
	bl	_addgrent
	cbz	w0, LBB0_6
; %bb.3:
Lloh4:
	adrp	x8, _EX_IOERR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EX_IOERR@GOTPAGEOFF]
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x8]
	ldr	x8, [sp, #72]
	ldr	w2, [x8, #40]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
	b	LBB0_6
LBB0_5:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_6:
Lloh10:
	adrp	x8, _M_ADD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _M_ADD@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _W_GROUP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _W_GROUP@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	ldr	x8, [sp, #72]
	ldr	w4, [x8, #40]
	ldr	w5, [x8, #32]
Lloh16:
	adrp	x3, l_.str.4@PAGE
Lloh17:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_pw_log
Lloh18:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nogroup"

l_.str.1:                               ; @.str.1
	.asciz	"*"

	.comm	_EX_IOERR,4,2                   ; @EX_IOERR
l_.str.2:                               ; @.str.2
	.asciz	"group '%s' already exists"

l_.str.3:                               ; @.str.3
	.asciz	"group update"

	.comm	_M_ADD,4,2                      ; @M_ADD
	.comm	_W_GROUP,4,2                    ; @W_GROUP
l_.str.4:                               ; @.str.4
	.asciz	"%s(%ju)"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
