	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_store_inferior_registers       ## -- Begin function store_inferior_registers
	.p2align	4, 0x90
_store_inferior_registers:              ## @store_inferior_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	cmpl	$-1, %edi
	je	LBB0_2
## %bb.1:
	movl	%r15d, %edi
	callq	_GREG_SUPPLIES
	testq	%rax, %rax
	je	LBB0_7
LBB0_2:
	movq	_PT_GETREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_PIDGET
	leaq	-40(%rbp), %r14
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_perror_with_name
LBB0_4:
	leaq	-40(%rbp), %rdi
	movl	%r15d, %esi
	callq	_fill_gregset
	movq	_PT_SETREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %edi
	callq	_PIDGET
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_perror_with_name
LBB0_6:
	cmpl	$-1, %r15d
	jne	LBB0_13
	jmp	LBB0_9
LBB0_7:
	movl	%r15d, %edi
	callq	_FPREG_SUPPLIES
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	leaq	-40(%rbp), %r14
LBB0_9:
	movq	_PT_GETFPREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_PIDGET
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror_with_name
LBB0_11:
	leaq	-40(%rbp), %rdi
	movl	%r15d, %esi
	callq	_fill_fpregset
	movq	_PT_SETFPREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %edi
	callq	_PIDGET
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror_with_name
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PT_GETREGS,4,2                 ## @PT_GETREGS
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't get registers"

	.comm	_PT_SETREGS,4,2                 ## @PT_SETREGS
	.comm	_PT_GETFPREGS,4,2               ## @PT_GETFPREGS
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't get FP registers"

	.comm	_PT_SETFPREGS,4,2               ## @PT_SETFPREGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_store_inferior_registers       ; -- Begin function store_inferior_registers
	.p2align	2
_store_inferior_registers:              ; @store_inferior_registers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x22, [x22, _inferior_ptid@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_GREG_SUPPLIES
	cbz	x0, LBB0_7
LBB0_2:
Lloh2:
	adrp	x8, _PT_GETREGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PT_GETREGS@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	ldr	w0, [x22]
	bl	_PIDGET
	mov	x1, x0
	add	x20, sp, #8
	add	x2, sp, #8
	mov	x0, x21
	mov	w3, #0
	bl	_ptrace
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror_with_name
LBB0_4:
	add	x0, sp, #8
	mov	x1, x19
	bl	_fill_gregset
Lloh7:
	adrp	x8, _PT_SETREGS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PT_SETREGS@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	ldr	w0, [x22]
	bl	_PIDGET
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	w3, #0
	bl	_ptrace
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror_with_name
LBB0_6:
	cmn	w19, #1
	b.ne	LBB0_13
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_FPREG_SUPPLIES
	cbz	x0, LBB0_13
; %bb.8:
	add	x20, sp, #8
LBB0_9:
Lloh12:
	adrp	x8, _PT_GETFPREGS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PT_GETFPREGS@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	ldr	w0, [x22]
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	w3, #0
	bl	_ptrace
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror_with_name
LBB0_11:
	add	x0, sp, #8
	mov	x1, x19
	bl	_fill_fpregset
Lloh17:
	adrp	x8, _PT_SETFPREGS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PT_SETFPREGS@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
	ldr	w0, [x22]
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_ptrace
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.12:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror_with_name
LBB0_13:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PT_GETREGS,4,2                 ; @PT_GETREGS
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't get registers"

	.comm	_PT_SETREGS,4,2                 ; @PT_SETREGS
	.comm	_PT_GETFPREGS,4,2               ; @PT_GETFPREGS
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't get FP registers"

	.comm	_PT_SETFPREGS,4,2               ; @PT_SETFPREGS
.subsections_via_symbols
