	.file	"extr_scalebit.c_scale2x.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	scale2x, @function
scale2x:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	edi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r9d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	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	ebx, DWORD PTR 80[rsp]
	cmp	ebx, 1
	seta	dil
	call	assert@PLT
	mov	edi, 1
	call	SCSRC@PLT
	xor	edi, edi
	mov	QWORD PTR 8[rsp], rax
	call	SCSRC@PLT
	xor	edi, edi
	mov	r15, rax
	call	SCSRC@PLT
	mov	edi, 1
	mov	r14, rax
	call	SCDST@PLT
	xor	edi, edi
	mov	rbp, rax
	call	SCDST@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rcx, r15
	mov	rsi, rbp
	push	r13
	.cfi_def_cfa_offset 96
	mov	r8, QWORD PTR 24[rsp]
	mov	rdi, rax
	mov	r9d, r12d
	mov	rdx, r14
	call	stage_scale2x@PLT
	mov	edi, 2
	call	SCDST@PLT
	pop	rcx
	.cfi_def_cfa_offset 88
	pop	rsi
	.cfi_def_cfa_offset 80
	sub	ebx, 2
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, 2
	call	SCSRC@PLT
	mov	edi, 1
	mov	QWORD PTR 8[rsp], rax
	call	SCSRC@PLT
	xor	edi, edi
	mov	r15, rax
	call	SCSRC@PLT
	mov	edi, 1
	mov	r14, rax
	call	SCDST@PLT
	xor	edi, edi
	mov	rbp, rax
	call	SCDST@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdx, r14
	mov	r9d, r12d
	push	r13
	.cfi_def_cfa_offset 96
	mov	r8, QWORD PTR 24[rsp]
	mov	rcx, r15
	mov	rsi, rbp
	mov	rdi, rax
	call	stage_scale2x@PLT
	mov	edi, 2
	call	SCDST@PLT
	mov	edi, 1
	call	SCSRC@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	sub	ebx, 1
	jne	.L3
.L2:
	mov	edi, 1
	call	SCSRC@PLT
	mov	edi, 1
	mov	rbx, rax
	call	SCSRC@PLT
	xor	edi, edi
	mov	r15, rax
	call	SCSRC@PLT
	mov	edi, 1
	mov	r14, rax
	call	SCDST@PLT
	xor	edi, edi
	mov	rbp, rax
	call	SCDST@PLT
	mov	DWORD PTR 80[rsp], r13d
	mov	r9d, r12d
	mov	r8, rbx
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rcx, r15
	mov	rdx, r14
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, rax
	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
	jmp	stage_scale2x@PLT
	.cfi_endproc
.LFE0:
	.size	scale2x, .-scale2x
	.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_scalebit.c_scale2x.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scale2x, %function
scale2x:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #16
	ldr	r8, [sp, #56]
	ldr	r9, [sp, #48]
	cmp	r8, #1
	movls	r0, #0
	movhi	r0, #1
	ldr	r10, [sp, #52]
	bl	assert
	mov	r0, #0
	bl	SCDST
	mov	r4, r0
	mov	r0, #1
	bl	SCDST
	mov	r5, r0
	mov	r0, #0
	bl	SCSRC
	mov	r6, r0
	mov	r0, #0
	bl	SCSRC
	mov	r7, r0
	mov	r0, #1
	bl	SCSRC
	mov	ip, r0
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	str	ip, [sp]
	mov	r0, r4
	stmib	sp, {r9, r10}
	bl	stage_scale2x
	mov	r0, #2
	bl	SCDST
	subs	r8, r8, #2
	beq	.L2
.L3:
	mov	r0, #0
	bl	SCDST
	mov	r4, r0
	mov	r0, #1
	bl	SCDST
	mov	r5, r0
	mov	r0, #0
	bl	SCSRC
	mov	r6, r0
	mov	r0, #1
	bl	SCSRC
	mov	r7, r0
	mov	r0, #2
	bl	SCSRC
	mov	ip, r0
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	str	ip, [sp]
	mov	r0, r4
	stmib	sp, {r9, r10}
	bl	stage_scale2x
	mov	r0, #2
	bl	SCDST
	mov	r0, #1
	bl	SCSRC
	subs	r8, r8, #1
	bne	.L3
.L2:
	mov	r0, #0
	bl	SCDST
	mov	r4, r0
	mov	r0, #1
	bl	SCDST
	mov	r5, r0
	mov	r0, #0
	bl	SCSRC
	mov	r6, r0
	mov	r0, #1
	bl	SCSRC
	mov	r7, r0
	mov	r0, #1
	bl	SCSRC
	mov	r3, r7
	mov	ip, r0
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	str	ip, [sp, #48]
	str	r10, [sp, #56]
	str	r9, [sp, #52]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	stage_scale2x
	.size	scale2x, .-scale2x
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
