	.file	"extr_traverse.c_ufs1_blksout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ufs1_blksout, @function
ufs1_blksout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR sblock[rip]
	mov	DWORD PTR 12[rsp], edx
	imul	esi, DWORD PTR [rax]
	mov	edi, esi
	mov	esi, DWORD PTR TP_BSIZE[rip]
	call	howmany@PLT
	mov	ecx, DWORD PTR tp_bshift[rip]
	mov	DWORD PTR 8[rsp], eax
	mov	edx, eax
	mov	rax, QWORD PTR sblock[rip]
	mov	r8d, DWORD PTR 4[rax]
	mov	eax, DWORD PTR TP_NINDIR[rip]
	sar	r8d, cl
	test	edx, edx
	jle	.L1
	mov	r14d, r8d
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, DWORD PTR 8[rsp]
	add	eax, ebp
	cmp	eax, edx
	mov	r15d, edx
	cmovle	r15d, eax
	xor	edi, edi
	cmp	eax, r15d
	setge	dil
	call	assert@PLT
	mov	edi, r15d
	sub	edi, ebp
	cmp	r15d, ebp
	jle	.L3
	movsx	rcx, ebp
	mov	rax, QWORD PTR spcl[rip]
	mov	rdx, rcx
	neg	rdx
	lea	rsi, [rax+rdx*4]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, ecx
	cdq
	idiv	r14d
	cdqe
	cmp	QWORD PTR [r12+rax*8], 0
	setne	al
	movzx	eax, al
	mov	DWORD PTR [rsi+rcx*4], eax
	add	rcx, 1
	cmp	r15d, ecx
	jg	.L6
	mov	DWORD PTR spcl[rip+8], edi
	mov	edi, DWORD PTR 12[rsp]
	mov	ebx, ebp
	call	writeheader@PLT
	mov	eax, ebp
	cdq
	idiv	r14d
	cdqe
	lea	r13, [r12+rax*8]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR sblock[rip]
	mov	esi, DWORD PTR 4[rax]
	call	dumpblock@PLT
.L8:
	add	r13, 8
	cmp	r15d, ebx
	jle	.L10
.L11:
	mov	rdi, QWORD PTR 0[r13]
	mov	eax, ebx
	add	ebx, r14d
	test	rdi, rdi
	je	.L8
	cmp	r15d, ebx
	jge	.L24
	mov	esi, r15d
	sub	esi, eax
	imul	esi, DWORD PTR TP_BSIZE[rip]
	call	dumpblock@PLT
.L10:
	mov	eax, DWORD PTR TS_ADDR[rip]
	mov	DWORD PTR spcl[rip+12], eax
	mov	eax, DWORD PTR TP_NINDIR[rip]
	add	ebp, eax
	cmp	DWORD PTR 8[rsp], ebp
	jg	.L12
.L1:
	add	rsp, 24
	.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
.L3:
	.cfi_restore_state
	mov	DWORD PTR spcl[rip+8], edi
	mov	edi, DWORD PTR 12[rsp]
	call	writeheader@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	ufs1_blksout, .-ufs1_blksout
	.comm	tp_bshift,4,4
	.comm	spcl,16,16
	.comm	sblock,8,8
	.comm	TS_ADDR,4,4
	.comm	TP_NINDIR,4,4
	.comm	TP_BSIZE,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_traverse.c_ufs1_blksout.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ufs1_blksout, %function
ufs1_blksout:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L24
	ldr	r10, .L24+4
	ldr	ip, [r9]
	sub	sp, sp, #20
	ldr	ip, [ip]
	mov	r7, r0
	ldr	r1, [r10]
	mul	r0, ip, r3
	str	r2, [sp, #12]
	bl	howmany
	ldr	r2, [r9]
	ldr	r3, .L24+8
	ldr	r4, [r2, #4]
	ldr	r3, [r3]
	subs	r2, r0, #0
	str	r2, [sp, #4]
	asr	r4, r4, r3
	ble	.L1
	mov	r6, #0
	ldr	r3, .L24+12
	ldr	r0, [r3]
.L12:
	ldr	r3, [sp, #4]
	add	r0, r6, r0
	cmp	r0, r3
	movlt	r8, r0
	movge	r8, r3
	cmp	r0, r8
	movlt	r0, #0
	movge	r0, #1
	bl	assert
	sub	r3, r8, r6
	cmp	r8, r6
	str	r3, [sp, #8]
	ble	.L3
	mov	fp, r6
	ldr	r3, .L24+16
	rsb	r1, r6, r6, lsl #30
	ldr	r5, [r3]
	add	r5, r5, r1, lsl #2
.L6:
	mov	r0, fp
	mov	r1, r4
	bl	__aeabi_idiv
	ldr	r3, [r7, r0, lsl #2]
	cmp	r3, #0
	movne	r3, #1
	str	r3, [r5, fp, lsl #2]
	add	fp, fp, #1
	cmp	r8, fp
	bne	.L6
	ldr	r3, .L24+16
	ldr	r2, [sp, #8]
	ldr	r0, [sp, #12]
	str	r2, [r3, #4]
	bl	writeheader
	mov	r1, r4
	mov	r0, r6
	bl	__aeabi_idiv
	add	fp, r7, r0, lsl #2
	mov	r5, r6
	sub	fp, fp, #4
	b	.L11
.L23:
	ldr	r3, [r9]
	ldr	r1, [r3, #4]
	bl	dumpblock
.L8:
	cmp	r8, r5
	ble	.L10
.L11:
	ldr	r0, [fp, #4]!
	mov	r3, r5
	cmp	r0, #0
	add	r5, r5, r4
	beq	.L8
	cmp	r8, r5
	bge	.L23
	ldr	r1, [r10]
	sub	r3, r8, r3
	mul	r1, r3, r1
	bl	dumpblock
.L10:
	ldr	r3, .L24+12
	ldr	r2, [sp, #4]
	ldr	r0, [r3]
	ldr	r3, .L24+20
	add	r6, r6, r0
	ldr	r3, [r3]
	cmp	r2, r6
	ldr	r2, .L24+16
	str	r3, [r2, #8]
	bgt	.L12
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	ldr	r3, .L24+16
	ldr	r2, [sp, #8]
	ldr	r0, [sp, #12]
	str	r2, [r3, #4]
	bl	writeheader
	b	.L10
.L25:
	.align	2
.L24:
	.word	sblock
	.word	TP_BSIZE
	.word	tp_bshift
	.word	TP_NINDIR
	.word	spcl
	.word	TS_ADDR
	.size	ufs1_blksout, .-ufs1_blksout
	.comm	tp_bshift,4,4
	.comm	spcl,12,4
	.comm	sblock,4,4
	.comm	TS_ADDR,4,4
	.comm	TP_NINDIR,4,4
	.comm	TP_BSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
