	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coff_write_relocs
_coff_write_relocs:                     ## @coff_write_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.1:
	movq	%rdi, %r12
	movslq	%esi, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	leaq	-80(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	je	LBB0_23
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
	movq	16(%rbx), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %esi
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_21
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %r15
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	16(%r15), %r13
	movq	(%r13), %rcx
	cmpq	%r12, 24(%rcx)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r12), %rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rdx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%rcx), %rbx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %r13
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=3
	movq	8(%r13), %rax
	addq	$8, %r13
	testq	%rax, %rax
	jne	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%r15), %r13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	4(%rbx), %eax
	addl	(%r15), %eax
	movl	%eax, -80(%rbp)
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r13, 16(%r15)
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	addl	(%r15), %eax
	movl	%eax, -80(%rbp)
	testq	%r13, %r13
	je	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %rdi
	movq	8(%rdi), %rax
	movq	_bfd_abs_section_ptr@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_BSF_SECTION_SYM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rdi)
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	$-1, -76(%rbp)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=2
	callq	_get_index
	movl	%eax, %ebx
	movl	%eax, -76(%rbp)
	movq	%r12, %rdi
	callq	_obj_conv_table_size
	cmpl	%eax, %ebx
	jg	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	%r12, %rdi
	leaq	-80(%rbp), %r13
	movq	%r13, %rsi
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_coff_swap_reloc_out
	movq	%r12, %rdi
	callq	_bfd_coff_relsz
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_bfd_bwrite
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_bfd_coff_relsz
	cmpq	%rax, %rbx
	jne	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	cmpq	%rax, %r14
	jb	LBB0_6
	jmp	LBB0_22
LBB0_23:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_20:
	movq	_bfd_error_bad_value@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	-76(%rbp), %edx
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	__bfd_error_handler
LBB0_21:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_bfd_abs_section_ptr,8,3        ## @bfd_abs_section_ptr
	.comm	_BSF_SECTION_SYM,4,2            ## @BSF_SECTION_SYM
	.comm	_bfd_error_bad_value,4,2        ## @bfd_error_bad_value
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%B: reloc against a non-existant symbol index: %ld"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_R_IHCONST,8,3                  ## @R_IHCONST
	.comm	_compare_arelent_ptr,4,2        ## @compare_arelent_ptr
	.no_dead_strip	_coff_write_relocs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coff_write_relocs
_coff_write_relocs:                     ; @coff_write_relocs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x22, [x0, #8]
	cbz	x22, LBB0_21
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	adrp	x24, _bfd_abs_section_ptr@GOTPAGE
Lloh3:
	ldr	x24, [x24, _bfd_abs_section_ptr@GOTPAGEOFF]
	sxtw	x25, w1
Lloh4:
	adrp	x26, _BSF_SECTION_SYM@GOTPAGE
Lloh5:
	ldr	x26, [x26, _BSF_SECTION_SYM@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x22, #24]
Lloh6:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
	cbz	x22, LBB0_21
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x28, [x22, #16]
	ldr	w1, [x22, #8]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bfd_seek
	cbnz	x0, LBB0_23
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x23, [x28, x21, lsl #3]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x27, [x23, #16]
	ldr	x9, [x27]
	ldr	x8, [x9, #24]
	cmp	x8, x19
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x10, [x19]
	ldr	x8, [x10, x25, lsl #3]
	cbz	x8, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x20, [x9]
	add	x27, x10, x25, lsl #3
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x8]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	x8, [x27, #8]!
	cbnz	x8, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x27, [x23, #16]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x23]
	ldr	w9, [x22, #4]
	add	w8, w9, w8
	str	w8, [sp]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=2
	str	x27, [x23, #16]
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x23]
	ldr	w9, [x22, #4]
	add	w8, w9, w8
	str	w8, [sp]
	cbz	x27, LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x0, [x27]
	ldr	x8, [x0, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x0, #16]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	w8, #-1
	str	w8, [sp, #4]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=2
	bl	_get_index
	mov	x20, x0
	str	w0, [sp, #4]
	mov	x0, x19
	bl	_obj_conv_table_size
	cmp	w20, w0
	b.gt	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	str	x8, [sp, #16]
	mov	x1, sp
	add	x2, sp, #24
	mov	x0, x19
	bl	_coff_swap_reloc_out
	mov	x0, x19
	bl	_bfd_coff_relsz
	mov	x1, x0
	add	x0, sp, #24
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_bfd_bwrite
	mov	x20, x0
	mov	x0, x19
	bl	_bfd_coff_relsz
	cmp	x20, x0
	b.ne	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=2
	add	x21, x21, #1
	ldr	w8, [x22]
	cmp	x21, x8
	b.lo	LBB0_6
	b	LBB0_2
LBB0_21:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
Lloh10:
	adrp	x8, _bfd_error_bad_value@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bfd_error_bad_value@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_bfd_set_error
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w2, [sp, #4]
	mov	x1, x19
	bl	__bfd_error_handler
LBB0_23:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_bfd_abs_section_ptr,8,3        ; @bfd_abs_section_ptr
	.comm	_BSF_SECTION_SYM,4,2            ; @BSF_SECTION_SYM
	.comm	_bfd_error_bad_value,4,2        ; @bfd_error_bad_value
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%B: reloc against a non-existant symbol index: %ld"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_R_IHCONST,8,3                  ; @R_IHCONST
	.comm	_compare_arelent_ptr,4,2        ; @compare_arelent_ptr
	.no_dead_strip	_coff_write_relocs
.subsections_via_symbols
