	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linux_ptrace_setregs
_linux_ptrace_setregs:                  ## @linux_ptrace_setregs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rsi
	movq	%rdx, %rdi
	movl	$4, %edx
	callq	_copyin
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %r15
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_map_regs_from_linux
	movq	_PT_SETREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_kern_ptrace
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PT_SETREGS,4,2                 ## @PT_SETREGS
	.no_dead_strip	_linux_ptrace_setregs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linux_ptrace_setregs
_linux_ptrace_setregs:                  ; @linux_ptrace_setregs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x1, sp
	mov	x0, x2
	mov	w2, #4
	bl	_copyin
	cbnz	w0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	x1, sp
	bl	_map_regs_from_linux
Lloh0:
	adrp	x8, _PT_SETREGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT_SETREGS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x19
	mov	w4, #0
	bl	_kern_ptrace
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PT_SETREGS,4,2                 ; @PT_SETREGS
	.no_dead_strip	_linux_ptrace_setregs
.subsections_via_symbols
