	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_get_linked_section_vma
_elf_get_linked_section_vma:            ## @elf_get_linked_section_vma
	.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), %rbx
	movl	16(%rbx), %edi
	callq	_elf_elfsections
	movq	%rax, %r14
	movl	16(%rbx), %edi
	movq	%rbx, %rsi
	callq	__bfd_elf_section_from_bfd_section
	cltq
	movq	(%r14,%rax,8), %rax
	movslq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r14,%rax,8), %rax
	movq	8(%rax), %rcx
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	addq	(%rcx), %rax
	jmp	LBB0_5
LBB0_2:
	movl	16(%rbx), %edi
	callq	_get_elf_backend_data
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	16(%rbx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	*%r14
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%B: warning: sh_link not set for section `%A'"

	.no_dead_strip	_elf_get_linked_section_vma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_get_linked_section_vma
_elf_get_linked_section_vma:            ; @elf_get_linked_section_vma
	.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	x19, [x0]
	ldr	w0, [x19, #16]
	bl	_elf_elfsections
	mov	x20, x0
	ldr	w0, [x19, #16]
	mov	x1, x19
	bl	__bfd_elf_section_from_bfd_section
	ldr	x8, [x20, w0, sxtw #3]
	ldrsw	x8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x20, x8, lsl #3]
	ldr	x8, [x8, #8]
	ldp	x8, x9, [x8]
	ldr	x9, [x9]
	add	x0, x8, x9
	b	LBB0_5
LBB0_2:
	ldr	w0, [x19, #16]
	bl	_get_elf_backend_data
	ldr	x20, [x0]
	cbz	x20, LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w1, [x19, #16]
	mov	x2, x19
	blr	x20
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%B: warning: sh_link not set for section `%A'"

	.no_dead_strip	_elf_get_linked_section_vma
.subsections_via_symbols
