	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regset_tls_active              ## -- Begin function regset_tls_active
	.p2align	4, 0x90
_regset_tls_active:                     ## @regset_tls_active
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GDT_ENTRY_TLS_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %r14d
	sarl	$31, %r14d
	andl	%r12d, %r14d
	leaq	-4(,%r12,4), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_desc_empty
	decl	%r12d
	addq	$-4, %rbx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	incl	%r12d
	movl	%r12d, %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDT_ENTRY_TLS_ENTRIES,4,2      ## @GDT_ENTRY_TLS_ENTRIES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regset_tls_active              ; -- Begin function regset_tls_active
	.p2align	2
_regset_tls_active:                     ; @regset_tls_active
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GDT_ENTRY_TLS_ENTRIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GDT_ENTRY_TLS_ENTRIES@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	cmp	w21, #0
	csel	w19, w21, wzr, lt
	lsl	x8, x21, #2
	sub	x22, x8, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	w21, w21, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	add	x0, x8, x22
	bl	_desc_empty
	sub	x22, x22, #4
	cbnz	x0, LBB0_1
; %bb.3:
	add	w19, w21, #1
LBB0_4:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_GDT_ENTRY_TLS_ENTRIES,4,2      ; @GDT_ENTRY_TLS_ENTRIES
.subsections_via_symbols
