	.file	"extr_compfile.c_dcm_pass.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Error: current sector is %d, next sector group at %d"
	.align 8
.LC1:
	.string	"Unrecognized sector coding type 0x%02X"
	.text
	.p2align 4
	.type	dcm_pass, @function
dcm_pass:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edx, 1024
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 1048
	.cfi_def_cfa_offset 1104
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1032[rsp], rax
	xor	eax, eax
	mov	r14, rsp
	mov	rdi, r14
	call	memset@PLT
.L26:
	mov	rdi, rbp
	call	fgetw@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	fgetc@PLT
	mov	r12d, eax
	cmp	eax, 69
	je	.L38
	mov	esi, DWORD PTR 0[r13]
	cmp	esi, ebx
	jg	.L41
	mov	esi, ebx
	mov	rdi, r13
	call	pad_till_sector@PLT
	test	eax, eax
	je	.L39
.L5:
	mov	eax, r12d
	and	eax, 127
	sub	eax, 65
	cmp	eax, 6
	ja	.L6
	lea	rcx, .L8[rip]
	movsx	rax, DWORD PTR [rcx+rax*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L13-.L8
	.long	.L12-.L8
	.long	.L28-.L8
	.long	.L10-.L8
	.long	.L6-.L8
	.long	.L9-.L8
	.long	.L7-.L8
	.text
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, 492[rsp]
	mov	rdx, rbp
	mov	esi, 5
	call	fload@PLT
	test	eax, eax
	je	.L39
	mov	esi, DWORD PTR 492[rsp]
	mov	edx, 123
	mov	rdi, r14
	call	memset@PLT
.L9:
	mov	rsi, r14
	mov	rdi, r13
	call	write_atr_sector@PLT
	test	eax, eax
	je	.L39
	and	r12d, 128
	je	.L26
	mov	rdi, rbp
	call	fgetc@PLT
	mov	r12d, eax
	cmp	eax, 69
	jne	.L5
.L38:
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, r12d
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	Log_print@PLT
.L39:
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	mov	rcx, QWORD PTR 1032[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L42
	add	rsp, 1048
	.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
.L28:
	.cfi_restore_state
	xor	r15d, r15d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L19:
	cmp	DWORD PTR 4[r13], ebx
	jle	.L9
	mov	rdi, rbp
	call	fgetc@PLT
	mov	r15d, eax
	cmp	ebx, eax
	jle	.L21
	test	eax, eax
	jne	.L39
	mov	r15d, 256
.L21:
	mov	rdi, rbp
	call	fgetc@PLT
	cmp	DWORD PTR EOF[rip], eax
	mov	esi, eax
	je	.L39
	mov	edx, r15d
	lea	rdi, [r14+rbx*4]
	sub	edx, ebx
	call	memset@PLT
	cmp	DWORD PTR 4[r13], r15d
	jle	.L9
.L11:
	mov	rdi, rbp
	call	fgetc@PLT
	movsx	rbx, eax
	cmp	r15d, ebx
	jle	.L18
	test	ebx, ebx
	jne	.L39
	mov	ebx, 256
.L18:
	cmp	r15d, ebx
	jge	.L19
	mov	esi, ebx
	movsx	rcx, r15d
	mov	rdx, rbp
	sub	esi, r15d
	lea	rdi, [r14+rcx*4]
	call	fload@PLT
	test	eax, eax
	jne	.L19
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, rbp
	call	fgetc@PLT
	cmp	DWORD PTR EOF[rip], eax
	je	.L39
	movsx	rcx, eax
	mov	eax, eax
	sal	rcx, 2
	sal	rax, 2
	lea	rbx, -4[rsp+rcx]
	lea	r15, [r14+rcx]
	sub	rbx, rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	mov	DWORD PTR [r15], eax
	sub	r15, 4
	cmp	rbx, r15
	je	.L9
.L16:
	mov	rdi, rbp
	call	fgetc@PLT
	cmp	DWORD PTR EOF[rip], eax
	jne	.L15
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR 4[r13]
	mov	rdx, rbp
	mov	rdi, r14
	call	fload@PLT
	test	eax, eax
	jne	.L9
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	fgetc@PLT
	cmp	DWORD PTR EOF[rip], eax
	je	.L39
	mov	esi, DWORD PTR 4[r13]
	cmp	esi, eax
	jle	.L39
	sub	esi, eax
	cdqe
	mov	rdx, rbp
	lea	rdi, [r14+rax*4]
	call	fload@PLT
	test	eax, eax
	jne	.L9
	jmp	.L39
.L41:
	mov	edx, ebx
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	Log_print@PLT
	mov	eax, DWORD PTR FALSE[rip]
	jmp	.L1
.L42:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dcm_pass, .-dcm_pass
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	EOF,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_compfile.c_dcm_pass.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error: current sector is %d, next sector group at %"
	.ascii	"d\000"
	.align	2
.LC1:
	.ascii	"Unrecognized sector coding type 0x%02X\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dcm_pass, %function
dcm_pass:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #1024
	sub	sp, sp, #12
	ldr	r3, .L43
	mov	r6, r0
	mov	r8, r1
	mov	r2, #1024
	mov	r1, #0
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #1028]
	mov	r3,#0
	bl	memset
	ldr	r9, .L43+4
.L26:
	mov	r0, r6
	bl	fgetw
	mov	r4, r0
	mov	r0, r6
	bl	fgetc
	cmp	r0, #69
	mov	r7, r0
	beq	.L38
	ldr	r1, [r8]
	cmp	r1, r4
	bgt	.L41
	mov	r1, r4
	mov	r0, r8
	bl	pad_till_sector
	cmp	r0, #0
	beq	.L39
.L5:
	and	r3, r7, #127
	sub	r3, r3, #65
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L13
	.word	.L12
	.word	.L28
	.word	.L10
	.word	.L6
	.word	.L9
	.word	.L7
.L12:
	mov	r2, r6
	mov	r1, #5
	add	r0, sp, #496
	bl	fload
	cmp	r0, #0
	beq	.L39
	mov	r2, #123
	ldr	r1, [sp, #496]
	add	r0, sp, #4
	bl	memset
.L9:
	mov	r0, r8
	add	r1, sp, #4
	bl	write_atr_sector
	cmp	r0, #0
	beq	.L39
	tst	r7, #128
	beq	.L26
	mov	r0, r6
	bl	fgetc
	cmp	r0, #69
	mov	r7, r0
	bne	.L5
.L38:
	ldr	r3, .L43+8
	ldr	r0, [r3]
	b	.L1
.L6:
	mov	r1, r7
	ldr	r0, .L43+12
	bl	Log_print
.L39:
	ldr	r3, .L43+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [sp, #1028]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L42
	add	sp, sp, #1024
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L28:
	mov	r5, #0
	b	.L11
.L19:
	ldr	r3, [r8, #4]
	cmp	r3, r4
	ble	.L9
	mov	r0, r6
	bl	fgetc
	cmp	r4, r0
	mov	r5, r0
	ble	.L21
	cmp	r0, #0
	bne	.L39
	mov	r5, #256
.L21:
	mov	r0, r6
	bl	fgetc
	ldr	r3, [r9]
	mov	r1, r0
	cmp	r3, r0
	beq	.L39
	add	r3, sp, #4
	add	r0, r3, r4, lsl #2
	sub	r2, r5, r4
	bl	memset
	ldr	r3, [r8, #4]
	cmp	r3, r5
	ble	.L9
.L11:
	mov	r0, r6
	bl	fgetc
	cmp	r5, r0
	mov	r4, r0
	ble	.L18
	cmp	r0, #0
	bne	.L39
	mov	r4, #256
.L18:
	cmp	r5, r4
	bge	.L19
	add	r3, sp, #4
	mov	r2, r6
	sub	r1, r4, r5
	add	r0, r3, r5, lsl #2
	bl	fload
	cmp	r0, #0
	bne	.L19
	b	.L39
.L13:
	mov	r0, r6
	bl	fgetc
	ldr	r3, [r9]
	mov	r4, r0
	cmp	r3, r0
	beq	.L39
	add	r3, sp, #4
	add	r5, r3, r0, lsl #2
	b	.L16
.L15:
	cmp	r4, #0
	str	r0, [r5], #-4
	sub	r4, r4, #1
	beq	.L9
.L16:
	mov	r0, r6
	bl	fgetc
	ldr	r3, [r9]
	cmp	r3, r0
	bne	.L15
	b	.L39
.L7:
	mov	r2, r6
	ldr	r1, [r8, #4]
	add	r0, sp, #4
	bl	fload
	cmp	r0, #0
	bne	.L9
	b	.L39
.L10:
	mov	r0, r6
	bl	fgetc
	ldr	r3, [r9]
	cmp	r3, r0
	beq	.L39
	ldr	r1, [r8, #4]
	cmp	r1, r0
	ble	.L39
	add	r3, sp, #4
	sub	r1, r1, r0
	mov	r2, r6
	add	r0, r3, r0, lsl #2
	bl	fload
	cmp	r0, #0
	bne	.L9
	b	.L39
.L41:
	mov	r2, r4
	ldr	r0, .L43+20
	bl	Log_print
	ldr	r3, .L43+16
	ldr	r0, [r3]
	b	.L1
.L42:
	bl	__stack_chk_fail
.L44:
	.align	2
.L43:
	.word	.LC2
	.word	EOF
	.word	TRUE
	.word	.LC1
	.word	FALSE
	.word	.LC0
	.size	dcm_pass, .-dcm_pass
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
