	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_target_signal_from_nto         ## -- Begin function target_signal_from_nto
	.p2align	4, 0x90
_target_signal_from_nto:                ## @target_signal_from_nto
	.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
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%edi, %r15d
	movq	_sig_map@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	cmpl	%r15d, (%rdi,%rbx,8)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jne	LBB0_4
LBB0_7:
	movq	_NTO_SIGRTMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_11
## %bb.8:
	movq	_NTO_SIGRTMAX@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jl	LBB0_11
## %bb.9:
	movq	_TARGET_SIGNAL_REALTIME_41@GOTPCREL(%rip), %rcx
	subl	%eax, %r15d
	addl	(%rcx), %r15d
	jmp	LBB0_10
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_11:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_target_signal_from_host        ## TAILCALL
LBB0_5:
	movl	%ebx, %eax
	movl	4(%rdi,%rax,8), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sig_map,8,3                    ## @sig_map
	.comm	_NTO_SIGRTMIN,4,2               ## @NTO_SIGRTMIN
	.comm	_NTO_SIGRTMAX,4,2               ## @NTO_SIGRTMAX
	.comm	_TARGET_SIGNAL_REALTIME_41,4,2  ## @TARGET_SIGNAL_REALTIME_41
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_target_signal_from_nto         ; -- Begin function target_signal_from_nto
	.p2align	2
_target_signal_from_nto:                ; @target_signal_from_nto
	.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	w0, LBB0_9
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _sig_map@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sig_map@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_5
; %bb.2:
	mov	x22, #0
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	w8, [x0, x22]
	cmp	w8, w19
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	add	x22, x22, #8
	cmp	x21, w0, uxtw
	b.ne	LBB0_3
LBB0_5:
Lloh2:
	adrp	x8, _NTO_SIGRTMIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NTO_SIGRTMIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _NTO_SIGRTMAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NTO_SIGRTMAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #8, le
	b.ge	LBB0_7
; %bb.6:
	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
	b	_target_signal_from_host
LBB0_7:
Lloh8:
	adrp	x9, _TARGET_SIGNAL_REALTIME_41@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TARGET_SIGNAL_REALTIME_41@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	sub	w8, w19, w8
	add	w0, w8, w9
	b	LBB0_9
LBB0_8:
	add	x8, x0, w21, uxtw #3
	ldr	w0, [x8, #4]
LBB0_9:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_sig_map,8,3                    ; @sig_map
	.comm	_NTO_SIGRTMIN,4,2               ; @NTO_SIGRTMIN
	.comm	_NTO_SIGRTMAX,4,2               ; @NTO_SIGRTMAX
	.comm	_TARGET_SIGNAL_REALTIME_41,4,2  ; @TARGET_SIGNAL_REALTIME_41
.subsections_via_symbols
