	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regsets_store_inferior_registers
_regsets_store_inferior_registers:      ## @regsets_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_target_regsets@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	js	LBB0_7
## %bb.1:
	addq	$24, %rbx
	movq	_inferior_pid@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_free
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	addq	$24, %rbx
	testq	%rdi, %rdi
	js	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	*-8(%rbx)
	movl	-16(%rbx), %edi
	movl	(%r12), %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_perror
	jmp	LBB0_5
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_target_regsets,8,3             ## @target_regsets
	.comm	_inferior_pid,4,2               ## @inferior_pid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: ptrace(regsets_store_inferior_registers)"

	.no_dead_strip	_regsets_store_inferior_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regsets_store_inferior_registers
_regsets_store_inferior_registers:      ; @regsets_store_inferior_registers
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _target_regsets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_regsets@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_7
; %bb.1:
	add	x21, x8, #16
Lloh3:
	adrp	x22, _inferior_pid@GOTPAGE
Lloh4:
	ldr	x22, [x22, _inferior_pid@GOTPAGEOFF]
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_free
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #8]
	add	x21, x21, #24
	tbnz	x0, #63, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_malloc
	mov	x20, x0
	ldr	x8, [x21]
	blr	x8
	ldur	w0, [x21, #-8]
	ldr	w1, [x22]
	mov	x2, x20
	mov	w3, #0
	bl	_ptrace
	tbz	w0, #31, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_perror
	b	LBB0_2
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_target_regsets,8,3             ; @target_regsets
	.comm	_inferior_pid,4,2               ; @inferior_pid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: ptrace(regsets_store_inferior_registers)"

	.no_dead_strip	_regsets_store_inferior_registers
.subsections_via_symbols
