	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecoff_compute_reloc_file_positions
_ecoff_compute_reloc_file_positions:    ## @ecoff_compute_reloc_file_positions
	.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	%rdi, %r14
	callq	_ecoff_backend
	movl	(%rax), %r15d
	cmpq	$0, 16(%r14)
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_ecoff_compute_section_file_positions
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
LBB0_3:
	movq	%r14, %rdi
	callq	_ecoff_data
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %edx
	movl	%edx, %esi
	imull	%r15d, %esi
	testl	%edx, %edx
	cmovnel	%eax, %edx
	addl	%esi, %ebx
	addl	%esi, %eax
	movl	%edx, 4(%rcx)
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_4:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_ecoff_data
	movl	(%rax), %r15d
	addl	%ebx, %r15d
	movl	(%r14), %eax
	movq	_EXEC_P@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.8:
	movq	_D_PAGED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_ecoff_backend
	movl	4(%rax), %eax
	leal	(%r15,%rax), %r12d
	decl	%r12d
	movq	%r14, %rdi
	callq	_ecoff_backend
	xorl	%r15d, %r15d
	subl	4(%rax), %r15d
	andl	%r12d, %r15d
LBB0_10:
	movq	%r14, %rdi
	callq	_ecoff_data
	movl	%r15d, 4(%rax)
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_EXEC_P,4,2                     ## @EXEC_P
	.comm	_D_PAGED,4,2                    ## @D_PAGED
	.no_dead_strip	_ecoff_compute_reloc_file_positions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecoff_compute_reloc_file_positions
_ecoff_compute_reloc_file_positions:    ; @ecoff_compute_reloc_file_positions
	.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, x0
	bl	_ecoff_backend
	ldr	w21, [x0]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ecoff_compute_section_file_positions
	cbz	w0, LBB0_11
; %bb.2:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_3:
	mov	x0, x19
	bl	_ecoff_data
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.4:
	mov	w20, #0
	ldr	w9, [x0]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	mul	w11, w10, w21
	cmp	w10, #0
	csel	w10, wzr, w9, eq
	add	w20, w20, w11
	add	w9, w9, w11
	str	w10, [x8, #4]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_5
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	bl	_ecoff_data
	ldr	w8, [x0]
	add	w21, w8, w20
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _EXEC_P@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXEC_P@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
Lloh6:
	adrp	x9, _D_PAGED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _D_PAGED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ecoff_backend
	ldr	w8, [x0, #4]
	add	w8, w21, w8
	sub	w21, w8, #1
	mov	x0, x19
	bl	_ecoff_backend
	ldr	w8, [x0, #4]
	neg	w8, w8
	and	w21, w21, w8
LBB0_10:
	mov	x0, x19
	bl	_ecoff_data
	str	w21, [x0, #4]
	mov	x0, x20
	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
LBB0_11:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_EXEC_P,4,2                     ; @EXEC_P
	.comm	_D_PAGED,4,2                    ; @D_PAGED
	.no_dead_strip	_ecoff_compute_reloc_file_positions
.subsections_via_symbols
