	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_rtld_init                 ## -- Begin function _thr_rtld_init
	.p2align	4, 0x90
__thr_rtld_init:                        ## @_thr_rtld_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	%r14
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	movq	$-1, -32(%rbp)
	xorl	%r12d, %r12d
	movl	%r12d, %eax
	callq	__get_curthread
	movq	%rax, %r14
	movq	_UMTX_OP_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rbx
	movl	$1, %edx
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	movl	%r12d, %r8d
	callq	__umtx_op_err
	movl	%r12d, %eax
	callq	___error
	movl	$8, %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movl	%r12d, %ebx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r12d, %edx
	callq	_mprotect
	movl	%r12d, %eax
	callq	__rtld_get_stack_prot
	movq	__thr_rtld_lock_create@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	__thr_rtld_lock_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	__thr_rtld_rlock_acquire@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	__thr_rtld_wlock_acquire@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	__thr_rtld_lock_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	__thr_rtld_set_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	__thr_rtld_clr_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -72(%rbp)
	movq	%rbx, %rdi
	callq	__rtld_atfork_pre
	movq	%rbx, %rdi
	callq	__rtld_atfork_post
	movl	%r12d, %eax
	callq	__malloc_prefork
	movl	%r12d, %eax
	callq	__malloc_postfork
	movl	%r12d, %eax
	callq	_getpid
	movq	_SYS_getpid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_syscall
	movq	%r14, %rdi
	callq	__thr_signal_block
	leaq	-72(%rbp), %rdi
	callq	__rtld_thread_init
	movq	%r14, %rdi
	callq	__thr_signal_unblock
	movl	%r12d, %eax
	callq	___getcontextx_size
	movl	%eax, %edi
	callq	_alloca
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_getcontext
	movq	%rbx, %rdi
	callq	___fillcontextx2
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UMTX_OP_WAKE,4,2               ## @UMTX_OP_WAKE
	.comm	__thr_rtld_lock_create,4,2      ## @_thr_rtld_lock_create
	.comm	__thr_rtld_lock_destroy,4,2     ## @_thr_rtld_lock_destroy
	.comm	__thr_rtld_rlock_acquire,4,2    ## @_thr_rtld_rlock_acquire
	.comm	__thr_rtld_wlock_acquire,4,2    ## @_thr_rtld_wlock_acquire
	.comm	__thr_rtld_lock_release,4,2     ## @_thr_rtld_lock_release
	.comm	__thr_rtld_set_flag,4,2         ## @_thr_rtld_set_flag
	.comm	__thr_rtld_clr_flag,4,2         ## @_thr_rtld_clr_flag
	.comm	_SYS_getpid,4,2                 ## @SYS_getpid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_rtld_init                 ; -- Begin function _thr_rtld_init
	.p2align	2
__thr_rtld_init:                        ; @_thr_rtld_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x8, #-1
	str	x8, [sp]
	bl	__get_curthread
	mov	x19, x0
Lloh0:
	adrp	x8, _UMTX_OP_WAKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMTX_OP_WAKE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w20, #0
	mov	x21, sp
	mov	w2, #1
	mov	x0, x21
	mov	w3, #0
	mov	w4, #0
	bl	__umtx_op_err
	bl	___error
	mov	w2, #8
	mov	x0, x21
	mov	x1, x21
	bl	_memcpy
	mov	x21, #0
	mov	x0, #0
	mov	x1, x20
	mov	x2, x20
	bl	_mprotect
	bl	__rtld_get_stack_prot
Lloh3:
	adrp	x8, __thr_rtld_lock_create@GOTPAGE
Lloh4:
	ldr	x8, [x8, __thr_rtld_lock_create@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, __thr_rtld_lock_destroy@GOTPAGE
Lloh7:
	ldr	x9, [x9, __thr_rtld_lock_destroy@GOTPAGEOFF]
	str	w8, [sp, #40]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, __thr_rtld_rlock_acquire@GOTPAGE
Lloh10:
	ldr	x9, [x9, __thr_rtld_rlock_acquire@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
Lloh12:
	adrp	x8, __thr_rtld_wlock_acquire@GOTPAGE
Lloh13:
	ldr	x8, [x8, __thr_rtld_wlock_acquire@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, __thr_rtld_lock_release@GOTPAGE
Lloh16:
	ldr	x9, [x9, __thr_rtld_lock_release@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
Lloh18:
	adrp	x8, __thr_rtld_set_flag@GOTPAGE
Lloh19:
	ldr	x8, [x8, __thr_rtld_set_flag@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, __thr_rtld_clr_flag@GOTPAGE
Lloh22:
	ldr	x9, [x9, __thr_rtld_clr_flag@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
	str	x21, [sp, #8]
	mov	x0, x21
	bl	__rtld_atfork_pre
	mov	x0, x21
	bl	__rtld_atfork_post
	bl	__malloc_prefork
	bl	__malloc_postfork
	bl	_getpid
Lloh24:
	adrp	x8, _SYS_getpid@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SYS_getpid@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_syscall
	mov	x0, x19
	bl	__thr_signal_block
	add	x0, sp, #8
	bl	__rtld_thread_init
	mov	x0, x19
	bl	__thr_signal_unblock
	bl	___getcontextx_size
	bl	_alloca
	mov	x19, x0
	bl	_getcontext
	mov	x0, x19
	bl	___fillcontextx2
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UMTX_OP_WAKE,4,2               ; @UMTX_OP_WAKE
	.comm	__thr_rtld_lock_create,4,2      ; @_thr_rtld_lock_create
	.comm	__thr_rtld_lock_destroy,4,2     ; @_thr_rtld_lock_destroy
	.comm	__thr_rtld_rlock_acquire,4,2    ; @_thr_rtld_rlock_acquire
	.comm	__thr_rtld_wlock_acquire,4,2    ; @_thr_rtld_wlock_acquire
	.comm	__thr_rtld_lock_release,4,2     ; @_thr_rtld_lock_release
	.comm	__thr_rtld_set_flag,4,2         ; @_thr_rtld_set_flag
	.comm	__thr_rtld_clr_flag,4,2         ; @_thr_rtld_clr_flag
	.comm	_SYS_getpid,4,2                 ; @SYS_getpid
.subsections_via_symbols
