	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_write_object_contents ## -- Begin function _bfd_elf_write_object_contents
	.p2align	4, 0x90
__bfd_elf_write_object_contents:        ## @_bfd_elf_write_object_contents
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_get_elf_backend_data
	movq	%rax, %rbx
	cmpl	$0, (%r13)
	jne	LBB0_3
## %bb.1:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	__bfd_elf_compute_section_file_positions
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	callq	_elf_elfsections
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_elf_elfheader
	movq	_FALSE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)
	movq	(%rbx), %rax
	movl	8(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	callq	_bfd_map_over_sections
	cmpq	$0, -56(%rbp)
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	jmp	LBB0_19
LBB0_5:
	movq	%r13, %rdi
	callq	__bfd_elf_assign_file_positions_for_relocs
	movq	%r13, %rdi
	callq	_elf_numsections
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$2, %eax
	jb	LBB0_13
## %bb.6:
	movl	$1, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_SHN_LORESERVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SHN_HIRESERVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%eax, %ecx
	decl	%eax
	incl	%ecx
	cmpl	%eax, %r14d
	movl	$0, %eax
	cmovnel	%eax, %ecx
	leal	(%r14,%rcx), %eax
	incl	%eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%r12, %rbx
	jae	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	movq	16(%rbx), %rcx
	movl	%eax, %r14d
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15,%r14,8), %rsi
	movq	%r13, %rdi
	callq	*%rcx
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15,%r14,8), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rax), %rbx
	movl	16(%rax), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15,%r14,8), %rax
	movq	8(%rax), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_bfd_bwrite
	cmpq	%rbx, %rax
	je	LBB0_12
	jmp	LBB0_2
LBB0_13:
	movq	%r13, %rdi
	callq	_elf_shstrtab
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	%r13, %rdi
	callq	_elf_tdata
	movl	4(%rax), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_2
## %bb.15:
	movq	%r13, %rdi
	callq	_elf_shstrtab
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	__bfd_elf_strtab_emit
	testl	%eax, %eax
	je	LBB0_2
LBB0_16:
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_18
## %bb.17:
	movq	%r13, %rdi
	callq	_elf_tdata
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*%r14
LBB0_18:
	movq	(%rbx), %rax
	movq	%r13, %rdi
	callq	*(%rax)
	jmp	LBB0_19
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_SHN_LORESERVE,4,2              ## @SHN_LORESERVE
	.comm	_SHN_HIRESERVE,4,2              ## @SHN_HIRESERVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_write_object_contents ; -- Begin function _bfd_elf_write_object_contents
	.p2align	2
__bfd_elf_write_object_contents:        ; @_bfd_elf_write_object_contents
	.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	x19, x0
	bl	_get_elf_backend_data
	mov	x20, x0
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	bl	__bfd_elf_compute_section_file_positions
	cbz	w0, LBB0_19
LBB0_2:
	mov	x0, x19
	bl	_elf_elfsections
	mov	x21, x0
	mov	x0, x19
	bl	_elf_elfheader
Lloh0:
	adrp	x24, _FALSE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [sp, #8]
	ldr	x8, [x20]
	ldr	w1, [x8, #8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_bfd_map_over_sections
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
LBB0_3:
	ldr	x0, [x24]
LBB0_4:
	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_5:
	mov	x0, x19
	bl	__bfd_elf_assign_file_positions_for_relocs
	mov	x0, x19
	bl	_elf_numsections
	cmp	w0, #2
	b.lo	LBB0_13
; %bb.6:
	mov	x22, x0
	mov	w8, #1
Lloh2:
	adrp	x25, _SHN_LORESERVE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SHN_LORESERVE@GOTPAGEOFF]
Lloh4:
	adrp	x26, _SHN_HIRESERVE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _SHN_HIRESERVE@GOTPAGEOFF]
Lloh6:
	adrp	x27, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x27, [x27, _SEEK_SET@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	sub	w9, w8, #1
	ldr	w10, [x26]
	sub	w8, w10, w8
	cmp	w28, w9
	csinc	w8, wzr, w8, ne
	add	w8, w28, w8
	add	w8, w8, #1
	cmp	w8, w22
	b.hs	LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	mov	w28, w8
	cbz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x21, x28, lsl #3]
	mov	x0, x19
	blr	x9
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21, x28, lsl #3]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x23, [x8]
	ldr	w1, [x8, #16]
	ldr	w2, [x27]
	mov	x0, x19
	bl	_bfd_seek
	cbnz	x0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21, x28, lsl #3]
	ldr	x0, [x8, #8]
	mov	x1, x23
	mov	x2, x19
	bl	_bfd_bwrite
	cmp	x0, x23
	b.eq	LBB0_7
	b	LBB0_3
LBB0_13:
	mov	x0, x19
	bl	_elf_shstrtab
	cbz	x0, LBB0_16
; %bb.14:
	mov	x0, x19
	bl	_elf_tdata
	ldr	w1, [x0, #4]
Lloh8:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bfd_seek
	cbnz	x0, LBB0_3
; %bb.15:
	mov	x0, x19
	bl	_elf_shstrtab
	mov	x1, x0
	mov	x0, x19
	bl	__bfd_elf_strtab_emit
	cbz	w0, LBB0_3
LBB0_16:
	ldr	x21, [x20, #8]
	cbz	x21, LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_elf_tdata
	ldr	w1, [x0]
	mov	x0, x19
	blr	x21
LBB0_18:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	b	LBB0_4
LBB0_19:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_SHN_LORESERVE,4,2              ; @SHN_LORESERVE
	.comm	_SHN_HIRESERVE,4,2              ; @SHN_HIRESERVE
.subsections_via_symbols
