	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psignal                        ## -- Begin function psignal
	.p2align	4, 0x90
_psignal:                               ## @psignal
	.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
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %r14
	testl	%edi, %edi
	js	LBB0_3
## %bb.1:
	movq	_NSIG@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_sys_siglist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movq	(%rax,%rcx,8), %r14
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	cmpb	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	__write
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edx
	callq	__write
LBB0_6:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	__write
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__write                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NSIG,4,2                       ## @NSIG
	.comm	_sys_siglist,8,3                ## @sys_siglist
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown signal"

	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
L_.str.1:                               ## @.str.1
	.asciz	": "

L_.str.2:                               ## @.str.2
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psignal                        ; -- Begin function psignal
	.p2align	2
_psignal:                               ; @psignal
	.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
	mov	x20, x1
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _NSIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NSIG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _sys_siglist@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sys_siglist@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x19, [x8, w0, uxtw #3]
LBB0_3:
Lloh8:
	adrp	x22, _STDERR_FILENO@GOTPAGE
Lloh9:
	ldr	x22, [x22, _STDERR_FILENO@GOTPAGEOFF]
	cbz	x20, LBB0_6
; %bb.4:
	ldrb	w8, [x20]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	w21, [x22]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	__write
	ldr	w0, [x22]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #2
	bl	__write
LBB0_6:
	ldr	w20, [x22]
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	__write
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #1
	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	__write
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NSIG,4,2                       ; @NSIG
	.comm	_sys_siglist,8,3                ; @sys_siglist
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown signal"

	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
l_.str.1:                               ; @.str.1
	.asciz	": "

l_.str.2:                               ; @.str.2
	.asciz	"\n"

.subsections_via_symbols
