	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_set_error                   ## -- Begin function uu_set_error
	.p2align	4, 0x90
_uu_set_error:                          ## @uu_set_error
	.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	%rdi, %r14
	movq	_uu_error_key_setup@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	testl	%eax, %eax
	jle	LBB0_5
LBB0_6:
	movq	_uu_error_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_setspecific            ## TAILCALL
LBB0_1:
	movq	_uu_key_lock@GOTPCREL(%rip), %rdi
	callq	_pthread_mutex_lock
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	_uu_error_key@GOTPCREL(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_pthread_key_create
	negq	%rax
	sbbl	%r15d, %r15d
	orl	$1, %r15d
	movl	%r15d, (%rbx)
LBB0_3:
	movq	_uu_key_lock@GOTPCREL(%rip), %rdi
	callq	_pthread_mutex_unlock
	movl	(%rbx), %eax
	testl	%eax, %eax
	jg	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uu_error_key_setup,4,2         ## @uu_error_key_setup
	.comm	_uu_key_lock,4,2                ## @uu_key_lock
	.comm	_uu_error_key,4,2               ## @uu_error_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_set_error                   ; -- Begin function uu_set_error
	.p2align	2
_uu_set_error:                          ; @uu_set_error
	.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, _uu_error_key_setup@GOTPAGE
Lloh1:
	ldr	x20, [x20, _uu_error_key_setup@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_6
LBB0_2:
Lloh2:
	adrp	x8, _uu_error_key@GOTPAGE
Lloh3:
	ldr	x8, [x8, _uu_error_key@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pthread_setspecific
LBB0_3:
Lloh5:
	adrp	x0, _uu_key_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _uu_key_lock@GOTPAGEOFF]
	bl	_pthread_mutex_lock
	ldr	w8, [x20]
	cbnz	w8, LBB0_5
; %bb.4:
Lloh7:
	adrp	x0, _uu_error_key@GOTPAGE
Lloh8:
	ldr	x0, [x0, _uu_error_key@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_key_create
	cmp	x0, #0
	mov	w8, #1
	cneg	w8, w8, ne
	str	w8, [x20]
LBB0_5:
Lloh9:
	adrp	x0, _uu_key_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _uu_key_lock@GOTPAGEOFF]
	bl	_pthread_mutex_unlock
	ldr	w8, [x20]
	cmp	w8, #1
	b.ge	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_uu_error_key_setup,4,2         ; @uu_error_key_setup
	.comm	_uu_key_lock,4,2                ; @uu_key_lock
	.comm	_uu_error_key,4,2               ; @uu_error_key
.subsections_via_symbols
