	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_restore_inferior_status        ## -- Begin function restore_inferior_status
	.p2align	4, 0x90
_restore_inferior_status:               ## @restore_inferior_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	80(%rdi), %eax
	movq	_stop_signal@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	76(%rdi), %eax
	movq	_stop_pc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	72(%rdi), %eax
	movq	_stop_step@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	68(%rdi), %eax
	movq	_stop_stack_dummy@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	64(%rdi), %eax
	movq	_stopped_by_random_signal@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	60(%rdi), %eax
	movq	_trap_expected@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	56(%rdi), %eax
	movq	_step_range_start@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	52(%rdi), %eax
	movq	_step_range_end@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	48(%rdi), %eax
	movq	_step_frame_id@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	44(%rdi), %eax
	movq	_step_over_calls@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	40(%rdi), %eax
	movq	_stop_after_trap@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	36(%rdi), %eax
	movq	_stop_soon@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_stop_bpstat@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_bpstat_clear
	movl	32(%rbx), %eax
	movl	%eax, (%r14)
	movl	28(%rbx), %eax
	movq	_breakpoint_proceeded@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	24(%rbx), %eax
	movq	_proceed_to_finish@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_stop_registers@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_regcache_xfree
	movl	20(%rbx), %eax
	movl	%eax, (%r14)
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_regcache_cpy
LBB0_2:
	movl	16(%rbx), %edi
	callq	_regcache_xfree
	movq	_target_has_stack@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.4:
	movq	_restore_selected_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RETURN_MASK_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	callq	_catch_errors
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_get_current_frame
	movl	%eax, %edi
	callq	_select_frame
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stop_signal,4,2                ## @stop_signal
	.comm	_stop_pc,4,2                    ## @stop_pc
	.comm	_stop_step,4,2                  ## @stop_step
	.comm	_stop_stack_dummy,4,2           ## @stop_stack_dummy
	.comm	_stopped_by_random_signal,4,2   ## @stopped_by_random_signal
	.comm	_trap_expected,4,2              ## @trap_expected
	.comm	_step_range_start,4,2           ## @step_range_start
	.comm	_step_range_end,4,2             ## @step_range_end
	.comm	_step_frame_id,4,2              ## @step_frame_id
	.comm	_step_over_calls,4,2            ## @step_over_calls
	.comm	_stop_after_trap,4,2            ## @stop_after_trap
	.comm	_stop_soon,4,2                  ## @stop_soon
	.comm	_stop_bpstat,4,2                ## @stop_bpstat
	.comm	_breakpoint_proceeded,4,2       ## @breakpoint_proceeded
	.comm	_proceed_to_finish,4,2          ## @proceed_to_finish
	.comm	_stop_registers,4,2             ## @stop_registers
	.comm	_target_has_execution,8,3       ## @target_has_execution
	.comm	_current_regcache,4,2           ## @current_regcache
	.comm	_target_has_stack,8,3           ## @target_has_stack
	.comm	_restore_selected_frame,4,2     ## @restore_selected_frame
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to restore previously selected frame:\n"

	.comm	_RETURN_MASK_ERROR,4,2          ## @RETURN_MASK_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_restore_inferior_status        ; -- Begin function restore_inferior_status
	.p2align	2
_restore_inferior_status:               ; @restore_inferior_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _stop_signal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stop_signal@GOTPAGEOFF]
	ldp	w10, w9, [x0, #76]
Lloh2:
	adrp	x11, _stop_pc@GOTPAGE
Lloh3:
	ldr	x11, [x11, _stop_pc@GOTPAGEOFF]
Lloh4:
	str	w9, [x8]
Lloh5:
	str	w10, [x11]
Lloh6:
	adrp	x8, _stop_step@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stop_step@GOTPAGEOFF]
	ldp	w10, w9, [x0, #68]
Lloh8:
	str	w9, [x8]
Lloh9:
	adrp	x8, _stop_stack_dummy@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stop_stack_dummy@GOTPAGEOFF]
Lloh11:
	str	w10, [x8]
