	.file	"extr_ecoffswap.h_ecoff_swap_opt_out.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ecoff_swap_opt_out, @function
ecoff_swap_opt_out:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rsi]
	mov	QWORD PTR 12[rsp], rax
	mov	eax, DWORD PTR 8[rsi]
	mov	DWORD PTR 20[rsp], eax
	call	bfd_header_big_endian@PLT
	mov	edx, DWORD PTR 20[rsp]
	test	rax, rax
	mov	rax, QWORD PTR 32[rbx]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR [rbx]
	je	.L2
	mov	ecx, DWORD PTR OPT_BITS2_VALUE_SH_LEFT_BIG[rip]
	mov	eax, DWORD PTR 12[rsp]
	sar	eax, cl
	mov	DWORD PTR [rdx], eax
	mov	ecx, DWORD PTR OPT_BITS3_VALUE_SH_LEFT_BIG[rip]
	mov	eax, DWORD PTR 12[rsp]
	mov	rdx, QWORD PTR 8[rbx]
	sar	eax, cl
	mov	DWORD PTR [rdx], eax
	mov	ecx, DWORD PTR OPT_BITS4_VALUE_SH_LEFT_BIG[rip]
	mov	eax, DWORD PTR 12[rsp]
	mov	rdx, QWORD PTR 16[rbx]
	sar	eax, cl
	mov	DWORD PTR [rdx], eax
.L3:
	mov	rdi, rbp
	call	bfd_header_big_endian@PLT
	lea	rdx, 28[rbx]
	lea	rsi, 16[rsp]
	mov	rdi, rax
	call	_bfd_ecoff_swap_rndx_out@PLT
	mov	edx, DWORD PTR 24[rbx]
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbp
	call	H_PUT_32@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR OPT_BITS2_VALUE_SH_LEFT_LITTLE[rip]
	mov	eax, DWORD PTR 12[rsp]
	sar	eax, cl
	mov	DWORD PTR [rdx], eax
	mov	ecx, DWORD PTR OPT_BITS3_VALUE_SH_LEFT_LITTLE[rip]
	mov	eax, DWORD PTR 12[rsp]
	mov	rdx, QWORD PTR 8[rbx]
	sar	eax, cl
	mov	DWORD PTR [rdx], eax
	mov	ecx, DWORD PTR OPT_BITS4_VALUE_SH_LEFT_LITTLE[rip]
	mov	eax, DWORD PTR 12[rsp]
	mov	rdx, QWORD PTR 16[rbx]
	sar	eax, cl
	mov	DWORD PTR [rdx], eax
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ecoff_swap_opt_out, .-ecoff_swap_opt_out
	.comm	OPT_BITS4_VALUE_SH_LEFT_LITTLE,4,4
	.comm	OPT_BITS4_VALUE_SH_LEFT_BIG,4,4
	.comm	OPT_BITS3_VALUE_SH_LEFT_LITTLE,4,4
	.comm	OPT_BITS3_VALUE_SH_LEFT_BIG,4,4
	.comm	OPT_BITS2_VALUE_SH_LEFT_LITTLE,4,4
	.comm	OPT_BITS2_VALUE_SH_LEFT_BIG,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_ecoffswap.h_ecoff_swap_opt_out.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecoff_swap_opt_out, %function
ecoff_swap_opt_out:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #20
	mov	r3, sp
	mov	r5, r0
	mov	r4, r2
	ldm	r1, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, .L9
	mov	r0, r5
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	bfd_header_big_endian
	cmp	r0, #0
	ldr	r1, [sp, #8]
	ldr	r3, [r4, #20]
	beq	.L2
	ldr	r2, .L9+4
	str	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [sp]
	ldr	r1, [r4]
	asr	r3, r3, r2
	ldr	r2, .L9+8
	str	r3, [r1]
	ldr	r2, [r2]
	ldr	r3, [sp]
	ldr	r1, [r4, #4]
	asr	r3, r3, r2
	ldr	r2, .L9+12
.L6:
	str	r3, [r1]
	ldr	r1, [r2]
	ldr	r3, [sp]
	ldr	r2, [r4, #8]
	asr	r3, r3, r1
	str	r3, [r2]
	mov	r0, r5
	bl	bfd_header_big_endian
	add	r2, r4, #16
	add	r1, sp, #4
	bl	_bfd_ecoff_swap_rndx_out
	ldr	r2, [r4, #12]
	mov	r0, r5
	ldr	r1, [sp]
	bl	H_PUT_32
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r2, .L9+16
	str	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [sp]
	ldr	r1, [r4]
	asr	r3, r3, r2
	ldr	r2, .L9+20
	str	r3, [r1]
	ldr	r2, [r2]
	ldr	r3, [sp]
	ldr	r1, [r4, #4]
	asr	r3, r3, r2
	ldr	r2, .L9+24
	b	.L6
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	OPT_BITS2_VALUE_SH_LEFT_BIG
	.word	OPT_BITS3_VALUE_SH_LEFT_BIG
	.word	OPT_BITS4_VALUE_SH_LEFT_BIG
	.word	OPT_BITS2_VALUE_SH_LEFT_LITTLE
	.word	OPT_BITS3_VALUE_SH_LEFT_LITTLE
	.word	OPT_BITS4_VALUE_SH_LEFT_LITTLE
	.size	ecoff_swap_opt_out, .-ecoff_swap_opt_out
	.comm	OPT_BITS4_VALUE_SH_LEFT_LITTLE,4,4
	.comm	OPT_BITS4_VALUE_SH_LEFT_BIG,4,4
	.comm	OPT_BITS3_VALUE_SH_LEFT_LITTLE,4,4
	.comm	OPT_BITS3_VALUE_SH_LEFT_BIG,4,4
	.comm	OPT_BITS2_VALUE_SH_LEFT_LITTLE,4,4
	.comm	OPT_BITS2_VALUE_SH_LEFT_BIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
