	.file	"extr_aoecmd.c_setdbcnt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"aoe: e%ld.%d: setting %d byte data frames\n"
	.text
	.p2align 4
	.type	setdbcnt, @function
setdbcnt:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 16[rdi]
	movsx	rdx, DWORD PTR [rdi]
	xor	ecx, ecx
	lea	rsi, [rax+rdx*8]
	cmp	rax, rsi
	jb	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	cmp	edx, ecx
	cmovl	ecx, edx
	add	rax, 8
	cmp	rsi, rax
	jbe	.L3
.L2:
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	je	.L3
	mov	edx, DWORD PTR [rdx]
	test	ecx, ecx
	jne	.L12
	add	rax, 8
	mov	ecx, edx
	cmp	rsi, rax
	ja	.L2
.L3:
	cmp	DWORD PTR 4[rdi], ecx
	jne	.L13
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, DWORD PTR 8[rdi]
	mov	esi, DWORD PTR 12[rdi]
	mov	DWORD PTR 4[rdi], ecx
	lea	rdi, .LC0[rip]
	jmp	pr_info@PLT
	.cfi_endproc
.LFE0:
	.size	setdbcnt, .-setdbcnt
	.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_aoecmd.c_setdbcnt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"aoe: e%ld.%d: setting %d byte data frames\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setdbcnt, %function
setdbcnt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, [r0, #16]
	ldr	ip, [r0]
	mov	r3, #0
	add	ip, r2, ip, lsl #2
	cmp	r2, ip
	bcc	.L3
	b	.L2
.L5:
	ldr	r1, [r1]
	cmp	r3, #0
	moveq	r3, r1
	beq	.L4
	cmp	r3, r1
	movge	r3, r1
.L4:
	cmp	ip, r2
	bls	.L2
.L3:
	ldr	r1, [r2], #4
	cmp	r1, #0
	bne	.L5
.L2:
	ldr	r2, [r0, #4]
	cmp	r2, r3
	bxeq	lr
	ldr	r2, [r0, #8]
	ldr	r1, [r0, #12]
	str	r3, [r0, #4]
	ldr	r0, .L11
	b	pr_info
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	setdbcnt, .-setdbcnt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
