	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_signal                    ## -- Begin function send_signal
	.p2align	4, 0x90
_send_signal:                           ## @send_signal
	.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
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, 16(%rdi)
	jne	LBB0_6
## %bb.2:
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	8(%r14), %r12
	movq	%r12, %rdi
	callq	_lock
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_signal_action
	movq	_SIGNAL_IGNORE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_deliver_signal_unlocked
LBB0_4:
	movq	%r12, %rdi
	callq	_unlock
	movq	_SIGCONT_@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.5:
	movq	_SIGKILL_@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_lock
	movq	(%r14), %rdi
	movl	$0, (%rdi)
	addq	$8, %rdi
	callq	_notify
	movq	(%r14), %rdi
	addq	$4, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unlock                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGNAL_IGNORE,8,3              ## @SIGNAL_IGNORE
	.comm	_SIGCONT_,4,2                   ## @SIGCONT_
	.comm	_SIGKILL_,4,2                   ## @SIGKILL_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_signal                    ; -- Begin function send_signal
	.p2align	2
_send_signal:                           ; @send_signal
	.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
	cbz	w1, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_6
; %bb.2:
	mov	x21, x2
	mov	x20, x1
	ldr	x22, [x19, #8]
	mov	x0, x22
	bl	_lock
	mov	x0, x22
	mov	x1, x20
	bl	_signal_action
Lloh0:
	adrp	x8, _SIGNAL_IGNORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGNAL_IGNORE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	and	x2, x21, #0xffffffff
	mov	x0, x19
	mov	x1, x20
	bl	_deliver_signal_unlocked
LBB0_4:
	mov	x0, x22
	bl	_unlock
Lloh3:
	adrp	x8, _SIGCONT_@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGCONT_@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SIGKILL_@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SIGKILL_@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_lock
	ldr	x0, [x19]
	str	wzr, [x0], #8
	bl	_notify
	ldr	x8, [x19]
	add	x0, x8, #4
	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
	b	_unlock
LBB0_6:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGNAL_IGNORE,8,3              ; @SIGNAL_IGNORE
	.comm	_SIGCONT_,4,2                   ; @SIGCONT_
	.comm	_SIGKILL_,4,2                   ; @SIGKILL_
.subsections_via_symbols
