	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tncs_init                      ## -- Begin function tncs_init
	.p2align	4, 0x90
_tncs_init:                             ## @tncs_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	_tncs_global_data@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rcx
	movl	12(%rcx), %edx
	movl	%edx, 16(%rax)
	movslq	8(%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 8(%rcx)
	movq	%rdx, 8(%rax)
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tncs_global_data,8,3           ## @tncs_global_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tncs_init                      ; -- Begin function tncs_init
	.p2align	2
_tncs_init:                             ; @tncs_init
	.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	x19, _tncs_global_data@GOTPAGE
Lloh1:
	ldr	x19, [x19, _tncs_global_data@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w0, #24
	bl	_os_zalloc
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x19]
	ldp	w10, w9, [x8, #8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	str	w9, [x0, #16]
	add	w9, w10, #1
	str	w9, [x8, #8]
	ldr	x8, [x8]
	stp	x8, x10, [x0]
	ldr	x8, [x19]
	str	x0, [x8]
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tncs_global_data,8,3           ; @tncs_global_data
.subsections_via_symbols
