	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sol_thread_xfer_memory
_sol_thread_xfer_memory:                ## @sol_thread_xfer_memory
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r13
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_save_inferior_ptid
	movq	%rax, %r12
	movq	_inferior_ptid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_is_thread
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_target_thread_alive
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_procfs_first_available
	movl	%eax, (%rbx)
LBB0_3:
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	_orig_core_ops@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_4:
	movq	_procfs_ops@GOTPCREL(%rip), %rbx
LBB0_6:
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %edx
	movq	%r13, %rsi
	movl	%r15d, %edi
	callq	*(%rbx)
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_do_cleanups
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_target_has_execution,8,3       ## @target_has_execution
	.comm	_procfs_ops,8,3                 ## @procfs_ops
	.comm	_orig_core_ops,8,3              ## @orig_core_ops
	.no_dead_strip	_sol_thread_xfer_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sol_thread_xfer_memory
_sol_thread_xfer_memory:                ; @sol_thread_xfer_memory
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	bl	_save_inferior_ptid
	mov	x21, x0
Lloh0:
	adrp	x26, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x26, [x26, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_is_thread
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x26]
	bl	_target_thread_alive
	cbnz	w0, LBB0_3
LBB0_2:
	bl	_procfs_first_available
	str	w0, [x26]
LBB0_3:
Lloh2:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh3:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh4:
	adrp	x9, _orig_core_ops@GOTPAGE
Lloh5:
	ldr	x9, [x9, _orig_core_ops@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x10, _procfs_ops@GOTPAGE
Lloh8:
	ldr	x10, [x10, _procfs_ops@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	mov	x5, x19
	blr	x8
	mov	x19, x0
	mov	x0, x21
	bl	_do_cleanups
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_target_has_execution,8,3       ; @target_has_execution
	.comm	_procfs_ops,8,3                 ; @procfs_ops
	.comm	_orig_core_ops,8,3              ; @orig_core_ops
	.no_dead_strip	_sol_thread_xfer_memory
.subsections_via_symbols
