	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thrd_create                    ## -- Begin function thrd_create
	.p2align	4, 0x90
_thrd_create:                           ## @thrd_create
	.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	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, 8(%rax)
	movq	%r14, (%rax)
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	movq	_thrd_success@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_thrd_nomem@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	%rax, %rdi
	callq	_free
	movq	_thrd_error@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_thrd_nomem,4,2                 ## @thrd_nomem
	.comm	_thrd_error,4,2                 ## @thrd_error
	.comm	_thrd_success,4,2               ## @thrd_success
	.comm	__thrd_wrapper_function,4,2     ## @_thrd_wrapper_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thrd_create                    ; -- Begin function thrd_create
	.p2align	2
_thrd_create:                           ; @thrd_create
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.1:
	str	w21, [x0, #8]
	str	x19, [x0]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _thrd_success@GOTPAGE
Lloh1:
	ldr	x8, [x8, _thrd_success@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _thrd_nomem@GOTPAGE
Lloh3:
	ldr	x8, [x8, _thrd_nomem@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	bl	_free
Lloh4:
	adrp	x8, _thrd_error@GOTPAGE
Lloh5:
	ldr	x8, [x8, _thrd_error@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_thrd_nomem,4,2                 ; @thrd_nomem
	.comm	_thrd_error,4,2                 ; @thrd_error
	.comm	_thrd_success,4,2               ; @thrd_success
	.comm	__thrd_wrapper_function,4,2     ; @_thrd_wrapper_function
.subsections_via_symbols
