	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_link_flush_output_syms
_elf_link_flush_output_syms:            ## @elf_link_flush_output_syms
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TRUE@GOTPCREL(%rip), %r13
	cmpl	$0, (%rdi)
	jle	LBB0_4
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_elf_tdata
	movq	%rax, %r14
	movq	(%rax), %rsi
	addq	8(%rax), %rsi
	movslq	(%rbx), %r12
	movq	(%r15), %rax
	movslq	(%rax), %r15
	movl	4(%rbx), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bfd_seek
	movq	_FALSE@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	imulq	%r12, %r15
	movl	4(%rbx), %edx
	movl	8(%rbx), %edi
	movl	%r15d, %esi
	callq	_bfd_bwrite
	cmpl	%r15d, %eax
	jne	LBB0_4
## %bb.3:
	addq	%r15, (%r14)
	movl	$0, (%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r13
LBB0_4:
	movl	(%r13), %eax
	addq	$8, %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	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_elf_link_flush_output_syms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_link_flush_output_syms
_elf_link_flush_output_syms:            ; @elf_link_flush_output_syms
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_elf_tdata
	mov	x20, x0
	ldp	x9, x8, [x0]
	add	x1, x9, x8
	ldr	x8, [x21]
	ldrsw	x21, [x8]
	ldp	w22, w0, [x19]
                                        ; kill: def $w22 killed $w22 def $x22
	sxtw	x22, w22
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_bfd_seek
	cbnz	x0, LBB0_5
; %bb.2:
	mul	x21, x21, x22
	ldp	w2, w0, [x19, #4]
	mov	x1, x21
	bl	_bfd_bwrite
	cmp	w0, w21
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x20]
	add	x8, x8, x21
	str	x8, [x20]
	str	wzr, [x19]
LBB0_4:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_elf_link_flush_output_syms
.subsections_via_symbols
