	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gprel32_with_gp
_gprel32_with_gp:                       ## @gprel32_with_gp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rdi
	callq	_bfd_is_com_section
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_3
LBB0_2:
	movq	16(%r12), %r14
LBB0_3:
	movq	8(%r12), %rax
	movq	(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_bfd_get_section_limit
	cmpq	%rax, %rbx
	jle	LBB0_5
## %bb.4:
	movq	_bfd_reloc_outofrange@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_5:
	movq	%r15, %rbx
	movq	8(%r13), %r15
	movq	16(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfd_get_32
	addq	%rax, %r15
LBB0_7:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.8:
	movq	_BSF_SECTION_SYM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_10
LBB0_9:
	subq	16(%rbp), %r14
	addq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	addq	-80(%rbp), %r14                 ## 8-byte Folded Reload
	addq	%r14, %r15
LBB0_10:
	movq	16(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_bfd_put_32
	jmp	LBB0_13
LBB0_12:
	movq	%r15, 8(%r13)
LBB0_13:
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rax
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.14:
	movslq	(%rbx), %rcx
	addq	%rcx, (%r13)
LBB0_15:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_reloc_outofrange,4,2       ## @bfd_reloc_outofrange
	.comm	_BSF_SECTION_SYM,4,2            ## @BSF_SECTION_SYM
	.comm	_bfd_reloc_ok,4,2               ## @bfd_reloc_ok
	.no_dead_strip	_gprel32_with_gp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gprel32_with_gp
_gprel32_with_gp:                       ; @gprel32_with_gp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x6
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x25, x1
	mov	x23, x0
	ldr	x0, [x1, #8]
	bl	_bfd_is_com_section
	cbz	x0, LBB0_2
; %bb.1:
	mov	x27, #0
	b	LBB0_3
LBB0_2:
	ldr	x27, [x25, #16]
LBB0_3:
	ldr	x8, [x25, #8]
	ldp	x28, x9, [x8]
	ldr	x24, [x9]
	ldr	x26, [x19]
	mov	x0, x23
	mov	x1, x20
	bl	_bfd_get_section_limit
	cmp	x26, x0
	b.le	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _bfd_reloc_outofrange@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_reloc_outofrange@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
	ldp	x26, x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x1, x9, x8, lsl #2
	mov	x0, x23
	bl	_bfd_get_32
	add	x26, x0, x26
LBB0_7:
	cbz	x21, LBB0_9
; %bb.8:
	ldr	w8, [x25]
Lloh2:
	adrp	x9, _BSF_SECTION_SYM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BSF_SECTION_SYM@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_9:
	sub	x8, x27, x22
	add	x8, x8, x24
	add	x8, x8, x28
	add	x26, x8, x26
LBB0_10:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.11:
	ldr	x8, [x19]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x2, x9, x8, lsl #2
	mov	x0, x23
	mov	x1, x26
	bl	_bfd_put_32
	cbz	x21, LBB0_13
LBB0_12:
	ldrsw	x8, [x20]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
LBB0_13:
Lloh5:
	adrp	x8, _bfd_reloc_ok@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bfd_reloc_ok@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	str	x26, [x19, #8]
	cbnz	x21, LBB0_12
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_reloc_outofrange,4,2       ; @bfd_reloc_outofrange
	.comm	_BSF_SECTION_SYM,4,2            ; @BSF_SECTION_SYM
	.comm	_bfd_reloc_ok,4,2               ; @bfd_reloc_ok
	.no_dead_strip	_gprel32_with_gp
.subsections_via_symbols
