	.file	"extr_corefile.c_generic_core_file_matches_executable_p.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	generic_core_file_matches_executable_p
	.type	generic_core_file_matches_executable_p, @function
generic_core_file_matches_executable_p:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L9
	test	rdi, rdi
	je	.L9
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	bfd_core_file_failing_command@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L17
	mov	rdi, rbp
	call	bfd_get_filename@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L17
	mov	rdi, rbx
	mov	esi, 47
	call	strrchr@PLT
	mov	rdi, rbp
	mov	esi, 47
	test	rax, rax
	lea	r12, 1[rax]
	cmove	r12, rbx
	call	strrchr@PLT
	test	rax, rax
	lea	rdx, 1[rax]
	mov	rsi, r12
	cmovne	rbp, rdx
	mov	rdi, rbp
	call	strcmp@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	test	rax, rax
	pop	r12
	.cfi_def_cfa_offset 8
	sete	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR TRUE[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR TRUE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	generic_core_file_matches_executable_p, .-generic_core_file_matches_executable_p
	.comm	TRUE,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_corefile.c_generic_core_file_matches_executable_p.c"
	.text
	.align	2
	.global	generic_core_file_matches_executable_p
	.syntax unified
	.arm
	.fpu softvfp
	.type	generic_core_file_matches_executable_p, %function
generic_core_file_matches_executable_p:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	cmpne	r1, #0
	bne	.L2
	ldr	r3, .L19
	ldr	r0, [r3]
	bx	lr
.L2:
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bl	bfd_core_file_failing_command
	subs	r5, r0, #0
	beq	.L17
	mov	r0, r4
	bl	bfd_get_filename
	subs	r4, r0, #0
	beq	.L17
	mov	r0, r5
	mov	r1, #47
	bl	strrchr
	cmp	r0, #0
	addne	r5, r0, #1
	mov	r1, #47
	mov	r0, r4
	bl	strrchr
	cmp	r0, #0
	addne	r4, r0, #1
	mov	r1, r5
	mov	r0, r4
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r3, .L19
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	TRUE
	.size	generic_core_file_matches_executable_p, .-generic_core_file_matches_executable_p
	.comm	TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
