	.file	"extr_gcore.c_make_output_phdrs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"load"
	.text
	.p2align 4
	.type	make_output_phdrs, @function
make_output_phdrs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	QWORD PTR 8[rsp], rsi
	call	bfd_section_name@PLT
	lea	rsi, .LC0[rip]
	mov	edx, 4
	mov	edi, eax
	call	strncmp@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	r12d, DWORD PTR PT_LOAD[rip]
	test	rax, rax
	mov	r13d, DWORD PTR PF_R[rip]
	cmovne	r12d, DWORD PTR PT_NOTE[rip]
	call	bfd_get_section_flags@PLT
	test	DWORD PTR SEC_READONLY[rip], eax
	jne	.L4
	or	r13d, DWORD PTR PF_W[rip]
.L4:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	bfd_get_section_flags@PLT
	test	DWORD PTR SEC_CODE[rip], eax
	je	.L5
	or	r13d, DWORD PTR PF_X[rip]
.L5:
	lea	rax, 8[rsp]
	mov	ecx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 56
	xor	r9d, r9d
	xor	r8d, r8d
	mov	edx, 1
	push	1
	.cfi_def_cfa_offset 64
	push	0
	.cfi_def_cfa_offset 72
	push	0
	.cfi_def_cfa_offset 80
	call	bfd_record_phdr@PLT
	add	rsp, 48
	.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	make_output_phdrs, .-make_output_phdrs
	.comm	SEC_READONLY,4,4
	.comm	SEC_CODE,4,4
	.comm	PT_NOTE,4,4
	.comm	PT_LOAD,4,4
	.comm	PF_X,4,4
	.comm	PF_W,4,4
	.comm	PF_R,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_gcore.c_make_output_phdrs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"load\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_output_phdrs, %function
make_output_phdrs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #32
	mov	r4, r0
	str	r1, [sp, #28]
	bl	bfd_section_name
	mov	r2, #4
	ldr	r1, .L11
	bl	strncmp
	cmp	r0, #0
	ldreq	r3, .L11+4
	ldrne	r3, .L11+8
	ldr	r1, [sp, #28]
	ldr	r6, [r3]
	ldr	r3, .L11+12
	mov	r0, r4
	ldr	r5, [r3]
	bl	bfd_get_section_flags
	ldr	r3, .L11+16
	ldr	r1, [sp, #28]
	ldr	r3, [r3]
	tst	r0, r3
	ldreq	r3, .L11+20
	mov	r0, r4
	ldreq	r3, [r3]
	orreq	r5, r5, r3
	bl	bfd_get_section_flags
	mov	ip, #0
	mov	r2, #1
	ldr	r3, .L11+24
	add	lr, sp, #28
	ldr	r3, [r3]
	mov	r1, r6
	tst	r0, r3
	ldrne	r3, .L11+28
	mov	r0, r4
	ldrne	r3, [r3]
	str	r2, [sp, #16]
	orrne	r5, r5, r3
	mov	r3, r5
	str	ip, [sp, #12]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	str	ip, [sp]
	str	lr, [sp, #20]
	bl	bfd_record_phdr
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	PT_LOAD
	.word	PT_NOTE
	.word	PF_R
	.word	SEC_READONLY
	.word	PF_W
	.word	SEC_CODE
	.word	PF_X
	.size	make_output_phdrs, .-make_output_phdrs
	.comm	SEC_READONLY,4,4
	.comm	SEC_CODE,4,4
	.comm	PT_NOTE,4,4
	.comm	PT_LOAD,4,4
	.comm	PF_X,4,4
	.comm	PF_W,4,4
	.comm	PF_R,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
