	.file	"extr_nvpair.c_nvpair_pack_binary.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nvpair_pack_binary
	.type	nvpair_pack_binary, @function
nvpair_pack_binary:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	NVPAIR_ASSERT@PLT
	mov	rax, QWORD PTR NV_TYPE_BINARY[rip]
	xor	edi, edi
	cmp	QWORD PTR [rbx], rax
	sete	dil
	call	PJDLOG_ASSERT@PLT
	mov	rax, QWORD PTR 8[rbx]
	xor	edi, edi
	cmp	QWORD PTR [r12], rax
	setnb	dil
	call	PJDLOG_ASSERT@PLT
	mov	rdx, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, rbp
	call	memcpy@PLT
	mov	rax, QWORD PTR 8[rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	sub	QWORD PTR [r12], rax
	add	rax, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nvpair_pack_binary, .-nvpair_pack_binary
	.comm	NV_TYPE_BINARY,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_nvpair.c_nvpair_pack_binary.c"
	.text
	.align	2
	.global	nvpair_pack_binary
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvpair_pack_binary, %function
nvpair_pack_binary:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r2
	mov	r6, r1
	bl	NVPAIR_ASSERT
	ldr	r3, .L4
	ldr	r0, [r4]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	PJDLOG_ASSERT
	ldr	r0, [r5]
	ldr	r3, [r4, #4]
	cmp	r0, r3
	movcc	r0, #0
	movcs	r0, #1
	bl	PJDLOG_ASSERT
	ldr	r2, [r4, #4]
	mov	r0, r6
	ldr	r1, [r4, #8]
	bl	memcpy
	ldr	r2, [r4, #4]
	ldr	r3, [r5]
	add	r0, r6, r2
	sub	r3, r3, r2
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	NV_TYPE_BINARY
	.size	nvpair_pack_binary, .-nvpair_pack_binary
	.comm	NV_TYPE_BINARY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
