	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _renewemptythread
__renewemptythread:                     ## @_renewemptythread
	.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	%rcx, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	addq	$16, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	addq	$-8, %rbx
LBB0_5:
	movq	%rsi, (%rbx)
	cmpl	$2, %edx
	jl	LBB0_7
## %bb.6:
	leaq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
LBB0_7:
	movq	8(%rbx), %rax
	movq	%r14, (%rax)
	movq	$0, 16(%rbx)
	addq	$16, %rbx
	jmp	LBB0_8
LBB0_9:
	movq	(%rbx), %rax
	cmpq	%r14, (%rax)
	jbe	LBB0_13
## %bb.10:
	cmpl	$2, %edx
	jl	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%rbx), %rax
LBB0_12:
	movq	%r14, (%rax)
LBB0_13:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__renewemptythread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _renewemptythread
__renewemptythread:                     ; @_renewemptythread
	.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
	mov	x19, x3
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	add	x20, x20, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x1
	b.eq	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
	add	x20, x20, #16
	cbnz	x8, LBB0_2
; %bb.4:
	sub	x20, x20, #8
LBB0_5:
	str	x1, [x20]
	cmp	w2, #2
	b.lt	LBB0_7
; %bb.6:
	add	x0, x20, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
LBB0_7:
	str	xzr, [x20, #16]!
	ldur	x8, [x20, #-8]
LBB0_8:
	str	x19, [x8]
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x8, [x20]
	ldr	x9, [x8]
	cmp	x9, x19
	b.ls	LBB0_14
; %bb.11:
	cmp	w2, #2
	b.lt	LBB0_13
; %bb.12:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x20]
LBB0_13:
	mov	x20, #0
	b	LBB0_8
LBB0_14:
	mov	x20, #0
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__renewemptythread
.subsections_via_symbols
