	.file	"extr_nv.c_nv_hton.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nv_hton
	.type	nv_hton, @function
nv_hton:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	NV_CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], 0
	sete	dil
	call	PJDLOG_ASSERT@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	rsi, rsp
	call	ebuf_data@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	edi, edi
	cmp	rax, 5
	seta	dil
	call	PJDLOG_ASSERT@PLT
	mov	rdi, rbx
	call	NVH_SIZE@PLT
	xor	edi, edi
	cmp	rax, QWORD PTR [rsp]
	setbe	dil
	call	PJDLOG_ASSERT@PLT
	xor	esi, esi
	mov	rdi, rbx
	call	nv_swap@PLT
	mov	rdi, rbx
	call	NVH_SIZE@PLT
	mov	rdi, rbx
	add	rbx, rax
	call	NVH_SIZE@PLT
	mov	rdx, QWORD PTR [rsp]
	sub	rdx, rax
	mov	QWORD PTR [rsp], rdx
	mov	rax, rdx
	jne	.L3
.L2:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	rax, QWORD PTR 8[rbp]
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nv_hton, .-nv_hton
	.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_nv.c_nv_hton.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nv_hton
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv_hton, %function
nv_hton:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	ldr	r3, .L12
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	NV_CHECK
	ldr	r0, [r5]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	PJDLOG_ASSERT
	mov	r1, sp
	ldr	r0, [r5, #4]
	bl	ebuf_data
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L2
	mov	r4, r0
.L3:
	cmp	r3, #5
	movls	r0, #0
	movhi	r0, #1
	bl	PJDLOG_ASSERT
	mov	r0, r4
	bl	NVH_SIZE
	ldr	r3, [sp]
	cmp	r0, r3
	movhi	r0, #0
	movls	r0, #1
	bl	PJDLOG_ASSERT
	mov	r1, #0
	mov	r0, r4
	bl	nv_swap
	mov	r0, r4
	bl	NVH_SIZE
	mov	r3, r0
	mov	r0, r4
	add	r4, r4, r3
	bl	NVH_SIZE
	ldr	r3, [sp]
	sub	r3, r3, r0
	cmp	r3, #0
	str	r3, [sp]
	bne	.L3
.L2:
	ldr	r3, .L12
	ldr	r0, [r5, #4]
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	nv_hton, .-nv_hton
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
