	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sniff_core_bfd
_sniff_core_bfd:                        ## @sniff_core_bfd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_core_gdbarch@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	callq	_gdbarch_regset_from_core_section_p
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_3:
	movq	_core_file_fns@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rbx)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovneq	%rbx, %r15
	setne	%cl
	addl	%ecx, %r12d
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.5:
	cmpl	$2, %r12d
	jb	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_bfd_get_filename
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_9
LBB0_7:
	testl	%r12d, %r12d
	jne	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_bfd_get_filename
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warning
LBB0_9:
	testq	%r15, %r15
	jne	LBB0_11
## %bb.10:
	movq	(%r13), %r15
LBB0_11:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_core_gdbarch,8,3               ## @core_gdbarch
	.comm	_core_file_fns,8,3              ## @core_file_fns
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\": ambiguous core format, %d handlers match"

L_.str.1:                               ## @.str.1
	.asciz	"\"%s\": no core file handler recognizes format, using default"

	.no_dead_strip	_sniff_core_bfd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sniff_core_bfd
_sniff_core_bfd:                        ; @sniff_core_bfd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _core_gdbarch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _core_gdbarch@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_gdbarch_regset_from_core_section_p
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, #0
	b	LBB0_13
LBB0_3:
Lloh3:
	adrp	x21, _core_file_fns@GOTPAGE
Lloh4:
	ldr	x21, [x21, _core_file_fns@GOTPAGEOFF]
	ldr	x20, [x21]
	cbz	x20, LBB0_8
; %bb.4:
	mov	w23, #0
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	cmp	x0, #0
	csel	x22, x22, x20, eq
	cinc	w23, w23, ne
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_5
; %bb.6:
	cmp	w23, #2
	b.lo	LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_bfd_get_filename
	mov	x1, x0
	str	x23, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_8:
	mov	x22, #0
	b	LBB0_10
LBB0_9:
	cbnz	w23, LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_bfd_get_filename
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_11:
	bl	_warning
LBB0_12:
	ldr	x8, [x21]
	cmp	x22, #0
	csel	x0, x8, x22, eq
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_core_gdbarch,8,3               ; @core_gdbarch
	.comm	_core_file_fns,8,3              ; @core_file_fns
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\": ambiguous core format, %d handlers match"

l_.str.1:                               ; @.str.1
	.asciz	"\"%s\": no core file handler recognizes format, using default"

	.no_dead_strip	_sniff_core_bfd
.subsections_via_symbols
