	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sol_thread_resume
_sol_thread_resume:                     ## @sol_thread_resume
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r13d
	xorl	%eax, %eax
	callq	_save_inferior_ptid
	movq	%rax, %r15
	movq	_inferior_ptid@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_main_ph@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_thread_to_lwp
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_PIDGET
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_procfs_first_available
	movl	%eax, (%r14)
LBB0_2:
	movl	%r13d, %edi
	callq	_PIDGET
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movl	%r13d, %edi
	movl	$-2, %esi
	callq	_thread_to_lwp
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_PIDGET
	cmpl	$-2, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_6:
	movq	_info_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movl	%ebx, %edi
	callq	_PIDGET
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	movl	%r13d, %edi
	callq	_GET_THREAD
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_warning
	jmp	LBB0_9
LBB0_3:
	movl	%r13d, %ebx
LBB0_9:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %esi
	movq	_procfs_ops@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	callq	*(%rax)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_cleanups                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_main_ph,4,2                    ## @main_ph
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"This version of Solaris can't start inactive threads."

	.comm	_info_verbose,8,3               ## @info_verbose
L_.str.1:                               ## @.str.1
	.asciz	"Specified thread %ld seems to have terminated"

	.comm	_procfs_ops,8,3                 ## @procfs_ops
	.no_dead_strip	_sol_thread_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sol_thread_resume
_sol_thread_resume:                     ; @sol_thread_resume
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_save_inferior_ptid
	mov	x21, x0
Lloh0:
	adrp	x24, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x24, [x24, _inferior_ptid@GOTPAGEOFF]
	ldr	w23, [x24]
Lloh2:
	adrp	x8, _main_ph@GOTPAGE
Lloh3:
	ldr	x8, [x8, _main_ph@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x23
	bl	_thread_to_lwp
	str	w0, [x24]
	bl	_PIDGET
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
	bl	_procfs_first_available
	str	w0, [x24]
LBB0_2:
	mov	x0, x22
	bl	_PIDGET
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.3:
	mov	x0, x22
	mov	w1, #-2
	bl	_thread_to_lwp
	mov	x23, x0
	bl	_PIDGET
	cmn	w0, #2
	b.ne	LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_5:
Lloh7:
	adrp	x8, _info_verbose@GOTPAGE
Lloh8:
	ldr	x8, [x8, _info_verbose@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.6:
	mov	x0, x23
	bl	_PIDGET
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x22
	bl	_GET_THREAD
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
	b	LBB0_9
LBB0_8:
	mov	x23, x22
LBB0_9:
Lloh12:
	adrp	x8, _procfs_ops@GOTPAGE
Lloh13:
	ldr	x8, [x8, _procfs_ops@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_do_cleanups
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_main_ph,4,2                    ; @main_ph
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"This version of Solaris can't start inactive threads."

	.comm	_info_verbose,8,3               ; @info_verbose
l_.str.1:                               ; @.str.1
	.asciz	"Specified thread %ld seems to have terminated"

	.comm	_procfs_ops,8,3                 ; @procfs_ops
	.no_dead_strip	_sol_thread_resume
.subsections_via_symbols
