	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_core_register_section
_get_core_register_section:             ## @get_core_register_section
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	_get_core_register_section.section_name(%rip), %rdi
	callq	_xfree
	movq	_inferior_ptid@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_PIDGET
	testq	%rax, %rax
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	callq	_PIDGET
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_xstrprintf
	jmp	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	callq	_xstrdup
LBB0_3:
	movq	%rax, %rsi
	movq	%rax, _get_core_register_section.section_name(%rip)
	movq	_core_bfd@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r15
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_bfd_section_size
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_alloca
	movq	%rax, %r14
	movl	(%r12), %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	callq	_bfd_get_section_contents
	testl	%eax, %eax
	je	LBB0_16
## %bb.7:
	movq	_core_gdbarch@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.8:
	callq	_gdbarch_regset_from_core_section_p
	testq	%rax, %rax
	movq	_core_gdbarch@GOTPCREL(%rip), %rax
	je	LBB0_14
## %bb.9:
	movq	(%rax), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_gdbarch_regset_from_core_section
	testq	%rax, %rax
	je	LBB0_10
## %bb.13:
	movq	(%rax), %r9
	movq	_current_regcache@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movl	$-1, %edx
	movq	%r14, %rcx
	movl	%ebx, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%r9                            ## TAILCALL
LBB0_4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
LBB0_12:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
LBB0_14:
	movq	_core_vec@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_gdb_assert
	movq	(%r13), %rax
	movq	(%rax), %r13
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_bfd_section_vma
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
LBB0_10:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_15
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_12
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_get_core_register_section.section_name,8,3 ## @get_core_register_section.section_name
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%d"

	.comm	_core_bfd,4,2                   ## @core_bfd
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't find %s registers in core file.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't read %s registers from `%s' section in core file.\n"

	.comm	_core_gdbarch,8,3               ## @core_gdbarch
L_.str.3:                               ## @.str.3
	.asciz	"Couldn't recognize %s registers in core file.\n"

	.comm	_current_regcache,4,2           ## @current_regcache
	.comm	_core_vec,8,3                   ## @core_vec
	.no_dead_strip	_get_core_register_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_core_register_section
_get_core_register_section:             ; @get_core_register_section
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	adrp	x23, _get_core_register_section.section_name@PAGE
	ldr	x0, [x23, _get_core_register_section.section_name@PAGEOFF]
	bl	_xfree
Lloh0:
	adrp	x24, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x24, [x24, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_PIDGET
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x24]
	bl	_PIDGET
	mov	x2, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_xstrprintf
	b	LBB0_3
LBB0_2:
	mov	x0, x22
	bl	_xstrdup
LBB0_3:
	mov	x1, x0
	str	x0, [x23, _get_core_register_section.section_name@PAGEOFF]
Lloh4:
	adrp	x26, _core_bfd@GOTPAGE
Lloh5:
	ldr	x26, [x26, _core_bfd@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_9
; %bb.4:
	mov	x25, x0
	ldr	w0, [x26]
	mov	x1, x25
	bl	_bfd_section_size
	mov	x23, x0
	bl	_alloca
	mov	x24, x0
	ldr	w0, [x26]
	mov	x1, x25
	mov	x2, x24
	mov	w3, #0
	mov	x4, x23
	bl	_bfd_get_section_contents
	cbz	w0, LBB0_13
; %bb.5:
Lloh6:
	adrp	x27, _core_gdbarch@GOTPAGE
Lloh7:
	ldr	x27, [x27, _core_gdbarch@GOTPAGEOFF]
	ldr	x0, [x27]
	cbz	x0, LBB0_12
; %bb.6:
	bl	_gdbarch_regset_from_core_section_p
	cbz	x0, LBB0_12
; %bb.7:
	ldr	x0, [x27]
	mov	x1, x22
	mov	x2, x23
	bl	_gdbarch_regset_from_core_section
	cbz	x0, LBB0_15
; %bb.8:
	ldr	x5, [x0]
Lloh8:
	adrp	x8, _current_regcache@GOTPAGE
Lloh9:
	ldr	x8, [x8, _current_regcache@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #-1
	mov	x3, x24
	mov	x4, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	br	x5
LBB0_9:
	cbz	w21, LBB0_14
; %bb.10:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_11:
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_warning
LBB0_12:
Lloh13:
	adrp	x19, _core_vec@GOTPAGE
Lloh14:
	ldr	x19, [x19, _core_vec@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_gdb_assert
	ldr	x8, [x19]
	ldr	x0, [x8]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w0, [x26]
	mov	x1, x25
	bl	_bfd_section_vma
	mov	x3, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x20
                                        ; kill: def $w3 killed $w3 killed $x3
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	br	x4
LBB0_13:
	str	x22, [sp]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_warning
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	cbz	w21, LBB0_14
; %bb.16:
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_get_core_register_section.section_name,8,3 ; @get_core_register_section.section_name
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%d"

	.comm	_core_bfd,4,2                   ; @core_bfd
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't find %s registers in core file.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't read %s registers from `%s' section in core file.\n"

	.comm	_core_gdbarch,8,3               ; @core_gdbarch
l_.str.3:                               ; @.str.3
	.asciz	"Couldn't recognize %s registers in core file.\n"

	.comm	_current_regcache,4,2           ; @current_regcache
	.comm	_core_vec,8,3                   ; @core_vec
	.no_dead_strip	_get_core_register_section
.subsections_via_symbols
