	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_threadReusePop             ## -- Begin function pte_threadReusePop
	.p2align	4, 0x90
_pte_threadReusePop:                    ## @pte_threadReusePop
	.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	_pte_thread_reuse_lock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_pte_osMutexLock
	movq	_PTE_THREAD_REUSE_EMPTY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_pte_threadReuseTop@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmpq	%rbx, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rdx
	movq	%rdx, (%rcx)
	cmpq	%rdx, %rax
	jne	LBB0_4
## %bb.3:
	movq	_pte_threadReuseBottom@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_4:
	movq	$0, (%rbx)
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movl	(%r14), %edi
	callq	_pte_osMutexUnlock
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_thread_reuse_lock,4,2      ## @pte_thread_reuse_lock
	.comm	_PTE_THREAD_REUSE_EMPTY,8,3     ## @PTE_THREAD_REUSE_EMPTY
	.comm	_pte_threadReuseTop,8,3         ## @pte_threadReuseTop
	.comm	_pte_threadReuseBottom,8,3      ## @pte_threadReuseBottom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_threadReusePop             ; -- Begin function pte_threadReusePop
	.p2align	2
_pte_threadReusePop:                    ; @pte_threadReusePop
	.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
Lloh0:
	adrp	x20, _pte_thread_reuse_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pte_thread_reuse_lock@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_pte_osMutexLock
Lloh2:
	adrp	x8, _PTE_THREAD_REUSE_EMPTY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PTE_THREAD_REUSE_EMPTY@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _pte_threadReuseTop@GOTPAGE
Lloh6:
	ldr	x9, [x9, _pte_threadReuseTop@GOTPAGEOFF]
	ldr	x19, [x9]
	cmp	x8, x19
	b.eq	LBB0_4
; %bb.1:
	ldr	x10, [x19]
	str	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_3
; %bb.2:
Lloh7:
	adrp	x9, _pte_threadReuseBottom@GOTPAGE
Lloh8:
	ldr	x9, [x9, _pte_threadReuseBottom@GOTPAGEOFF]
Lloh9:
	str	x8, [x9]
LBB0_3:
	str	xzr, [x19]
	b	LBB0_5
LBB0_4:
	mov	x19, #0
LBB0_5:
	ldr	w0, [x20]
	bl	_pte_osMutexUnlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_thread_reuse_lock,4,2      ; @pte_thread_reuse_lock
	.comm	_PTE_THREAD_REUSE_EMPTY,8,3     ; @PTE_THREAD_REUSE_EMPTY
	.comm	_pte_threadReuseTop,8,3         ; @pte_threadReuseTop
	.comm	_pte_threadReuseBottom,8,3      ; @pte_threadReuseBottom
.subsections_via_symbols
