	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_threadReusePush            ## -- Begin function pte_threadReusePush
	.p2align	4, 0x90
_pte_threadReusePush:                   ## @pte_threadReusePush
	.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
	movq	_pte_thread_reuse_lock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_pte_osMutexLock
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	incq	8(%rbx)
	movq	_PTE_THREAD_REUSE_EMPTY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	%rax, (%rbx)
	movq	_pte_threadReuseBottom@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, (%rdx)
	jne	LBB0_2
## %bb.1:
	movq	_pte_threadReuseTop@GOTPCREL(%rip), %rcx
LBB0_2:
	movq	%rbx, (%rcx)
	movq	%rbx, (%rax)
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pte_osMutexUnlock              ## TAILCALL
	.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_threadReuseBottom,8,3      ## @pte_threadReuseBottom
	.comm	_pte_threadReuseTop,8,3         ## @pte_threadReuseTop
	.comm	_PTE_THREAD_ID_REUSE_INCREMENT,8,3 ## @PTE_THREAD_ID_REUSE_INCREMENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_threadReusePush            ; -- Begin function pte_threadReusePush
	.p2align	2
_pte_threadReusePush:                   ; @pte_threadReusePush
	.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, x0
Lloh0:
	adrp	x20, _pte_thread_reuse_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pte_thread_reuse_lock@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_pte_osMutexLock
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x19, #8]
	add	x8, x8, #1
Lloh2:
	adrp	x9, _PTE_THREAD_REUSE_EMPTY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PTE_THREAD_REUSE_EMPTY@GOTPAGEOFF]
	ldr	x10, [x9]
	stp	x10, x8, [x19]
	ldr	x8, [x9]
Lloh4:
	adrp	x9, _pte_threadReuseBottom@GOTPAGE
Lloh5:
	ldr	x9, [x9, _pte_threadReuseBottom@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh6:
	adrp	x11, _pte_threadReuseTop@GOTPAGE
Lloh7:
	ldr	x11, [x11, _pte_threadReuseTop@GOTPAGEOFF]
	cmp	x8, x10
	csel	x8, x11, x10, eq
	str	x19, [x8]
	str	x19, [x9]
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pte_osMutexUnlock
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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_threadReuseBottom,8,3      ; @pte_threadReuseBottom
	.comm	_pte_threadReuseTop,8,3         ; @pte_threadReuseTop
	.comm	_PTE_THREAD_ID_REUSE_INCREMENT,8,3 ; @PTE_THREAD_ID_REUSE_INCREMENT
.subsections_via_symbols
