	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_add_dynamic_entry     ## -- Begin function _bfd_elf_add_dynamic_entry
	.p2align	4, 0x90
__bfd_elf_add_dynamic_entry:            ## @_bfd_elf_add_dynamic_entry
	.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	%rdx, %r14
	movq	%rsi, %rbx
	callq	_elf_hash_table
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_is_elf_hash_table
	movq	_FALSE@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	callq	_get_elf_backend_data
	movq	%rax, %r14
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movl	(%rax), %r14d
	addl	(%rbx), %r14d
	movq	8(%rbx), %rdi
	movl	%r14d, %esi
	callq	_bfd_realloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -72(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%r12), %edi
	movslq	(%rbx), %rcx
	leaq	(%r15,%rcx,4), %rdx
	leaq	-80(%rbp), %rsi
	callq	*8(%rax)
	movl	%r14d, (%rbx)
	movq	%r15, 8(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r13
LBB0_3:
	movl	(%r13), %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	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_add_dynamic_entry     ; -- Begin function _bfd_elf_add_dynamic_entry
	.p2align	2
__bfd_elf_add_dynamic_entry:            ; @_bfd_elf_add_dynamic_entry
	.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	x19, x2
	mov	x20, x1
	bl	_elf_hash_table
	mov	x21, x0
	bl	_is_elf_hash_table
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x21]
	bl	_get_elf_backend_data
	mov	x23, x0
	ldr	w0, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bfd_get_section_by_name
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	w8, [x22]
	ldr	x9, [x23]
	ldr	w9, [x9]
	add	w24, w9, w8
	ldr	x0, [x22, #8]
	mov	x1, x24
	bl	_bfd_realloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x25, x0
	stp	x19, x20, [sp]
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x21]
	ldrsw	x9, [x22]
	add	x2, x25, x9, lsl #2
	mov	x1, sp
	blr	x8
	str	w24, [x22]
	str	x25, [x22, #8]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".dynamic"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
