	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_ecoff_set_section_contents ## -- Begin function _bfd_ecoff_set_section_contents
	.p2align	4, 0x90
__bfd_ecoff_set_section_contents:       ## @_bfd_ecoff_set_section_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
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	cmpl	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_ecoff_compute_section_file_positions
	testl	%eax, %eax
	je	LBB0_13
LBB0_2:
	movl	12(%rbx), %edi
	movq	__LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movslq	%r15d, %rax
	leaq	(%r14,%rax,4), %r12
	movq	%r14, %r15
	cmpq	%r14, %r12
	jbe	LBB0_6
## %bb.4:
	movq	%r14, %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	8(%rbx)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_bfd_get_32
	shll	$2, %eax
	cltq
	leaq	(%r15,%rax,4), %r15
	cmpq	%r12, %r15
	jb	LBB0_5
LBB0_6:
	xorl	%edi, %edi
	cmpq	%r12, %r15
	sete	%dil
	callq	_BFD_ASSERT
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_7:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.8:
	addq	(%rbx), %r12
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	callq	_bfd_bwrite
	cmpl	%r15d, %eax
	jne	LBB0_13
LBB0_11:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	__LIB,4,2                       ## @_LIB
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_ecoff_set_section_contents ; -- Begin function _bfd_ecoff_set_section_contents
	.p2align	2
__bfd_ecoff_set_section_contents:       ; @_bfd_ecoff_set_section_contents
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ecoff_compute_section_file_positions
	cbz	w0, LBB0_11
LBB0_2:
	ldr	w0, [x23, #12]
Lloh0:
	adrp	x8, __LIB@GOTPAGE
Lloh1:
	ldr	x8, [x8, __LIB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_streq
	cbz	x0, LBB0_7
; %bb.3:
	add	x25, x21, w19, sxtw #2
	mov	x24, x21
	cmp	x25, x21
	b.ls	LBB0_6
; %bb.4:
	mov	x24, x21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23, #8]
	add	w8, w8, #1
	str	w8, [x23, #8]
	mov	x0, x20
	mov	x1, x24
	bl	_bfd_get_32
	lsl	w8, w0, #2
	add	x24, x24, w8, sxtw #2
	cmp	x24, x25
	b.lo	LBB0_5
LBB0_6:
	cmp	x24, x25
	cset	w0, eq
	bl	_BFD_ASSERT
LBB0_7:
Lloh3:
	adrp	x24, _TRUE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	cbz	w19, LBB0_10
; %bb.8:
	ldr	x8, [x23]
	add	x1, x8, x22
Lloh5:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_bfd_seek
Lloh8:
	adrp	x22, _FALSE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	cbnz	x0, LBB0_12
; %bb.9:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_bfd_bwrite
	cmp	w0, w19
	csel	x22, x24, x22, eq
	b	LBB0_12
LBB0_10:
	mov	x22, x24
	b	LBB0_12
LBB0_11:
Lloh10:
	adrp	x22, _FALSE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	__LIB,4,2                       ; @_LIB
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
