	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solaris_pid_to_str             ## -- Begin function solaris_pid_to_str
	.p2align	4, 0x90
_solaris_pid_to_str:                    ## @solaris_pid_to_str
	.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
	movl	%edi, %ebx
	movq	_procfs_suppress_run@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.1:
	movl	%ebx, %edi
	callq	_is_thread
	movl	%ebx, %edi
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	$-2, %esi
	callq	_thread_to_lwp
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_PIDGET
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movl	%r14d, %edi
	callq	_PIDGET
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_GET_THREAD
	movl	%eax, %ebx
	cmpl	$-2, %r15d
	jne	LBB0_5
## %bb.6:
	leaq	_solaris_pid_to_str.buf(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	jmp	LBB0_11
LBB0_13:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_procfs_pid_to_str              ## TAILCALL
LBB0_7:
	callq	_GET_LWP
	movl	%ebx, %edi
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	callq	_GET_LWP
	leaq	_solaris_pid_to_str.buf(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_3:
	movl	%ebx, %edi
	callq	_GET_THREAD
	leaq	_solaris_pid_to_str.buf(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_5:
	movl	%r14d, %edi
	callq	_GET_LWP
	leaq	_solaris_pid_to_str.buf(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_12
LBB0_9:
	callq	_PIDGET
	leaq	_solaris_pid_to_str.buf(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	movl	%eax, %edx
LBB0_11:
	xorl	%eax, %eax
	callq	_sprintf
LBB0_12:
	leaq	_solaris_pid_to_str.buf(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_solaris_pid_to_str.buf,100,4 ## @solaris_pid_to_str.buf
	.comm	_procfs_suppress_run,4,2        ## @procfs_suppress_run
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Thread %ld (defunct)"

L_.str.1:                               ## @.str.1
	.asciz	"Thread %ld (LWP %ld)"

L_.str.2:                               ## @.str.2
	.asciz	"Thread %ld        "

L_.str.3:                               ## @.str.3
	.asciz	"LWP    %ld        "

L_.str.4:                               ## @.str.4
	.asciz	"process %d    "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solaris_pid_to_str             ; -- Begin function solaris_pid_to_str
	.p2align	2
_solaris_pid_to_str:                    ; @solaris_pid_to_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _procfs_suppress_run@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procfs_suppress_run@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_is_thread
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	w1, #-2
	bl	_thread_to_lwp
	mov	x20, x0
	bl	_PIDGET
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_PIDGET
	mov	x21, x0
	mov	x0, x19
	bl	_GET_THREAD
	mov	x19, x0
	cmn	w21, #2
	b.ne	LBB0_9
; %bb.4:
Lloh3:
	adrp	x0, _solaris_pid_to_str.buf@PAGE
Lloh4:
	add	x0, x0, _solaris_pid_to_str.buf@PAGEOFF
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	b	LBB0_11
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_procfs_pid_to_str
LBB0_6:
	mov	x0, x19
	bl	_GET_LWP
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_GET_LWP
	mov	x2, x0
Lloh7:
	adrp	x0, _solaris_pid_to_str.buf@PAGE
Lloh8:
	add	x0, x0, _solaris_pid_to_str.buf@PAGEOFF
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_8:
	mov	x0, x19
	bl	_GET_THREAD
	mov	x2, x0
Lloh11:
	adrp	x0, _solaris_pid_to_str.buf@PAGE
Lloh12:
	add	x0, x0, _solaris_pid_to_str.buf@PAGEOFF
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_9:
	mov	x0, x20
	bl	_GET_LWP
                                        ; kill: def $w0 killed $w0 def $x0
Lloh15:
	adrp	x8, _solaris_pid_to_str.buf@PAGE
Lloh16:
	add	x8, x8, _solaris_pid_to_str.buf@PAGEOFF
	str	x0, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	mov	x2, x19
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_PIDGET
	mov	x2, x0
Lloh19:
	adrp	x0, _solaris_pid_to_str.buf@PAGE
Lloh20:
	add	x0, x0, _solaris_pid_to_str.buf@PAGEOFF
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_11:
	bl	_sprintf
Lloh23:
	adrp	x0, _solaris_pid_to_str.buf@PAGE
Lloh24:
	add	x0, x0, _solaris_pid_to_str.buf@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_solaris_pid_to_str.buf,100,0 ; @solaris_pid_to_str.buf
	.comm	_procfs_suppress_run,4,2        ; @procfs_suppress_run
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Thread %ld (defunct)"

l_.str.1:                               ; @.str.1
	.asciz	"Thread %ld (LWP %ld)"

l_.str.2:                               ; @.str.2
	.asciz	"Thread %ld        "

l_.str.3:                               ; @.str.3
	.asciz	"LWP    %ld        "

l_.str.4:                               ; @.str.4
	.asciz	"process %d    "

.subsections_via_symbols
