	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_finish_pointer_linker_section
_elf_finish_pointer_linker_section:     ## @elf_finish_pointer_linker_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_BFD_ASSERT
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_BFD_ASSERT
	jmp	LBB0_3
LBB0_2:
	movl	4(%r15), %edi
	callq	_ELF32_R_SYM
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_elf_local_ptr_offsets
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	%r13, %rdi
	callq	_elf_local_ptr_offsets
	leaq	(%rax,%rbx,8), %rbx
LBB0_3:
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	movq	%r12, %rdx
	callq	_elf_find_pointer_linker_section
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movl	(%rbx), %eax
	testb	$1, %al
	jne	LBB0_5
## %bb.4:
	movslq	%eax, %rdx
	movq	8(%r12), %rax
	movl	16(%rax), %edi
	addl	4(%rbx), %r14d
	addq	8(%rax), %rdx
	movl	%r14d, %esi
	callq	_bfd_put_32
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
LBB0_5:
	movq	8(%r12), %rcx
	addl	(%rcx), %eax
	subl	4(%rbx), %eax
	addl	$-32769, %eax                   ## imm = 0xFFFF7FFF
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_elf_finish_pointer_linker_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_finish_pointer_linker_section
_elf_finish_pointer_linker_section:     ; @elf_finish_pointer_linker_section
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	cbz	x23, LBB0_2
; %bb.1:
	ldr	w0, [x23, #8]
	bl	_BFD_ASSERT
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21, #4]
	bl	_ELF32_R_SYM
	mov	x23, x0
	mov	x0, x22
	bl	_elf_local_ptr_offsets
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	mov	x0, x22
	bl	_elf_local_ptr_offsets
	add	x23, x0, x23, lsl #3
LBB0_3:
	ldr	x0, [x23]
	ldr	w1, [x21]
	mov	x2, x19
	bl	_elf_find_pointer_linker_section
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	w8, [x21]
	tbnz	w8, #0, LBB0_5
; %bb.4:
	sxtw	x8, w8
	ldr	x9, [x19, #8]
	ldr	w0, [x9, #16]
	ldr	w10, [x21, #4]
	add	w1, w10, w20
	ldr	x9, [x9, #8]
	add	x2, x9, x8
	bl	_bfd_put_32
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_5:
	ldr	x9, [x19, #8]
	ldr	w9, [x9]
	ldr	w10, [x21, #4]
	add	w8, w9, w8
	sub	w8, w8, w10
	mov	w9, #-32769
	add	w0, w8, w9
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_elf_finish_pointer_linker_section
.subsections_via_symbols
