	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_signum
_map_signum:                            ## @map_signum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	js	LBB0_4
## %bb.3:
	movq	_LINUX_SIGRTMAX@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jl	LBB0_4
## %bb.5:
	callq	_linux_to_bsd_signal
	movl	%eax, %ecx
	movq	_SIGSTOP@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_6
LBB0_1:
	movl	$0, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINUX_SIGRTMAX,4,2             ## @LINUX_SIGRTMAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SIGSTOP,4,2                    ## @SIGSTOP
	.no_dead_strip	_map_signum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_signum
_map_signum:                            ; @map_signum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cbz	w0, LBB0_4
; %bb.1:
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _LINUX_SIGRTMAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINUX_SIGRTMAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.lt	LBB0_5
; %bb.3:
	bl	_linux_to_bsd_signal
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x9, _SIGSTOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SIGSTOP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, wzr, w8, eq
	str	w8, [x19]
	b	LBB0_6
LBB0_4:
	str	wzr, [x19]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LINUX_SIGRTMAX,4,2             ; @LINUX_SIGRTMAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SIGSTOP,4,2                    ; @SIGSTOP
	.no_dead_strip	_map_signum
.subsections_via_symbols
