	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_symbol_file_object
_open_symbol_file_object:               ## @open_symbol_file_object
	.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	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_SVR4_FETCH_LINK_MAP_OFFSETS
	movq	%rax, %rbx
	movl	8(%rax), %edi
	callq	_xmalloc
	movq	%rax, %r12
	movq	_xfree@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rax, %rsi
	callq	_make_cleanup
	movq	%rax, %r13
	movq	_symfile_objfile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_query
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_locate_base
	movq	_debug_base@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_first_link_map_member
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	addq	(%rbx), %rax
	movl	8(%rbx), %edx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_read_memory
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	callq	_extract_unsigned_integer
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_do_cleanups
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:
	movq	_SO_NAME_MAX_PATH_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	decq	%rdx
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_target_read_string
	movl	-48(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.6:
	callq	_safe_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_warning
	jmp	LBB0_8
LBB0_7:
	movl	(%r14), %edi
	movq	-56(%rbp), %rsi
	callq	_make_cleanup
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_symbol_file_add_main
	movl	$1, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xfree,4,2                      ## @xfree
	.comm	_symfile_objfile,8,3            ## @symfile_objfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempt to reload symbols from process? "

	.comm	_debug_base,4,2                 ## @debug_base
	.comm	_SO_NAME_MAX_PATH_SIZE,8,3      ## @SO_NAME_MAX_PATH_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"failed to read exec filename from attached file: %s"

	.no_dead_strip	_open_symbol_file_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_symbol_file_object
_open_symbol_file_object:               ; @open_symbol_file_object
	.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
	ldr	w19, [x0]
	bl	_SVR4_FETCH_LINK_MAP_OFFSETS
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_xmalloc
	mov	x21, x0
Lloh0:
	adrp	x23, _xfree@GOTPAGE
Lloh1:
	ldr	x23, [x23, _xfree@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x21
	bl	_make_cleanup
	mov	x22, x0
Lloh2:
	adrp	x8, _symfile_objfile@GOTPAGE
Lloh3:
	ldr	x8, [x8, _symfile_objfile@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_query
	cbz	w0, LBB0_9
LBB0_2:
	bl	_locate_base
Lloh7:
	adrp	x8, _debug_base@GOTPAGE
Lloh8:
	ldr	x8, [x8, _debug_base@GOTPAGEOFF]
Lloh9:
	str	w0, [x8]
	cbz	w0, LBB0_9
; %bb.3:
	bl	_first_link_map_member
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x8, [x20]
	add	x0, x8, x0
	ldr	w2, [x20, #8]
	mov	x1, x21
	bl	_read_memory
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_extract_unsigned_integer
	mov	x20, x0
	mov	x0, x22
	bl	_do_cleanups
	cbz	x20, LBB0_7
; %bb.5:
Lloh10:
	adrp	x8, _SO_NAME_MAX_PATH_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SO_NAME_MAX_PATH_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	sub	x2, x8, #1
	add	x1, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_target_read_string
	ldr	w0, [sp, #4]
	cbz	w0, LBB0_8
; %bb.6:
	bl	_safe_strerror
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	ldr	w0, [x23]
	ldr	x1, [sp, #8]
	bl	_make_cleanup
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_symbol_file_add_main
	mov	w0, #1
LBB0_9:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_xfree,4,2                      ; @xfree
	.comm	_symfile_objfile,8,3            ; @symfile_objfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempt to reload symbols from process? "

	.comm	_debug_base,4,2                 ; @debug_base
	.comm	_SO_NAME_MAX_PATH_SIZE,8,3      ; @SO_NAME_MAX_PATH_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"failed to read exec filename from attached file: %s"

	.no_dead_strip	_open_symbol_file_object
.subsections_via_symbols
