	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunos4_core_file_matches_executable_p
_sunos4_core_file_matches_executable_p: ## @sunos4_core_file_matches_executable_p
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_core_hdr
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_SOLARIS_BCP_CORE_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_1:
	movq	_bfd_error_system_call@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_core_hdr
	movq	(%rax), %rbx
	addq	$8, %rbx
	movq	%r14, %rdi
	callq	_exec_hdr
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_error_system_call,4,2      ## @bfd_error_system_call
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SOLARIS_BCP_CORE_LEN,8,3       ## @SOLARIS_BCP_CORE_LEN
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_sunos4_core_file_matches_executable_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunos4_core_file_matches_executable_p
_sunos4_core_file_matches_executable_p: ; @sunos4_core_file_matches_executable_p
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_core_hdr
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _SOLARIS_BCP_CORE_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOLARIS_BCP_CORE_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _bfd_error_system_call@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_error_system_call@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_bfd_set_error
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_core_hdr
	ldr	x8, [x0]
	add	x20, x8, #8
	mov	x0, x19
	bl	_exec_hdr
	mov	x1, x0
	mov	x0, x20
	mov	w2, #4
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_error_system_call,4,2      ; @bfd_error_system_call
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SOLARIS_BCP_CORE_LEN,8,3       ; @SOLARIS_BCP_CORE_LEN
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_sunos4_core_file_matches_executable_p
.subsections_via_symbols
