	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wait_for_inferior              ## -- Begin function wait_for_inferior
	.p2align	4, 0x90
_wait_for_inferior:                     ## @wait_for_inferior
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_delete_step_resume_breakpoint@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_step_resume_breakpoint@GOTPCREL(%rip), %rsi
	callq	_make_cleanup
	movq	%rax, %r14
	movq	_delete_breakpoint_current_contents@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_through_sigtramp_breakpoint@GOTPCREL(%rip), %rsi
	callq	_make_cleanup
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_execution_control_state
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_previous_inferior_ptid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_overlay_cache_invalid@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	callq	_registers_changed
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-28(%rbp), %esi
	movl	-24(%rbp), %edi
	callq	_target_wait_hook
	movl	%eax, -20(%rbp)
	movq	%rbx, %rdi
	callq	_handle_inferior_event
	cmpl	$0, -32(%rbp)
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_do_cleanups
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_delete_step_resume_breakpoint,4,2 ## @delete_step_resume_breakpoint
	.comm	_step_resume_breakpoint,4,2     ## @step_resume_breakpoint
	.comm	_delete_breakpoint_current_contents,4,2 ## @delete_breakpoint_current_contents
	.comm	_through_sigtramp_breakpoint,4,2 ## @through_sigtramp_breakpoint
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_previous_inferior_ptid,4,2     ## @previous_inferior_ptid
	.comm	_overlay_cache_invalid,4,2      ## @overlay_cache_invalid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wait_for_inferior              ; -- Begin function wait_for_inferior
	.p2align	2
_wait_for_inferior:                     ; @wait_for_inferior
	.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
Lloh0:
	adrp	x8, _delete_step_resume_breakpoint@GOTPAGE
Lloh1:
	ldr	x8, [x8, _delete_step_resume_breakpoint@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _step_resume_breakpoint@GOTPAGE
Lloh4:
	ldr	x1, [x1, _step_resume_breakpoint@GOTPAGEOFF]
	bl	_make_cleanup
	mov	x19, x0
Lloh5:
	adrp	x8, _delete_breakpoint_current_contents@GOTPAGE
Lloh6:
	ldr	x8, [x8, _delete_breakpoint_current_contents@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, _through_sigtramp_breakpoint@GOTPAGE
Lloh9:
	ldr	x1, [x1, _through_sigtramp_breakpoint@GOTPAGEOFF]
	bl	_make_cleanup
	mov	x0, sp
	bl	_init_execution_control_state
Lloh10:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh11:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh12:
	adrp	x9, _previous_inferior_ptid@GOTPAGE
Lloh13:
	ldr	x9, [x9, _previous_inferior_ptid@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	str	w8, [x9]
Lloh16:
	adrp	x8, _overlay_cache_invalid@GOTPAGE
Lloh17:
	ldr	x8, [x8, _overlay_cache_invalid@GOTPAGEOFF]
	mov	w9, #1
Lloh18:
	str	w9, [x8]
	bl	_registers_changed
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [sp, #4]
	bl	_target_wait_hook
	str	w0, [sp, #12]
	mov	x0, sp
	bl	_handle_inferior_event
	ldr	w8, [sp]
	cbnz	w8, LBB0_1
; %bb.2:
	mov	x0, x19
	bl	_do_cleanups
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_delete_step_resume_breakpoint,4,2 ; @delete_step_resume_breakpoint
	.comm	_step_resume_breakpoint,4,2     ; @step_resume_breakpoint
	.comm	_delete_breakpoint_current_contents,4,2 ; @delete_breakpoint_current_contents
	.comm	_through_sigtramp_breakpoint,4,2 ; @through_sigtramp_breakpoint
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_previous_inferior_ptid,4,2     ; @previous_inferior_ptid
	.comm	_overlay_cache_invalid,4,2      ; @overlay_cache_invalid
.subsections_via_symbols
