	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_tls_setup             ## -- Begin function _bfd_elf_tls_setup
	.p2align	4, 0x90
__bfd_elf_tls_setup:                    ## @_bfd_elf_tls_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	_SEC_THREAD_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, (%rbx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_4:
	movq	%rsi, %rdi
	callq	_elf_hash_table
	movq	$0, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_5:
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%rcx), %edx
	cmpl	%r14d, %edx
	cmoval	%edx, %r14d
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
LBB0_8:
	movq	%rsi, %rdi
	callq	_elf_hash_table
	movq	%rbx, (%rax)
	movl	%r14d, 4(%rbx)
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_THREAD_LOCAL,4,2           ## @SEC_THREAD_LOCAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_tls_setup             ; -- Begin function _bfd_elf_tls_setup
	.p2align	2
__bfd_elf_tls_setup:                    ; @_bfd_elf_tls_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	cbz	x19, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _SEC_THREAD_LOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEC_THREAD_LOCAL@GOTPAGEOFF]
	ldr	w9, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19]
	tst	w9, w10
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_2
LBB0_4:
	mov	x0, x1
	bl	_elf_hash_table
	mov	x19, #0
	str	xzr, [x0]
	b	LBB0_9
LBB0_5:
	mov	w20, #0
	ldr	w8, [x8]
	mov	x9, x19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	tst	w8, w10
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x9, #4]
	cmp	w10, w20
	csel	w20, w10, w20, hi
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_6
LBB0_8:
	mov	x0, x1
	bl	_elf_hash_table
	str	x19, [x0]
	str	w20, [x19, #4]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_THREAD_LOCAL,4,2           ; @SEC_THREAD_LOCAL
.subsections_via_symbols
