	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cxa_thread_call_dtors        ## -- Begin function __cxa_thread_call_dtors
	.p2align	4, 0x90
___cxa_thread_call_dtors:               ## @__cxa_thread_call_dtors
	.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	_CXA_DTORS_ITERATIONS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_dtors@GOTPCREL(%rip), %r14
	movq	_walk_cb_call@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_LIST_EMPTY
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edi
	callq	_cxa_thread_walk
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_dtors@GOTPCREL(%rip), %rdi
	callq	_LIST_EMPTY
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	__pthread_self
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_fprintf
	movq	_walk_cb_nocall@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cxa_thread_walk                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CXA_DTORS_ITERATIONS,4,2       ## @CXA_DTORS_ITERATIONS
	.comm	_dtors,4,2                      ## @dtors
	.comm	_walk_cb_call,4,2               ## @walk_cb_call
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Thread %p is exiting with more thread-specific dtors created after %d iterations of destructor calls\n"

	.comm	_walk_cb_nocall,4,2             ## @walk_cb_nocall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cxa_thread_call_dtors        ; -- Begin function __cxa_thread_call_dtors
	.p2align	2
___cxa_thread_call_dtors:               ; @__cxa_thread_call_dtors
	.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
Lloh0:
	adrp	x21, _CXA_DTORS_ITERATIONS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CXA_DTORS_ITERATIONS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w19, #0
Lloh2:
	adrp	x20, _dtors@GOTPAGE
Lloh3:
	ldr	x20, [x20, _dtors@GOTPAGEOFF]
Lloh4:
	adrp	x22, _walk_cb_call@GOTPAGE
Lloh5:
	ldr	x22, [x22, _walk_cb_call@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_LIST_EMPTY
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	bl	_cxa_thread_walk
	add	w19, w19, #1
	ldr	w8, [x21]
	cmp	w19, w8
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
Lloh6:
	adrp	x0, _dtors@GOTPAGE
Lloh7:
	ldr	x0, [x0, _dtors@GOTPAGEOFF]
	bl	_LIST_EMPTY
	cbz	w0, LBB0_7
; %bb.6:
	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
LBB0_7:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	bl	__pthread_self
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_fprintf
Lloh13:
	adrp	x8, _walk_cb_nocall@GOTPAGE
Lloh14:
	ldr	x8, [x8, _walk_cb_nocall@GOTPAGEOFF]
Lloh15:
	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
	b	_cxa_thread_walk
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CXA_DTORS_ITERATIONS,4,2       ; @CXA_DTORS_ITERATIONS
	.comm	_dtors,4,2                      ; @dtors
	.comm	_walk_cb_call,4,2               ; @walk_cb_call
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Thread %p is exiting with more thread-specific dtors created after %d iterations of destructor calls\n"

	.comm	_walk_cb_nocall,4,2             ; @walk_cb_nocall
.subsections_via_symbols
