	.file	"extr_xcofflink.c_bfd_xcoff_link_generate_rtinit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfd_xcoff_link_generate_rtinit
	.type	bfd_xcoff_link_generate_rtinit, @function
bfd_xcoff_link_generate_rtinit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	edi, 16
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	bfd_malloc@PLT
	test	rax, rax
	je	.L6
	mov	QWORD PTR [rax], 0
	mov	ecx, r13d
	mov	rsi, rbp
	mov	rdi, rbx
	mov	QWORD PTR 8[rax], 0
	mov	edx, DWORD PTR bfd_object[rip]
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR BFD_IN_MEMORY[rip]
	mov	DWORD PTR 12[rbx], edx
	mov	rdx, r12
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR write_direction[rip]
	mov	QWORD PTR 32[rbx], 0
	mov	DWORD PTR 8[rbx], eax
	mov	QWORD PTR [rbx], 0
	call	bfd_xcoff_generate_rtinit@PLT
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR bfd_unknown[rip]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR read_direction[rip]
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR TRUE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bfd_xcoff_link_generate_rtinit, .-bfd_xcoff_link_generate_rtinit
	.comm	write_direction,4,4
	.comm	read_direction,4,4
	.comm	bfd_unknown,4,4
	.comm	bfd_object,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	BFD_IN_MEMORY,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_xcofflink.c_bfd_xcoff_link_generate_rtinit.c"
	.text
	.align	2
	.global	bfd_xcoff_link_generate_rtinit
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfd_xcoff_link_generate_rtinit, %function
bfd_xcoff_link_generate_rtinit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r0, #8
	mov	r8, r1
	mov	r7, r2
	mov	r6, r3
	bl	bfd_malloc
	cmp	r0, #0
	beq	.L6
	mov	r5, #0
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r9, [r2]
	ldr	r2, .L8+8
	ldr	lr, [r3]
	ldr	ip, [r2]
	str	r5, [r0, #4]
	str	r5, [r0]
	mov	r3, r6
	str	r0, [r4, #16]
	mov	r2, r7
	mov	r1, r8
	mov	r0, r4
	stm	r4, {r5, ip}
	str	r5, [r4, #20]
	str	r9, [r4, #8]
	str	lr, [r4, #12]
	bl	bfd_xcoff_generate_rtinit
	cmp	r0, r5
	beq	.L6
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, .L8+20
	str	r2, [r4, #8]
	ldr	r0, [r1]
	str	r3, [r4, #4]
	str	r5, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r3, .L8+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	bfd_object
	.word	BFD_IN_MEMORY
	.word	write_direction
	.word	bfd_unknown
	.word	read_direction
	.word	TRUE
	.word	FALSE
	.size	bfd_xcoff_link_generate_rtinit, .-bfd_xcoff_link_generate_rtinit
	.comm	write_direction,4,4
	.comm	read_direction,4,4
	.comm	bfd_unknown,4,4
	.comm	bfd_object,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	BFD_IN_MEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
