	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bsde_parse_gidrange
_bsde_parse_gidrange:                   ## @bsde_parse_gidrange
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rbx
LBB0_2:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.8:
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	(%rax), %rax
LBB0_10:
	movq	%rbx, (%r13)
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, %rbx
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_2
## %bb.5:
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rcx
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, (%r13)
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_12:
	movq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movq	-56(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_10
## %bb.13:
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_6:
	callq	_snprintf
	movl	$-1, %eax
LBB0_7:
	addq	$24, %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	":"

L_.str.1:                               ## @.str.1
	.asciz	"invalid gid: '%s'"

	.no_dead_strip	_bsde_parse_gidrange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bsde_parse_gidrange
_bsde_parse_gidrange:                   ; @bsde_parse_gidrange
	.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	x22, x4
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	str	x0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	mov	x24, x0
	bl	_getgrnam
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x23, [x0]
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_11
LBB0_2:
	bl	_getgrnam
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x0]
LBB0_4:
	mov	w0, #0
	str	x23, [x20]
	str	x8, [x19]
	b	LBB0_12
LBB0_5:
	mov	x1, sp
	mov	x0, x24
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbz	w8, LBB0_10
; %bb.6:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x24
	b	LBB0_9
LBB0_7:
	ldr	x0, [sp, #8]
	mov	x1, sp
	mov	w2, #10
	bl	_strtoul
	ldr	x9, [sp]
	ldrb	w9, [x9]
	cbz	w9, LBB0_13
; %bb.8:
	ldr	x3, [sp, #8]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
LBB0_9:
	bl	_snprintf
	mov	w0, #-1
	b	LBB0_12
LBB0_10:
	mov	x23, x0
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_2
LBB0_11:
	str	x23, [x20]
	str	x23, [x19]
LBB0_12:
	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
LBB0_13:
	mov	x8, x0
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

l_.str.1:                               ; @.str.1
	.asciz	"invalid gid: '%s'"

	.no_dead_strip	_bsde_parse_gidrange
.subsections_via_symbols
