	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_add_dt_needed_tag
_elf_add_dt_needed_tag:                 ## @elf_add_dt_needed_tag
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	__bfd_elf_link_create_dynstrtab
	movl	$-1, %r12d
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_elf_hash_table
	movq	%rax, %r13
	movl	(%rax), %edi
	callq	__bfd_elf_strtab_size
	movq	%rax, %r15
	movl	(%r13), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	__bfd_elf_strtab_add
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$-1, %rax
	je	LBB0_16
## %bb.2:
	movl	(%r13), %edi
	callq	__bfd_elf_strtab_size
	cmpq	%rax, %r15
	jne	LBB0_10
## %bb.3:
	movl	4(%r13), %edi
	callq	_get_elf_backend_data
	movq	%rax, %r15
	movl	4(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r14
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.5:
	movq	8(%r14), %r12
	movq	(%r15), %rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rcx
	movslq	8(%rcx), %rax
	leaq	(%r12,%rax,4), %r12
	movslq	(%r14), %rax
	shlq	$2, %rax
	addq	8(%r14), %rax
	cmpq	%rax, %r12
	jae	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13), %edi
	movq	%r12, %rsi
	leaq	-72(%rbp), %rdx
	callq	*(%rcx)
	movq	-72(%rbp), %rax
	movq	_DT_NEEDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -64(%rbp)
	jne	LBB0_9
## %bb.8:
	movl	(%r13), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	__bfd_elf_strtab_delref
	movl	$1, %r12d
	jmp	LBB0_16
LBB0_10:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
## %bb.11:
	movl	4(%r13), %edi
	movq	%rbx, %rsi
	callq	__bfd_elf_link_create_dynamic_sections
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	_DT_NEEDED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	__bfd_elf_add_dynamic_entry
	testl	%eax, %eax
	movl	$-1, %r12d
	jne	LBB0_15
	jmp	LBB0_16
LBB0_14:
	movl	(%r13), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	__bfd_elf_strtab_delref
LBB0_15:
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_12:
	movl	$-1, %r12d
LBB0_16:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".dynamic"

	.comm	_DT_NEEDED,8,3                  ## @DT_NEEDED
	.no_dead_strip	_elf_add_dt_needed_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_add_dt_needed_tag
_elf_add_dt_needed_tag:                 ; @elf_add_dt_needed_tag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	bl	__bfd_elf_link_create_dynstrtab
	cbz	w0, LBB0_11
; %bb.1:
	mov	x0, x19
	bl	_elf_hash_table
	mov	x22, x0
	ldr	w0, [x0]
	bl	__bfd_elf_strtab_size
	mov	x23, x0
	ldr	w0, [x22]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x21
	bl	__bfd_elf_strtab_add
	cmn	x0, #1
	b.eq	LBB0_11
; %bb.2:
	mov	x21, x0
	ldr	w0, [x22]
	bl	__bfd_elf_strtab_size
	cmp	x23, x0
	b.ne	LBB0_8
; %bb.3:
	ldr	w0, [x22, #4]
	bl	_get_elf_backend_data
	mov	x23, x0
	ldr	w0, [x22, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_8
; %bb.4:
	mov	x24, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x25, [x24, #8]
	ldr	x8, [x23]
Lloh5:
	adrp	x26, _DT_NEEDED@GOTPAGE
Lloh6:
	ldr	x26, [x26, _DT_NEEDED@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	ldr	w0, [x22, #4]
	mov	x2, sp
	mov	x1, x25
	blr	x8
	ldr	x8, [x26]
	ldp	x9, x10, [sp]
	cmp	x9, x8
	ccmp	x10, x21, #0, eq
	b.eq	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
	ldrsw	x9, [x8, #8]
	add	x25, x25, x9, lsl #2
	ldr	x9, [x24, #8]
	ldrsw	x10, [x24]
	add	x9, x9, x10, lsl #2
	cmp	x25, x9
	b.lo	LBB0_6
LBB0_8:
	cbz	x20, LBB0_12
; %bb.9:
	ldr	w0, [x22, #4]
	mov	x1, x19
	bl	__bfd_elf_link_create_dynamic_sections
	cbz	w0, LBB0_11
; %bb.10:
Lloh7:
	adrp	x8, _DT_NEEDED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DT_NEEDED@GOTPAGEOFF]
Lloh9:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	__bfd_elf_add_dynamic_entry
	cbnz	w0, LBB0_13
LBB0_11:
	mov	w0, #-1
	b	LBB0_14
LBB0_12:
	ldr	w0, [x22]
	mov	x1, x21
	bl	__bfd_elf_strtab_delref
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_15:
	ldr	w0, [x22]
	mov	x1, x21
	bl	__bfd_elf_strtab_delref
	mov	w0, #1
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".dynamic"

	.comm	_DT_NEEDED,8,3                  ; @DT_NEEDED
	.no_dead_strip	_elf_add_dt_needed_tag
.subsections_via_symbols
