	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendProcSignal                 ## -- Begin function SendProcSignal
	.p2align	4, 0x90
_SendProcSignal:                        ## @SendProcSignal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_InvalidBackendId@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_1
## %bb.4:
	movq	_NumProcSignalSlots@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ProcSignalSlots@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rcx, %rdx
	shlq	$4, %rdx
	addq	%r8, %rdx
	addq	$-16, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%rcx
	movq	(%rdx), %rax
	addq	$-16, %rdx
	cmpq	%rdi, %rax
	jne	LBB0_5
## %bb.7:
	movl	%ecx, %eax
	shlq	$4, %rax
	movq	8(%r8,%rax), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ProcSignalSlots@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	decq	%rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdx
	cmpq	%rdi, %rdx
	jne	LBB0_8
## %bb.2:
	movq	8(%rax,%rcx), %rax
LBB0_3:
	movl	$1, (%rax,%rsi,4)
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_kill                           ## TAILCALL
LBB0_8:
	movq	_ESRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBackendId,4,2           ## @InvalidBackendId
	.comm	_ProcSignalSlots,8,3            ## @ProcSignalSlots
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_NumProcSignalSlots,4,2         ## @NumProcSignalSlots
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendProcSignal                 ; -- Begin function SendProcSignal
	.p2align	2
_SendProcSignal:                        ; @SendProcSignal
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
Lloh0:
	adrp	x8, _InvalidBackendId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBackendId@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _NumProcSignalSlots@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NumProcSignalSlots@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ProcSignalSlots@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ProcSignalSlots@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x10, x9, x8, lsl #4
	sub	x10, x10, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x8, x8, #1
	ldr	x11, [x10], #-16
	cmp	x11, x0
	b.ne	LBB0_2
; %bb.4:
	add	x8, x9, w8, uxtw #4
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _ProcSignalSlots@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ProcSignalSlots@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	sxtw	x9, w2
	sub	x9, x9, #1
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
	cmp	x10, x0
	b.ne	LBB0_8
; %bb.6:
	add	x8, x8, x9, lsl #4
LBB0_7:
	ldr	x8, [x8, #8]
	mov	w9, #1
	str	w9, [x8, x1, lsl #2]
Lloh12:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	b	_kill
LBB0_8:
Lloh15:
	adrp	x8, _ESRCH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _errno@GOTPAGE
Lloh19:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBackendId,4,2           ; @InvalidBackendId
	.comm	_ProcSignalSlots,8,3            ; @ProcSignalSlots
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_NumProcSignalSlots,4,2         ; @NumProcSignalSlots
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
