	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zk_thread_create               ## -- Begin function zk_thread_create
	.p2align	4, 0x90
_zk_thread_create:                      ## @zk_thread_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rsi, %rcx
	movq	%rdi, %rdx
	movq	_THR_DETACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-8(%rbp), %r9
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_thr_create
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_VERIFY
	movq	-8(%rbp), %rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THR_DETACHED,4,2               ## @THR_DETACHED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zk_thread_create               ; -- Begin function zk_thread_create
	.p2align	2
_zk_thread_create:                      ; @zk_thread_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x3, x1
	mov	x2, x0
Lloh0:
	adrp	x8, _THR_DETACHED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THR_DETACHED@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	add	x5, sp, #8
	mov	w0, #0
	mov	w1, #0
	bl	_thr_create
	cmp	x0, #0
	cset	w0, eq
	bl	_VERIFY
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_THR_DETACHED,4,2               ; @THR_DETACHED
.subsections_via_symbols
