	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_threadStart                ## -- Begin function pte_threadStart
	.p2align	4, 0x90
_pte_threadStart:                       ## @pte_threadStart
	.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	16(%rdi), %rbx
	movq	(%rdi), %r15
	movq	8(%rdi), %r14
	movq	_pte_selfThreadKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_pthread_setspecific
	movq	_PThreadStateRunning@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	8(%rbx), %edi
	callq	_setjmp
	cmpl	$129, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	*%r15
	jmp	LBB0_6
LBB0_5:
	movq	_PTHREAD_CANCELED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, (%rbx)
	jmp	LBB0_7
LBB0_4:
	movq	(%rbx), %rax
LBB0_7:
	movq	%rax, %rbx
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_pte_thread_detach_and_exit_np
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_selfThreadKey,4,2          ## @pte_selfThreadKey
	.comm	_PThreadStateRunning,4,2        ## @PThreadStateRunning
	.comm	_PTHREAD_CANCELED,8,3           ## @PTHREAD_CANCELED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_threadStart                ; -- Begin function pte_threadStart
	.p2align	2
_pte_threadStart:                       ; @pte_threadStart
	.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
	ldp	x22, x19, [x0, #8]
	mov	x20, x19
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _pte_selfThreadKey@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_selfThreadKey@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_pthread_setspecific
Lloh3:
	adrp	x8, _PThreadStateRunning@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PThreadStateRunning@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	w0, [x19, #8]
	bl	_setjmp
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.2:
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x22
	blr	x21
	str	x0, [x20]
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _PTHREAD_CANCELED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PTHREAD_CANCELED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x8
	b	LBB0_6
LBB0_5:
	ldr	x0, [x20]
LBB0_6:
	mov	x19, x0
	bl	_pte_thread_detach_and_exit_np
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_selfThreadKey,4,2          ; @pte_selfThreadKey
	.comm	_PThreadStateRunning,4,2        ; @PThreadStateRunning
	.comm	_PTHREAD_CANCELED,8,3           ; @PTHREAD_CANCELED
.subsections_via_symbols
