	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__Tthr_kill                     ## -- Begin function _Tthr_kill
	.p2align	4, 0x90
__Tthr_kill:                            ## @_Tthr_kill
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	movl	%esi, %r15d
	movq	__SIG_MAXSIG@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	__get_curthread
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	__thr_find_thread
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	__thr_send_sig
LBB0_9:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_THR_THREAD_UNLOCK
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	__thr_send_sig
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	__SIG_MAXSIG,4,2                ## @_SIG_MAXSIG
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__Tthr_kill                     ; -- Begin function _Tthr_kill
	.p2align	2
__Tthr_kill:                            ; @_Tthr_kill
	.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
	tbnz	w1, #31, LBB0_7
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, __SIG_MAXSIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, __SIG_MAXSIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_7
; %bb.2:
	mov	x19, x0
	bl	__get_curthread
	cmp	x0, x19
	b.eq	LBB0_8
; %bb.3:
	mov	x21, x0
	mov	x1, x19
	mov	w2, #0
	bl	__thr_find_thread
	cbnz	w0, LBB0_11
; %bb.4:
	cbz	w20, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	__thr_send_sig
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_THR_THREAD_UNLOCK
	b	LBB0_10
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_8:
	cbz	w20, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	__thr_send_sig
LBB0_10:
	mov	w0, #0
LBB0_11:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__SIG_MAXSIG,4,2                ; @_SIG_MAXSIG
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
