	.file	"extr_cap_grp.c_group_unpack_members.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gr_nmem"
.LC1:
	.string	"gr_mem[%u]"
	.text
	.p2align 4
	.type	group_unpack_members, @function
group_unpack_members:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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
	mov	rbx, rdi
	sub	rsp, 152
	.cfi_def_cfa_offset 208
	mov	QWORD PTR 32[rsp], rsi
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 16[rsp], rdx
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	call	nvlist_exists_number@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, eax
	mov	rax, QWORD PTR _ALIGNBYTES[rip]
	lea	rbx, 8[rax]
	cmp	QWORD PTR [r15], rbx
	ja	.L3
.L11:
	mov	r12d, DWORD PTR ERANGE[rip]
.L1:
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L3:
	.cfi_restore_state
	mov	r15, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR [r15]
	call	_ALIGN@PLT
	mov	rcx, QWORD PTR 32[rsp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR [rcx], rax
	mov	rax, QWORD PTR 8[rsp]
	add	QWORD PTR [r15], rbx
	sub	QWORD PTR [rax], rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	nvlist_get_number@PLT
	mov	r12, QWORD PTR _ALIGNBYTES[rip]
	mov	r13, rax
	lea	rax, 8[0+rax*8]
	mov	QWORD PTR 24[rsp], rax
	add	r12, rax
	test	r13, r13
	je	.L5
	xor	r14d, r14d
	lea	rbp, 64[rsp]
	lea	r15, .LC1[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	call	strlen@PLT
	add	eax, 1
	cdqe
	add	r12, rax
	lea	eax, 1[r14]
	mov	r14, rax
	cmp	rax, r13
	jnb	.L23
.L7:
	mov	ecx, r14d
	mov	rdx, r15
	mov	esi, 64
	mov	rdi, rbp
	call	snprintf@PLT
	xor	edi, edi
	sub	eax, 1
	cmp	eax, 62
	setbe	dil
	call	assert@PLT
	mov	rdi, rbx
	xor	edx, edx
	mov	rsi, rbp
	call	dnvlist_get_string@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L6
	mov	r12d, DWORD PTR EINVAL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rax, QWORD PTR 8[rsp]
	cmp	r12, QWORD PTR [rax]
	jnb	.L11
	mov	rax, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR [rax]
	call	_ALIGN@PLT
	mov	r15, QWORD PTR 24[rsp]
	xor	ecx, ecx
	xor	r8d, r8d
	mov	QWORD PTR 40[rsp], rax
	add	r15, rax
	mov	rax, rbx
	mov	QWORD PTR 48[rsp], r13
	mov	r13d, ecx
	mov	QWORD PTR 56[rsp], r12
	mov	rbx, r15
	mov	r12, r8
	mov	r15, rax
	.p2align 4,,10
	.p2align 3
.L9:
	mov	ecx, r13d
	lea	rdx, .LC1[rip]
	mov	esi, 64
	mov	rdi, rbp
	call	snprintf@PLT
	xor	edi, edi
	sub	eax, 1
	cmp	eax, 62
	setbe	dil
	call	assert@PLT
	mov	rsi, rbp
	mov	rdi, r15
	call	nvlist_get_string@PLT
	mov	rdi, rax
	mov	QWORD PTR 24[rsp], rax
	call	strlen@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, rbx
	lea	r14d, 1[rax]
	movsx	r14, r14d
	mov	rdx, r14
	call	memcpy@PLT
	mov	rax, QWORD PTR 40[rsp]
	mov	QWORD PTR [rax+r12*8], rbx
	lea	r12d, 1[r13]
	add	rbx, r14
	mov	r13, r12
	cmp	r12, QWORD PTR 48[rsp]
	jb	.L9
	mov	r8, r12
	mov	r13, QWORD PTR 48[rsp]
	mov	r12, QWORD PTR 56[rsp]
	lea	rbx, [rax+r8*8]
.L10:
	xor	edi, edi
	cmp	r13, r8
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR 32[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	mov	QWORD PTR [rbx], 0
	mov	QWORD PTR [rax], rcx
	mov	rax, QWORD PTR 16[rsp]
	add	QWORD PTR [rax], r12
	mov	rax, QWORD PTR 8[rsp]
	sub	QWORD PTR [rax], r12
	xor	r12d, r12d
	jmp	.L1
.L5:
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR [rax], r12
	jbe	.L11
	mov	rax, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR [rax]
	call	_ALIGN@PLT
	xor	r8d, r8d
	mov	QWORD PTR 40[rsp], rax
	mov	rbx, rax
	jmp	.L10
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	group_unpack_members, .-group_unpack_members
	.comm	_ALIGNBYTES,8,8
	.comm	ERANGE,4,4
	.comm	EINVAL,4,4
	.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_cap_grp.c_group_unpack_members.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gr_nmem\000"
	.align	2
.LC1:
	.ascii	"gr_mem[%u]\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	group_unpack_members, %function
group_unpack_members:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	sub	sp, sp, #108
	ldr	r3, .L24
	str	ip, [sp, #4]
	ldr	r1, .L24+4
	mov	r10, r2
	ldr	r3, [r3]
	str	r3, [sp, #100]
	mov	r3,#0
	mov	r6, r0
	bl	nvlist_exists_number
	subs	r5, r0, #0
	bne	.L2
	ldr	r2, .L24+8
	ldr	r3, [r9]
	ldr	r4, [r2]
	add	r4, r4, #4
	cmp	r3, r4
	bhi	.L3
.L11:
	ldr	r3, .L24+12
	ldr	r5, [r3]
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #100]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r5
	add	sp, sp, #108
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	ldr	r0, [r10]
	bl	_ALIGN
	str	r5, [r0]
	ldr	r3, [r9]
	ldr	r2, [r10]
	add	r2, r2, r4
	sub	r4, r3, r4
	ldr	r3, [sp, #4]
	str	r0, [r3]
	str	r2, [r10]
	str	r4, [r9]
	b	.L1
.L2:
	mov	r0, r6
	ldr	r1, .L24+4
	bl	nvlist_get_number
	ldr	r3, .L24+8
	cmp	r0, #0
	ldr	r7, [r3]
	add	r3, r0, #1
	lsl	r2, r3, #2
	mov	r8, r0
	str	r2, [sp, #8]
	add	r7, r7, r3, lsl #2
	beq	.L5
	mov	r4, #0
	ldr	fp, .L24+16
	b	.L7
.L6:
	bl	strlen
	add	r5, r4, #1
	add	r0, r0, #1
	cmp	r8, r5
	add	r7, r7, r0
	beq	.L23
	mov	r4, r5
.L7:
	mov	r3, r4
	mov	r2, fp
	mov	r1, #64
	add	r0, sp, #36
	bl	snprintf
	sub	r0, r0, #1
	cmp	r0, #62
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	mov	r2, #0
	mov	r0, r6
	add	r1, sp, #36
	bl	dnvlist_get_string
	cmp	r0, #0
	bne	.L6
	ldr	r3, .L24+20
	ldr	r5, [r3]
	b	.L1
.L23:
	ldr	r3, [r9]
	cmp	r7, r3
	bcs	.L11
	ldr	r0, [r10]
	bl	_ALIGN
	mov	r3, #0
	str	r8, [sp, #16]
	str	r5, [sp, #24]
	mov	r8, r0
	mov	r5, r3
	ldr	r1, [sp, #8]
	str	r0, [sp, #12]
	add	fp, r0, r1
	str	r7, [sp, #20]
	str	r9, [sp, #28]
.L9:
	mov	r3, r5
	ldr	r2, .L24+16
	mov	r1, #64
	add	r0, sp, #36
	bl	snprintf
	sub	r0, r0, #1
	cmp	r0, #62
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	add	r1, sp, #36
	mov	r0, r6
	bl	nvlist_get_string
	mov	r9, r0
	bl	strlen
	add	r7, r0, #1
	mov	r1, r9
	mov	r0, fp
	mov	r2, r7
	bl	memcpy
	cmp	r5, r4
	str	fp, [r8], #4
	add	r5, r5, #1
	add	fp, fp, r7
	bne	.L9
	ldr	r3, [sp, #8]
	ldr	r8, [sp, #16]
	sub	r4, r3, #4
	ldr	r3, [sp, #12]
	ldr	r7, [sp, #20]
	ldr	r5, [sp, #24]
	ldr	r9, [sp, #28]
	add	r4, r3, r4
.L10:
	sub	r0, r8, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, #0
	str	r0, [r4]
	ldr	r3, [r9]
	ldr	r2, [r10]
	ldr	r1, [sp, #12]
	add	r2, r2, r7
	sub	r7, r3, r7
	ldr	r3, [sp, #4]
	mov	r5, r0
	str	r1, [r3]
	str	r2, [r10]
	str	r7, [r9]
	b	.L1
.L5:
	ldr	r3, [r9]
	cmp	r3, r7
	bls	.L11
	ldr	r0, [r10]
	bl	_ALIGN
	mov	r5, r8
	mov	r4, r0
	str	r0, [sp, #12]
	b	.L10
.L22:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	.LC0
	.word	_ALIGNBYTES
	.word	ERANGE
	.word	.LC1
	.word	EINVAL
	.size	group_unpack_members, .-group_unpack_members
	.comm	_ALIGNBYTES,4,4
	.comm	ERANGE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
