	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function procstat_print_signame
_procstat_print_signame:                ## @procstat_print_signame
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_procstat_opts@GOTPCREL(%rip), %rax
	movq	_PS_OPT_SIGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	_sys_nsig@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_6
## %bb.2:
	movq	_sys_signame@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	-28(%rbp), %rdi
	movl	$12, %edx
	callq	_strlcpy
	movb	-28(%rbp), %al
	testb	%al, %al
	je	LBB0_5
## %bb.3:
	leaq	-27(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_toupper
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
LBB0_5:
	leaq	L_.str(%rip), %rdi
	leaq	-28(%rbp), %rsi
	xorl	%eax, %eax
	callq	_xo_emit
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_xo_emit
	leaq	L_.str.2(%rip), %rdx
	leaq	-28(%rbp), %rdi
	movl	$12, %esi
	movl	%ebx, %ecx
	callq	_snprintf
LBB0_7:
	leaq	-28(%rbp), %rdi
	callq	_xo_open_container
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_procstat_opts,4,2              ## @procstat_opts
	.comm	_PS_OPT_SIGNUM,4,2              ## @PS_OPT_SIGNUM
	.comm	_sys_nsig,4,2                   ## @sys_nsig
	.comm	_sys_signame,8,3                ## @sys_signame
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{d:signal/%-7s/%s} "

L_.str.1:                               ## @.str.1
	.asciz	"{d:signal/%-7d/%d} "

L_.str.2:                               ## @.str.2
	.asciz	"%d"

	.no_dead_strip	_procstat_print_signame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function procstat_print_signame
_procstat_print_signame:                ; @procstat_print_signame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _procstat_opts@GOTPAGE
Lloh4:
	ldr	x8, [x8, _procstat_opts@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PS_OPT_SIGNUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PS_OPT_SIGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _sys_nsig@GOTPAGE
Lloh10:
	ldr	x9, [x9, _sys_nsig@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, w0, #4, eq
	b.gt	LBB0_2
; %bb.1:
	str	x19, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_xo_emit
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #12
	mov	w1, #12
	mov	x3, x19
	bl	_snprintf
	b	LBB0_6
LBB0_2:
Lloh16:
	adrp	x8, _sys_signame@GOTPAGE
Lloh17:
	ldr	x8, [x8, _sys_signame@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	w1, [x8, w19, sxtw #2]
	add	x19, sp, #12
	add	x0, sp, #12
	mov	w2, #12
	bl	_strlcpy
	ldrb	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.3:
	add	x20, x19, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_toupper
	sturb	w0, [x20, #-1]
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_4
LBB0_5:
	str	x19, [sp]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_emit
LBB0_6:
	add	x0, sp, #12
	bl	_xo_open_container
	ldr	x8, [sp, #24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_procstat_opts,4,2              ; @procstat_opts
	.comm	_PS_OPT_SIGNUM,4,2              ; @PS_OPT_SIGNUM
	.comm	_sys_nsig,4,2                   ; @sys_nsig
	.comm	_sys_signame,8,3                ; @sys_signame
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{d:signal/%-7s/%s} "

l_.str.1:                               ; @.str.1
	.asciz	"{d:signal/%-7d/%d} "

l_.str.2:                               ; @.str.2
	.asciz	"%d"

	.no_dead_strip	_procstat_print_signame
.subsections_via_symbols
