	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_object
_open_object:                           ## @open_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%r15), %rdi
	movl	$-1, %eax
	cmpb	$0, (%rdi)
	je	LBB0_38
## %bb.1:
	movq	8(%r15), %rbx
	xorl	%eax, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_38
## %bb.2:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%eax, %r13d
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_elf_begin
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r14
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_gelf_getehdr
	cmpq	%r14, %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.34:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_DPRINTFX
LBB0_35:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_elf_end
	jmp	LBB0_36
LBB0_3:
	movq	(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTF
	jmp	LBB0_37
LBB0_5:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_DPRINTFX
LBB0_36:
	movl	%r13d, %edi
	callq	_close
LBB0_37:
	movl	$-1, %eax
LBB0_38:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_40
## %bb.39:
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_elf_nextscn
	testq	%rax, %rax
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_29
## %bb.8:
	movq	%rax, %r13
	leaq	-120(%rbp), %rbx
	movq	_SHT_PROGBITS@GOTPCREL(%rip), %r14
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_elf_nextscn
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_29
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_gelf_getshdr
	cmpq	%rbx, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-120(%rbp), %rax
	cmpq	(%r14), %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %r12
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-104(%rbp), %rsi
	callq	_elf_getshdrstrndx
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-104(%rbp), %rsi
	movl	-112(%rbp), %edx
	movq	%rbx, %rdi
	callq	_elf_strptr
	testq	%rax, %rax
	movq	%r12, %rbx
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.18:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	%rax, %r13
	movl	(%rax), %esi
	cmpl	$4, %esi
	ja	LBB0_22
## %bb.21:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINTFX
	jmp	LBB0_29
LBB0_10:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_11
LBB0_15:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.4(%rip), %rdi
LBB0_11:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_DPRINTFX
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_35
LBB0_19:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_11
LBB0_22:
	movq	8(%r13), %rdi
	callq	_strnlen
	movslq	%eax, %rcx
	movslq	(%r13), %rax
	leaq	-4(%rax), %rdx
	cmpq	%rcx, %rdx
	jbe	LBB0_23
## %bb.24:
	movq	8(%r13), %r13
	leaq	(%rax,%r13), %rsi
	addq	$-4, %rsi
	leaq	-56(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r15), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strlcpy
	movq	%rbx, %rdi
	callq	_dirname
	movl	-56(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_open_debug_file
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_25
LBB0_31:
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_elf_begin
	testq	%rax, %rax
	je	LBB0_32
## %bb.33:
	movq	%rax, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_elf_end
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, 8(%rdi)
	movl	%r13d, (%rdi)
	jmp	LBB0_30
LBB0_23:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINTFX
LBB0_29:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, 8(%rdi)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rdi)
LBB0_30:
	callq	_load_symtabs
	xorl	%eax, %eax
	jmp	LBB0_38
LBB0_25:
	leaq	L_.str.9(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_strlcat
	cltq
	cmpq	%rbx, %rax
	jae	LBB0_27
## %bb.26:
	movl	-56(%rbp), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_open_debug_file
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_31
LBB0_27:
	movq	_PATH_DEBUG_DIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_snprintf
	movq	(%r15), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_strlcat
	cltq
	cmpq	%rbx, %rax
	jae	LBB0_29
## %bb.28:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_dirname
	movl	-56(%rbp), %edx
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_open_debug_file
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_31
	jmp	LBB0_29
LBB0_32:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_DPRINTFX
	movl	%r13d, %edi
	callq	_close
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_35
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: open %s failed"

	.comm	_ELF_C_READ,4,2                 ## @ELF_C_READ
L_.str.1:                               ## @.str.1
	.asciz	"ERROR: elf_begin() failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"ERROR: elf_getehdr() failed: %s"

L_.str.3:                               ## @.str.3
	.asciz	"ERROR: gelf_getshdr failed: %s"

	.comm	_SHT_PROGBITS,8,3               ## @SHT_PROGBITS
L_.str.4:                               ## @.str.4
	.asciz	"ERROR: elf_getshdrstrndx failed: %s"

L_.str.5:                               ## @.str.5
	.asciz	".gnu_debuglink"

L_.str.6:                               ## @.str.6
	.asciz	"ERROR: elf_getdata failed: %s"

L_.str.7:                               ## @.str.7
	.asciz	"ERROR: debuglink section is too small (%zd bytes)"

L_.str.8:                               ## @.str.8
	.asciz	"ERROR: no null-terminator in gnu_debuglink section"

L_.str.9:                               ## @.str.9
	.asciz	"/.debug"

	.comm	_PATH_DEBUG_DIR,8,3             ## @PATH_DEBUG_DIR
L_.str.10:                              ## @.str.10
	.asciz	"ERROR: elf_begin failed: %s"

	.no_dead_strip	_open_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_object
_open_object:                           ; @open_object
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cbz	w8, LBB0_12
; %bb.1:
	ldr	x21, [x24, #8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_13
LBB0_3:
Lloh8:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_open
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	x19, x0
Lloh14:
	adrp	x27, _ELF_C_READ@GOTPAGE
Lloh15:
	ldr	x27, [x27, _ELF_C_READ@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x2, #0
	bl	_elf_begin
	cbz	x0, LBB0_10
; %bb.5:
	mov	x20, x0
	add	x25, x21, #16
	mov	x1, x25
	bl	_gelf_getehdr
	cmp	x0, x25
	b.eq	LBB0_15
; %bb.6:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	bl	_DPRINTFX
	add	sp, sp, #16
LBB0_8:
	mov	x0, x20
	bl	_elf_end
	b	LBB0_11
LBB0_9:
	ldr	x1, [x24]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTF
	b	LBB0_12
LBB0_10:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINTFX
	add	sp, sp, #16
LBB0_11:
	mov	x0, x19
	bl	_close
LBB0_12:
	mov	w0, #-1
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.14:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x20
	mov	x1, #0
	bl	_elf_nextscn
	cbz	x0, LBB0_34
; %bb.16:
	mov	x25, x0
	sub	x28, x29, #104
Lloh25:
	adrp	x26, _SHT_PROGBITS@GOTPAGE
Lloh26:
	ldr	x26, [x26, _SHT_PROGBITS@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_elf_nextscn
	mov	x25, x0
	cbz	x0, LBB0_34
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sub	x1, x29, #104
	mov	x0, x25
	bl	_gelf_getshdr
	cmp	x0, x28
	b.ne	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	x8, [x29, #-104]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	x1, x29, #112
	mov	x0, x20
	bl	_elf_getshdrstrndx
	cbnz	x0, LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	x1, [x29, #-112]
	ldur	w2, [x29, #-96]
	mov	x0, x20
	bl	_elf_strptr
	cbz	x0, LBB0_17
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_17
; %bb.23:
	mov	x0, x25
	mov	x1, #0
	bl	_elf_getdata
	cbz	x0, LBB0_28
; %bb.24:
	mov	x25, x0
	ldr	w1, [x0]
	cmp	w1, #4
	b.hi	LBB0_29
; %bb.25:
	str	x1, [sp, #-16]!
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DPRINTFX
	add	sp, sp, #16
	b	LBB0_34
LBB0_26:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_27:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh33:
	adrp	x0, l_.str.4@PAGE
Lloh34:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_28:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_7
LBB0_29:
	ldr	x0, [x25, #8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_strnlen
	ldrsw	x8, [x25]
	sub	x9, x8, #4
	cmp	x9, w0, sxtw
	b.ls	LBB0_33
; %bb.30:
	ldr	x25, [x25, #8]
	add	x8, x25, x8
	sub	x1, x8, #4
	sub	x0, x29, #116
	mov	w2, #4
	bl	_memcpy
	ldr	x1, [x24]
	mov	x0, x22
	mov	x2, x23
	bl	_strlcpy
	mov	x0, x22
	bl	_dirname
	ldur	w2, [x29, #-116]
	mov	x0, x22
	mov	x1, x25
	bl	_open_debug_file
	mov	x26, x0
	tbnz	w0, #31, LBB0_36
LBB0_31:
	ldr	w1, [x27]
	mov	x0, x26
	mov	x2, #0
	bl	_elf_begin
	cbz	x0, LBB0_40
; %bb.32:
	mov	x22, x0
	mov	x0, x20
	bl	_elf_end
	mov	x0, x19
	bl	_close
	str	x22, [x21, #8]
	str	w26, [x21]
	b	LBB0_35
LBB0_33:
Lloh37:
	adrp	x0, l_.str.8@PAGE
Lloh38:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DPRINTFX
LBB0_34:
	str	x20, [x21, #8]
	str	w19, [x21]
LBB0_35:
	mov	x0, x21
	bl	_load_symtabs
	mov	w0, #0
	b	LBB0_13
LBB0_36:
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_strlcat
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x23
	b.hs	LBB0_38
; %bb.37:
	ldur	w2, [x29, #-116]
	mov	x0, x22
	mov	x1, x25
	bl	_open_debug_file
	mov	x26, x0
	tbz	w0, #31, LBB0_31
LBB0_38:
Lloh41:
	adrp	x8, _PATH_DEBUG_DIR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PATH_DEBUG_DIR@GOTPAGEOFF]
Lloh43:
	ldr	x2, [x8]
	mov	x0, x22
	mov	x1, x23
	bl	_snprintf
	ldr	x1, [x24]
	mov	x0, x22
	mov	x2, x23
	bl	_strlcat
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x23
	b.hs	LBB0_34
; %bb.39:
	mov	x0, x22
	bl	_dirname
	ldur	w2, [x29, #-116]
	mov	x0, x22
	mov	x1, x25
	bl	_open_debug_file
	mov	x26, x0
	tbz	w0, #31, LBB0_31
	b	LBB0_34
LBB0_40:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh44:
	adrp	x0, l_.str.10@PAGE
Lloh45:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DPRINTFX
	add	sp, sp, #16
	mov	x0, x26
	bl	_close
	b	LBB0_8
LBB0_41:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: open %s failed"

	.comm	_ELF_C_READ,4,2                 ; @ELF_C_READ
l_.str.1:                               ; @.str.1
	.asciz	"ERROR: elf_begin() failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"ERROR: elf_getehdr() failed: %s"

l_.str.3:                               ; @.str.3
	.asciz	"ERROR: gelf_getshdr failed: %s"

	.comm	_SHT_PROGBITS,8,3               ; @SHT_PROGBITS
l_.str.4:                               ; @.str.4
	.asciz	"ERROR: elf_getshdrstrndx failed: %s"

l_.str.5:                               ; @.str.5
	.asciz	".gnu_debuglink"

l_.str.6:                               ; @.str.6
	.asciz	"ERROR: elf_getdata failed: %s"

l_.str.7:                               ; @.str.7
	.asciz	"ERROR: debuglink section is too small (%zd bytes)"

l_.str.8:                               ; @.str.8
	.asciz	"ERROR: no null-terminator in gnu_debuglink section"

l_.str.9:                               ; @.str.9
	.asciz	"/.debug"

	.comm	_PATH_DEBUG_DIR,8,3             ; @PATH_DEBUG_DIR
l_.str.10:                              ; @.str.10
	.asciz	"ERROR: elf_begin failed: %s"

	.no_dead_strip	_open_object
.subsections_via_symbols
