	.file	"extr_cmdline.c_owner_parse.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid empty user/group spec"
.LC1:
	.string	"Couldn't allocate memory"
.LC2:
	.string	"Couldn't lookup user ``%s''"
.LC3:
	.string	"Couldn't lookup group ``%s''"
	.text
	.p2align 4
	.globl	owner_parse
	.type	owner_parse, @function
owner_parse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r14, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rsi], -1
	mov	DWORD PTR [rdx], -1
	movzx	eax, BYTE PTR [rdi]
	test	al, al
	je	.L1
	mov	rbp, rdi
	mov	r13, rdx
	cmp	al, 58
	je	.L22
	mov	r15, rsi
	mov	rbx, rdi
	cmp	al, 46
	je	.L22
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, rbx
	movzx	eax, BYTE PTR 1[rbx]
	add	rbx, 1
	cmp	al, 58
	je	.L6
	cmp	al, 46
	je	.L6
	test	al, al
	jne	.L3
	mov	r12, rbx
.L7:
	mov	rax, rbx
	lea	r14, .LC1[rip]
	sub	rax, rbp
	lea	edi, 1[rax]
	mov	QWORD PTR 8[rsp], rax
	call	malloc@PLT
	mov	r8, rax
	test	rax, rax
	je	.L1
	mov	r14, QWORD PTR 8[rsp]
	mov	rdi, r8
	mov	rsi, rbp
	mov	QWORD PTR 8[rsp], r8
	mov	edx, r14d
	call	memcpy@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	BYTE PTR [r8+r14], 0
	mov	rdi, r8
	call	getpwnam@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L8
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR [r15], edx
	cmp	BYTE PTR [rbx], 0
	je	.L9
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR 0[r13], eax
.L9:
	mov	rdi, r8
	xor	r14d, r14d
	call	free@PLT
	cmp	BYTE PTR [r12], 0
	jne	.L37
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L38
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	lea	r12, 1[rbp]
	xor	r14d, r14d
	cmp	BYTE PTR [r12], 0
	je	.L1
.L37:
	mov	rdi, r12
	call	getgrnam@PLT
	mov	r14, rax
	test	rax, rax
	je	.L12
	mov	eax, DWORD PTR [rax]
	xor	r14d, r14d
	mov	DWORD PTR 0[r13], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rsi, 16[rsp]
	mov	edx, 10
	mov	rdi, r12
	mov	QWORD PTR errno[rip], 0
	call	strtoul@PLT
	cmp	QWORD PTR errno[rip], 0
	mov	DWORD PTR 0[r13], eax
	jne	.L13
	mov	rax, QWORD PTR 16[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L1
.L13:
	mov	rcx, r12
	lea	rdx, .LC3[rip]
	mov	esi, 128
	lea	rdi, errbuff.1948[rip]
	lea	r14, errbuff.1948[rip]
	call	snprintf@PLT
	mov	BYTE PTR errbuff.1948[rip+127], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	add	r12, 2
	test	al, al
	cmove	r12, rbx
	jmp	.L7
.L8:
	mov	rdi, r8
	lea	rsi, 16[rsp]
	mov	edx, 10
	mov	QWORD PTR 8[rsp], r8
	mov	QWORD PTR errno[rip], 0
	call	strtoul@PLT
	cmp	QWORD PTR errno[rip], 0
	mov	r8, QWORD PTR 8[rsp]
	mov	DWORD PTR [r15], eax
	jne	.L10
	mov	rax, QWORD PTR 16[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L9
.L10:
	mov	rcx, r8
	lea	rdx, .LC2[rip]
	mov	esi, 128
	mov	QWORD PTR 8[rsp], r8
	lea	rdi, errbuff.1948[rip]
	lea	r14, errbuff.1948[rip]
	call	snprintf@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	BYTE PTR errbuff.1948[rip+127], 0
	mov	rdi, r8
	call	free@PLT
	jmp	.L1
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	owner_parse, .-owner_parse
	.local	errbuff.1948
	.comm	errbuff.1948,128,32
	.comm	errno,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cmdline.c_owner_parse.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid empty user/group spec\000"
	.align	2
.LC1:
	.ascii	"Couldn't allocate memory\000"
	.align	2
.LC2:
	.ascii	"Couldn't lookup user ``%s''\000"
	.align	2
.LC3:
	.ascii	"Couldn't lookup group ``%s''\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	owner_parse
	.syntax unified
	.arm
	.fpu softvfp
	.type	owner_parse, %function
owner_parse:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mvn	r3, #0
	mov	r6, r2
	ldr	r2, .L36
	sub	sp, sp, #8
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [r1]
	str	r3, [r6]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L16
	cmp	r3, #46
	cmpne	r3, #58
	mov	r5, r0
	addeq	r8, r0, #1
	beq	.L4
	mov	r7, r1
	mov	r4, r0
.L3:
	mov	r0, r4
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #58
	cmpne	r3, #46
	beq	.L5
	cmp	r3, #0
	bne	.L3
.L18:
	mov	r8, r4
.L6:
	sub	r9, r4, r5
	add	r0, r9, #1
	bl	malloc
	subs	r10, r0, #0
	beq	.L34
	mov	r1, r5
	mov	r2, r9
	bl	memcpy
	mov	r3, #0
	mov	r0, r10
	strb	r3, [r10, r9]
	bl	getpwnam
	subs	ip, r0, #0
	beq	.L7
	ldr	r3, [ip]
	str	r3, [r7]
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	ldrne	r3, [ip, #4]
	strne	r3, [r6]
.L8:
	mov	r0, r10
	bl	free
.L4:
	ldrb	r4, [r8]	@ zero_extendqisi2
	cmp	r4, #0
	beq	.L1
	mov	r0, r8
	bl	getgrnam
	subs	r4, r0, #0
	beq	.L11
	ldr	r3, [r4]
	mov	r4, #0
	str	r3, [r6]
.L1:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	ldr	r4, .L36+4
	b	.L1
.L5:
	cmp	r3, #0
	beq	.L18
	add	r8, r0, #2
	b	.L6
.L11:
	ldr	r5, .L36+8
	mov	r2, #10
	mov	r1, sp
	mov	r0, r8
	str	r4, [r5]
	bl	strtoul
	ldr	r3, [r5]
	str	r0, [r6]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [sp]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L1
.L12:
	ldr	r5, .L36+12
	mov	r3, r8
	mov	r0, r5
	mov	r1, #128
	ldr	r2, .L36+16
	bl	snprintf
	mov	r3, #0
	mov	r4, r5
	strb	r3, [r5, #127]
	b	.L1
.L7:
	ldr	r4, .L36+8
	mov	r2, #10
	mov	r1, sp
	mov	r0, r10
	str	ip, [r4]
	bl	strtoul
	ldr	r3, [r4]
	str	r0, [r7]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [sp]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
.L9:
	ldr	r4, .L36+12
	mov	r3, r10
	mov	r0, r4
	mov	r1, #128
	ldr	r2, .L36+20
	bl	snprintf
	mov	r3, #0
	mov	r0, r10
	strb	r3, [r4, #127]
	bl	free
	b	.L1
.L35:
	bl	__stack_chk_fail
.L34:
	ldr	r4, .L36+24
	b	.L1
.L37:
	.align	2
.L36:
	.word	.LC4
	.word	.LC0
	.word	errno
	.word	.LANCHOR0
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.size	owner_parse, .-owner_parse
	.comm	errno,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	errbuff.4232, %object
	.size	errbuff.4232, 128
errbuff.4232:
	.space	128
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
