	.file	"extr_wire2str.c_sldns_wire2str_int16_data_scan.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0"
.LC1:
	.string	"%u "
	.text
	.p2align 4
	.globl	sldns_wire2str_int16_data_scan
	.type	sldns_wire2str_int16_data_scan, @function
sldns_wire2str_int16_data_scan:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rsi], 1
	jbe	.L10
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR [rdi]
	call	sldns_read_uint16@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR 0[rbp]
	lea	rdx, 2[rbx]
	cmp	rax, rdx
	jb	.L4
	sub	rax, 2
	add	QWORD PTR [r12], 8
	mov	QWORD PTR 0[rbp], rax
	test	rbx, rbx
	je	.L11
	mov	ecx, ebx
	lea	rdx, .LC1[rip]
	mov	rsi, r14
	mov	rdi, r13
	xor	eax, eax
	call	sldns_str_print@PLT
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r12
	mov	r15d, eax
	call	sldns_wire2str_b64_scan_num@PLT
	add	eax, r15d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L11:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r14
	mov	rdi, r13
	xor	eax, eax
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	lea	rdx, .LC0[rip]
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	sldns_str_print@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L10:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	or	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	sldns_wire2str_int16_data_scan, .-sldns_wire2str_int16_data_scan
	.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_wire2str.c_sldns_wire2str_int16_data_scan.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0\000"
	.align	2
.LC1:
	.ascii	"%u \000"
	.text
	.align	2
	.global	sldns_wire2str_int16_data_scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	sldns_wire2str_int16_data_scan, %function
sldns_wire2str_int16_data_scan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, [r1]
	sub	sp, sp, #8
	cmp	r1, #1
	bls	.L4
	mov	r5, r0
	ldr	r0, [r0]
	mov	r8, r3
	mov	r7, r2
	bl	sldns_read_uint16
	mov	r6, r0
	ldr	r0, [r4]
	add	r3, r6, #2
	cmp	r0, r3
	bcc	.L4
	ldr	r3, [r5]
	sub	r0, r0, #2
	add	r3, r3, #8
	cmp	r6, #0
	str	r3, [r5]
	str	r0, [r4]
	beq	.L8
	mov	r3, r6
	mov	r1, r8
	ldr	r2, .L9
	mov	r0, r7
	bl	sldns_str_print
	mov	ip, r0
	mov	r1, r4
	mov	r3, r8
	mov	r2, r7
	mov	r0, r5
	str	r6, [sp]
	mov	r4, ip
	bl	sldns_wire2str_b64_scan_num
	add	r0, r4, r0
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r1, r8
	mov	r0, r7
	ldr	r2, .L9+4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	sldns_str_print
.L4:
	mvn	r0, #0
	b	.L1
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	sldns_wire2str_int16_data_scan, .-sldns_wire2str_int16_data_scan
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
