	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_owner_parse                    ## -- Begin function owner_parse
	.p2align	4, 0x90
_owner_parse:                           ## @owner_parse
	.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
	movl	$-1, (%rsi)
	movl	$-1, (%rdx)
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r13
	cmpb	$46, %al
	je	LBB0_3
## %bb.2:
	cmpb	$58, %al
	jne	LBB0_7
LBB0_3:
	incq	%r13
	movq	%r13, %r15
	cmpb	$0, (%r15)
	je	LBB0_24
LBB0_4:
	movq	%r15, %rdi
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_17
## %bb.5:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_24:
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_6:
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_25
LBB0_7:
	movq	%rsi, %r12
	xorl	%ebx, %ebx
	movabsq	$288300744895889409, %rcx       ## imm = 0x400400000000001
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movzbl	1(%r13,%rbx), %eax
	incq	%rbx
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$58, %al
	ja	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movzbl	%al, %edx
	btq	%rdx, %rcx
	jae	LBB0_8
## %bb.11:
	cmpb	$1, %al
	movq	%r13, %r15
	sbbq	$-1, %r15
	leal	1(%rbx), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movb	$0, (%r14,%rbx)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_21
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%ecx, (%r12)
	cmpb	$0, (%r13,%rbx)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_15
## %bb.14:
	movl	4(%rax), %eax
	movl	%eax, (%r14)
LBB0_15:
	addq	%rbx, %r15
	callq	_free
	cmpb	$0, (%r15)
	jne	LBB0_4
	jmp	LBB0_24
LBB0_17:
	movq	_errno@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, (%r14)
	cmpq	$0, (%rbx)
	jne	LBB0_19
## %bb.18:
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_24
LBB0_19:
	leaq	_owner_parse.errbuff(%rip), %rbx
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	$128, %esi
	movq	%r15, %rcx
	callq	_snprintf
	movb	$0, _owner_parse.errbuff+127(%rip)
	jmp	LBB0_25
LBB0_20:
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_25
LBB0_21:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	leaq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, (%r12)
	cmpq	$0, (%r13)
	jne	LBB0_23
## %bb.22:
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_26
LBB0_23:
	leaq	_owner_parse.errbuff(%rip), %rbx
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	$128, %esi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_snprintf
	movb	$0, _owner_parse.errbuff+127(%rip)
	movq	%r14, %rdi
	callq	_free
LBB0_25:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_owner_parse.errbuff,128,4 ## @owner_parse.errbuff
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid empty user/group spec"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't allocate memory"

	.comm	_errno,8,3                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't lookup user ``%s''"

L_.str.3:                               ## @.str.3
	.asciz	"Couldn't lookup group ``%s''"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_owner_parse                    ; -- Begin function owner_parse
	.p2align	2
_owner_parse:                           ; @owner_parse
	.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	w8, #-1
	str	w8, [x1]
	str	w8, [x2]
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x22, x0
	cmp	w8, #46
	b.eq	LBB0_3
; %bb.2:
	cmp	w8, #58
	b.ne	LBB0_7
LBB0_3:
	add	x20, x22, #1
	ldrb	w8, [x20]
	cbz	w8, LBB0_19
LBB0_4:
	mov	x0, x20
	bl	_getgrnam
	cbz	x0, LBB0_16
; %bb.5:
	mov	x21, #0
	ldr	w8, [x0]
	str	w8, [x19]
	b	LBB0_24
LBB0_6:
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_24
LBB0_7:
	mov	x21, x1
	mov	x20, #0
	mov	w9, #1
	mov	x10, #1
	movk	x10, #16384, lsl #32
	movk	x10, #1024, lsl #48
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x22, x20
	ldrb	w8, [x8, #1]
	add	x20, x20, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #58
	b.hi	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w11, w8
	lsl	x11, x9, x11
	tst	x11, x10
	b.eq	LBB0_8
; %bb.11:
	cmp	w8, #0
	cinc	x24, x22, ne
	add	w0, w20, #1
	bl	_malloc
	cbz	x0, LBB0_20
; %bb.12:
	mov	x23, x0
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	strb	wzr, [x23, x20]
	mov	x0, x23
	bl	_getpwnam
	cbz	x0, LBB0_21
; %bb.13:
	ldr	w8, [x0]
	str	w8, [x21]
	ldrb	w8, [x22, x20]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	w8, [x0, #4]
	str	w8, [x19]
LBB0_15:
	add	x20, x24, x20
	mov	x0, x23
	bl	_free
	ldrb	w8, [x20]
	cbnz	w8, LBB0_4
	b	LBB0_19
LBB0_16:
Lloh2:
	adrp	x21, _errno@GOTPAGE
Lloh3:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_strtoul
	str	w0, [x19]
	ldr	x8, [x21]
	cbnz	x8, LBB0_18
; %bb.17:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_19
LBB0_18:
Lloh4:
	adrp	x21, _owner_parse.errbuff@PAGE
Lloh5:
	add	x21, x21, _owner_parse.errbuff@PAGEOFF
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w1, #128
	mov	x3, x20
	bl	_snprintf
	strb	wzr, [x21, #127]
	b	LBB0_24
LBB0_19:
	mov	x21, #0
	b	LBB0_24
LBB0_20:
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_21:
Lloh10:
	adrp	x22, _errno@GOTPAGE
Lloh11:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #10
	bl	_strtoul
	str	w0, [x21]
	ldr	x8, [x22]
	cbnz	x8, LBB0_23
; %bb.22:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_15
LBB0_23:
Lloh12:
	adrp	x21, _owner_parse.errbuff@PAGE
Lloh13:
	add	x21, x21, _owner_parse.errbuff@PAGEOFF
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w1, #128
	mov	x3, x23
	bl	_snprintf
	strb	wzr, [x21, #127]
	mov	x0, x23
	bl	_free
LBB0_24:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_owner_parse.errbuff,128,0 ; @owner_parse.errbuff
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid empty user/group spec"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't allocate memory"

	.comm	_errno,8,3                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't lookup user ``%s''"

l_.str.3:                               ; @.str.3
	.asciz	"Couldn't lookup group ``%s''"

.subsections_via_symbols
