	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pthread_init                   ## -- Begin function pthread_init
	.p2align	4, 0x90
_pthread_init:                          ## @pthread_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_pte_processInitialized@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_PTE_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_2:
	movq	_PTE_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_pte_osInit
	movq	_pte_selfThreadKey@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_key_create
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_pte_cleanupKey@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_key_create
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_pthread_terminate
LBB0_5:
	movq	_pte_thread_reuse_lock@GOTPCREL(%rip), %rdi
	callq	_pte_osMutexCreate
	movq	_pte_mutex_test_init_lock@GOTPCREL(%rip), %rdi
	callq	_pte_osMutexCreate
	movq	_pte_cond_list_lock@GOTPCREL(%rip), %rdi
	callq	_pte_osMutexCreate
	movq	_pte_cond_test_init_lock@GOTPCREL(%rip), %rdi
	callq	_pte_osMutexCreate
	movq	_pte_rwlock_test_init_lock@GOTPCREL(%rip), %rdi
	callq	_pte_osMutexCreate
	movq	_pte_spinlock_test_init_lock@GOTPCREL(%rip), %rdi
	callq	_pte_osMutexCreate
LBB0_6:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_processInitialized,4,2     ## @pte_processInitialized
	.comm	_PTE_TRUE,4,2                   ## @PTE_TRUE
	.comm	_pte_selfThreadKey,4,2          ## @pte_selfThreadKey
	.comm	_pte_cleanupKey,4,2             ## @pte_cleanupKey
	.comm	_pte_thread_reuse_lock,4,2      ## @pte_thread_reuse_lock
	.comm	_pte_mutex_test_init_lock,4,2   ## @pte_mutex_test_init_lock
	.comm	_pte_cond_list_lock,4,2         ## @pte_cond_list_lock
	.comm	_pte_cond_test_init_lock,4,2    ## @pte_cond_test_init_lock
	.comm	_pte_rwlock_test_init_lock,4,2  ## @pte_rwlock_test_init_lock
	.comm	_pte_spinlock_test_init_lock,4,2 ## @pte_spinlock_test_init_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pthread_init                   ; -- Begin function pthread_init
	.p2align	2
_pthread_init:                          ; @pthread_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x9, _pte_processInitialized@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pte_processInitialized@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh2:
	adrp	x8, _PTE_TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PTE_TRUE@GOTPAGEOFF]
	cbnz	w10, LBB0_5
; %bb.1:
	ldr	w8, [x8]
	str	w8, [x9]
	bl	_pte_osInit
Lloh4:
	adrp	x0, _pte_selfThreadKey@GOTPAGE
Lloh5:
	ldr	x0, [x0, _pte_selfThreadKey@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_key_create
	cbnz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, _pte_cleanupKey@GOTPAGE
Lloh7:
	ldr	x0, [x0, _pte_cleanupKey@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_key_create
	cbz	x0, LBB0_4
LBB0_3:
	bl	_pthread_terminate
LBB0_4:
Lloh8:
	adrp	x0, _pte_thread_reuse_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _pte_thread_reuse_lock@GOTPAGEOFF]
	bl	_pte_osMutexCreate
Lloh10:
	adrp	x0, _pte_mutex_test_init_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _pte_mutex_test_init_lock@GOTPAGEOFF]
	bl	_pte_osMutexCreate
Lloh12:
	adrp	x0, _pte_cond_list_lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _pte_cond_list_lock@GOTPAGEOFF]
	bl	_pte_osMutexCreate
Lloh14:
	adrp	x0, _pte_cond_test_init_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _pte_cond_test_init_lock@GOTPAGEOFF]
	bl	_pte_osMutexCreate
Lloh16:
	adrp	x0, _pte_rwlock_test_init_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _pte_rwlock_test_init_lock@GOTPAGEOFF]
	bl	_pte_osMutexCreate
Lloh18:
	adrp	x0, _pte_spinlock_test_init_lock@GOTPAGE
Lloh19:
	ldr	x0, [x0, _pte_spinlock_test_init_lock@GOTPAGEOFF]
	bl	_pte_osMutexCreate
Lloh20:
	adrp	x8, _pte_processInitialized@GOTPAGE
Lloh21:
	ldr	x8, [x8, _pte_processInitialized@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_processInitialized,4,2     ; @pte_processInitialized
	.comm	_PTE_TRUE,4,2                   ; @PTE_TRUE
	.comm	_pte_selfThreadKey,4,2          ; @pte_selfThreadKey
	.comm	_pte_cleanupKey,4,2             ; @pte_cleanupKey
	.comm	_pte_thread_reuse_lock,4,2      ; @pte_thread_reuse_lock
	.comm	_pte_mutex_test_init_lock,4,2   ; @pte_mutex_test_init_lock
	.comm	_pte_cond_list_lock,4,2         ; @pte_cond_list_lock
	.comm	_pte_cond_test_init_lock,4,2    ; @pte_cond_test_init_lock
	.comm	_pte_rwlock_test_init_lock,4,2  ; @pte_rwlock_test_init_lock
	.comm	_pte_spinlock_test_init_lock,4,2 ; @pte_spinlock_test_init_lock
.subsections_via_symbols
