	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_relocs
_get_relocs:                            ## @get_relocs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	16(%rdx), %rax
	movq	%rsi, (%rax)
	movq	_SEC_RELOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_bfd_get_reloc_upper_bound
	movq	%rax, %r12
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_bfd_get_filename
	movl	%eax, %edi
	callq	_bfd_fatal
LBB0_4:
	movq	%r12, %rdi
	callq	_xmalloc
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%rbx), %rax
	movq	(%rax), %rdx
	movl	24(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bfd_canonicalize_reloc
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_bfd_get_filename
	movl	%eax, %edi
	callq	_bfd_fatal
	movq	(%rbx), %rcx
	jmp	LBB0_6
LBB0_1:
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	movq	(%rbx), %rcx
	movq	$0, (%rcx)
LBB0_6:
	addq	$8, 16(%rbx)
	addq	$8, 8(%rbx)
	addq	$8, %rcx
	movq	%rcx, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_RELOC,4,2                  ## @SEC_RELOC
	.no_dead_strip	_get_relocs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_relocs
_get_relocs:                            ; @get_relocs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	ldr	x8, [x2, #16]
	str	x1, [x8]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _SEC_RELOC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEC_RELOC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	bl	_bfd_get_reloc_upper_bound
	mov	x22, x0
	tbz	x0, #63, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_bfd_get_filename
	bl	_bfd_fatal
LBB0_3:
	mov	x0, x22
	bl	_xmalloc
	ldr	x8, [x19, #8]
	str	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
	ldr	w3, [x19, #24]
	mov	x0, x20
	mov	x1, x21
	bl	_bfd_canonicalize_reloc
	ldr	x8, [x19]
	str	x0, [x8]
	tbz	x0, #63, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_bfd_get_filename
	bl	_bfd_fatal
	ldr	x8, [x19]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	ldr	x8, [x19]
	str	xzr, [x8]
LBB0_6:
	ldp	x10, x9, [x19, #8]
	add	x11, x9, #8
	add	x9, x10, #8
	add	x8, x8, #8
	stp	x9, x11, [x19, #8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_RELOC,4,2                  ; @SEC_RELOC
	.no_dead_strip	_get_relocs
.subsections_via_symbols
