	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_parse_owner
_smb_parse_owner:                       ## @smb_parse_owner
	.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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movb	$0, (%rax)
	cmpb	$0, 1(%rax)
	je	LBB0_5
## %bb.2:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_5:
	cmpb	$0, (%r12)
	je	LBB0_9
LBB0_6:
	movq	%r12, %rdi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_smb_error
	jmp	LBB0_9
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_smb_error
	cmpb	$0, (%r12)
	jne	LBB0_6
LBB0_9:
	xorl	%eax, %eax
	callq	_endpwent
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid group name %s, ignored"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid user name %s, ignored"

	.no_dead_strip	_smb_parse_owner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_parse_owner
_smb_parse_owner:                       ; @smb_parse_owner
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldrb	w8, [x22, #1]!
	strb	wzr, [x0]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_getgrnam
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w8, [x0]
	str	w8, [x21]
LBB0_4:
	ldrb	w8, [x19]
	cbz	w8, LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_getpwnam
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x0]
	str	w8, [x20]
	b	LBB0_9
LBB0_7:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	mov	x2, x19
	bl	_smb_error
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	mov	x2, x22
	bl	_smb_error
	ldrb	w8, [x19]
	cbnz	w8, LBB0_5
LBB0_9:
	bl	_endpwent
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid group name %s, ignored"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid user name %s, ignored"

	.no_dead_strip	_smb_parse_owner
.subsections_via_symbols
