	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rpc_createerr                ## -- Begin function __rpc_createerr
	.p2align	4, 0x90
___rpc_createerr:                       ## @__rpc_createerr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_tsd_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_rce_key@GOTPCREL(%rip), %r15
	cmpl	$-1, (%r15)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_TlsAlloc
	movl	%eax, (%r15)
LBB0_2:
	movq	_tsd_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	(%r15), %edi
	callq	_thr_getspecific
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$4, %edi
	callq	_malloc
	movq	_rpc_createerr@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r14
	movl	(%r15), %edi
	movq	%rax, %rsi
	callq	_thr_setspecific
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r14, %rbx
	jmp	LBB0_7
LBB0_5:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_tsd_lock,4,2                   ## @tsd_lock
	.comm	_rce_key,4,2                    ## @rce_key
	.comm	_rpc_createerr,4,2              ## @rpc_createerr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rpc_createerr                ; -- Begin function __rpc_createerr
	.p2align	2
___rpc_createerr:                       ; @__rpc_createerr
	.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	x0, _tsd_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _tsd_lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x20, _rce_key@GOTPAGE
Lloh3:
	ldr	x20, [x20, _rce_key@GOTPAGEOFF]
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_2
; %bb.1:
	bl	_TlsAlloc
	str	w0, [x20]
LBB0_2:
Lloh4:
	adrp	x0, _tsd_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _tsd_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	ldr	w0, [x20]
	bl	_thr_getspecific
	mov	x19, x0
	cbnz	x0, LBB0_8
; %bb.3:
	mov	w0, #4
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x19, x0
	ldr	w0, [x20]
	mov	x1, x19
	bl	_thr_setspecific
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_free
LBB0_7:
Lloh6:
	adrp	x19, _rpc_createerr@GOTPAGE
Lloh7:
	ldr	x19, [x19, _rpc_createerr@GOTPAGEOFF]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tsd_lock,4,2                   ; @tsd_lock
	.comm	_rce_key,4,2                    ; @rce_key
	.comm	_rpc_createerr,4,2              ; @rpc_createerr
.subsections_via_symbols