Lloh12:
	adrp	x8, _stopped_by_random_signal@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stopped_by_random_signal@GOTPAGEOFF]
	ldp	w10, w9, [x0, #60]
Lloh14:
	str	w9, [x8]
Lloh15:
	adrp	x8, _trap_expected@GOTPAGE
Lloh16:
	ldr	x8, [x8, _trap_expected@GOTPAGEOFF]
Lloh17:
	str	w10, [x8]
Lloh18:
	adrp	x8, _step_range_start@GOTPAGE
Lloh19:
	ldr	x8, [x8, _step_range_start@GOTPAGEOFF]
	ldp	w10, w9, [x0, #52]
Lloh20:
	adrp	x11, _step_range_end@GOTPAGE
Lloh21:
	ldr	x11, [x11, _step_range_end@GOTPAGEOFF]
Lloh22:
	str	w9, [x8]
Lloh23:
	str	w10, [x11]
Lloh24:
	adrp	x8, _step_frame_id@GOTPAGE
Lloh25:
	ldr	x8, [x8, _step_frame_id@GOTPAGEOFF]
	ldp	w10, w9, [x0, #44]
Lloh26:
	str	w9, [x8]
Lloh27:
	adrp	x8, _step_over_calls@GOTPAGE
Lloh28:
	ldr	x8, [x8, _step_over_calls@GOTPAGEOFF]
Lloh29:
	str	w10, [x8]
Lloh30:
	adrp	x8, _stop_after_trap@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stop_after_trap@GOTPAGEOFF]
	ldp	w10, w9, [x0, #36]
Lloh32:
	str	w9, [x8]
Lloh33:
	adrp	x8, _stop_soon@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stop_soon@GOTPAGEOFF]
Lloh35:
	str	w10, [x8]
Lloh36:
	adrp	x20, _stop_bpstat@GOTPAGE
Lloh37:
	ldr	x20, [x20, _stop_bpstat@GOTPAGEOFF]
	mov	x0, x20
	bl	_bpstat_clear
	ldp	w9, w8, [x19, #28]
	str	w8, [x20]
Lloh38:
	adrp	x8, _breakpoint_proceeded@GOTPAGE
Lloh39:
	ldr	x8, [x8, _breakpoint_proceeded@GOTPAGEOFF]
	ldr	w10, [x19, #24]
Lloh40:
	str	w9, [x8]
Lloh41:
	adrp	x8, _proceed_to_finish@GOTPAGE
Lloh42:
	ldr	x8, [x8, _proceed_to_finish@GOTPAGEOFF]
Lloh43:
	str	w10, [x8]
Lloh44:
	adrp	x20, _stop_registers@GOTPAGE
Lloh45:
	ldr	x20, [x20, _stop_registers@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_regcache_xfree
	ldr	w8, [x19, #20]
	str	w8, [x20]
Lloh46:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh47:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh49:
	adrp	x8, _current_regcache@GOTPAGE
Lloh50:
	ldr	x8, [x8, _current_regcache@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_regcache_cpy
LBB0_2:
	ldr	w0, [x19, #16]
	bl	_regcache_xfree
Lloh52:
	adrp	x8, _target_has_stack@GOTPAGE
Lloh53:
	ldr	x8, [x8, _target_has_stack@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.4:
Lloh55:
	adrp	x8, _restore_selected_frame@GOTPAGE
Lloh56:
	ldr	x8, [x8, _restore_selected_frame@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
Lloh58:
	adrp	x8, _RETURN_MASK_ERROR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _RETURN_MASK_ERROR@GOTPAGEOFF]
Lloh60:
	ldr	w3, [x8]
Lloh61:
	adrp	x2, l_.str@PAGE
Lloh62:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_catch_errors
	cbnz	x0, LBB0_6
; %bb.5:
	bl	_get_current_frame
	bl	_select_frame
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xfree
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_stop_signal,4,2                ; @stop_signal
	.comm	_stop_pc,4,2                    ; @stop_pc
	.comm	_stop_step,4,2                  ; @stop_step
	.comm	_stop_stack_dummy,4,2           ; @stop_stack_dummy
	.comm	_stopped_by_random_signal,4,2   ; @stopped_by_random_signal
	.comm	_trap_expected,4,2              ; @trap_expected
	.comm	_step_range_start,4,2           ; @step_range_start
	.comm	_step_range_end,4,2             ; @step_range_end
	.comm	_step_frame_id,4,2              ; @step_frame_id
	.comm	_step_over_calls,4,2            ; @step_over_calls
	.comm	_stop_after_trap,4,2            ; @stop_after_trap
	.comm	_stop_soon,4,2                  ; @stop_soon
	.comm	_stop_bpstat,4,2                ; @stop_bpstat
	.comm	_breakpoint_proceeded,4,2       ; @breakpoint_proceeded
	.comm	_proceed_to_finish,4,2          ; @proceed_to_finish
	.comm	_stop_registers,4,2             ; @stop_registers
	.comm	_target_has_execution,8,3       ; @target_has_execution
	.comm	_current_regcache,4,2           ; @current_regcache
	.comm	_target_has_stack,8,3           ; @target_has_stack
	.comm	_restore_selected_frame,4,2     ; @restore_selected_frame
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to restore previously selected frame:\n"

	.comm	_RETURN_MASK_ERROR,4,2          ; @RETURN_MASK_ERROR
.subsections_via_symbols
