	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_restore_registers              ## -- Begin function restore_registers
	.p2align	4, 0x90
_restore_registers:                     ## @restore_registers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %eax
	movq	_PTRACE_SETREGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rsi), %ecx
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_ptrace
	movq	_errno@GOTPCREL(%rip), %rcx
	subl	(%rcx), %ebx
	sarl	$31, %eax
	andl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTRACE_SETREGS,4,2             ## @PTRACE_SETREGS
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_restore_registers              ; -- Begin function restore_registers
	.p2align	2
_restore_registers:                     ; @restore_registers
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
Lloh0:
	adrp	x9, _PTRACE_SETREGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PTRACE_SETREGS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	w3, [x1]
	mov	x1, x8
	mov	w2, #0
	bl	_ptrace
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w8, w8
	and	w0, w8, w0, asr #31
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PTRACE_SETREGS,4,2             ; @PTRACE_SETREGS
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
