	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hppa_pid_or_tid_to_str         ## -- Begin function hppa_pid_or_tid_to_str
	.p2align	4, 0x90
_hppa_pid_or_tid_to_str:                ## @hppa_pid_or_tid_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_PIDGET
	movl	%eax, %edi
	callq	_is_process_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_child_pid_to_str               ## TAILCALL
LBB0_1:
	movl	%ebx, %edi
	callq	_pid_to_thread_id
	leaq	_hppa_pid_or_tid_to_str.buf(%rip), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movl	%ebx, %edi
	callq	_hppa_tid_to_str
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_strcat
	leaq	l_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcat
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_hppa_pid_or_tid_to_str.buf,100,4 ## @hppa_pid_or_tid_to_str.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"thread %d ("

	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	")\000"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hppa_pid_or_tid_to_str         ; -- Begin function hppa_pid_or_tid_to_str
	.p2align	2
_hppa_pid_or_tid_to_str:                ; @hppa_pid_or_tid_to_str
	.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, x0
	bl	_PIDGET
	bl	_is_process_id
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_child_pid_to_str
LBB0_2:
	mov	x0, x19
	bl	_pid_to_thread_id
	mov	x2, x0
Lloh0:
	adrp	x20, _hppa_pid_or_tid_to_str.buf@PAGE
Lloh1:
	add	x20, x20, _hppa_pid_or_tid_to_str.buf@PAGEOFF
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	mov	x0, x19
	bl	_hppa_tid_to_str
	mov	x1, x0
	mov	x0, x20
	bl	_strcat
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcat
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_hppa_pid_or_tid_to_str.buf,100,0 ; @hppa_pid_or_tid_to_str.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"thread %d ("

	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	")\000"

.subsections_via_symbols
