	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_keycreate
_res_keycreate:                         ## @res_keycreate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_free_res@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_res_key@GOTPCREL(%rip), %rdi
	callq	_thr_keycreate
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movq	_res_thr_keycreated@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_res_key,4,2                    ## @res_key
	.comm	_free_res,4,2                   ## @free_res
	.comm	_res_thr_keycreated,4,2         ## @res_thr_keycreated
	.no_dead_strip	_res_keycreate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function res_keycreate
_res_keycreate:                         ; @res_keycreate
	.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	x8, _free_res@GOTPAGE
Lloh1:
	ldr	x8, [x8, _free_res@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, _res_key@GOTPAGE
Lloh4:
	ldr	x0, [x0, _res_key@GOTPAGEOFF]
	bl	_thr_keycreate
	cmp	x0, #0
	cset	w8, eq
Lloh5:
	adrp	x9, _res_thr_keycreated@GOTPAGE
Lloh6:
	ldr	x9, [x9, _res_thr_keycreated@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_res_key,4,2                    ; @res_key
	.comm	_free_res,4,2                   ; @free_res
	.comm	_res_thr_keycreated,4,2         ; @res_thr_keycreated
	.no_dead_strip	_res_keycreate
.subsections_via_symbols
