	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_fake_step
_thread_fake_step:                      ## @thread_fake_step
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_doing_fake_step@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_warning
LBB0_2:
	movl	%r15d, %edi
	callq	_find_thread_info
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.4:
	movq	_TARGET_SIGNAL_0@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_6
## %bb.5:
	movl	(%rax), %r14d
LBB0_6:
	movq	$0, 8(%rax)
LBB0_7:
	cmpl	$0, 4(%rax)
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_warning
LBB0_9:
	movq	_TT_LWP_SINGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TT_USE_CURRENT_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r14d, %edi
	callq	_target_signal_to_host
	movq	_TT_NIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_call_ttrace
	movl	$1, (%r13)
	movq	_fake_step_tid@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_doing_fake_step,4,2            ## @doing_fake_step
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Step while step already in progress."

	.comm	_TARGET_SIGNAL_0,4,2            ## @TARGET_SIGNAL_0
L_.str.1:                               ## @.str.1
	.asciz	"Internal error: continuing unhandled thread."

	.comm	_TT_LWP_SINGLE,4,2              ## @TT_LWP_SINGLE
	.comm	_TT_USE_CURRENT_PC,4,2          ## @TT_USE_CURRENT_PC
	.comm	_TT_NIL,4,2                     ## @TT_NIL
	.comm	_fake_step_tid,4,2              ## @fake_step_tid
	.comm	_debug_on,8,3                   ## @debug_on
	.no_dead_strip	_thread_fake_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thread_fake_step
_thread_fake_step:                      ; @thread_fake_step
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _doing_fake_step@GOTPAGE
Lloh1:
	ldr	x23, [x23, _doing_fake_step@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
LBB0_2:
	mov	x0, x19
	bl	_find_thread_info
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x0, #8]
Lloh4:
	adrp	x9, _TARGET_SIGNAL_0@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TARGET_SIGNAL_0@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, w20, #0, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	w20, [x0]
LBB0_5:
	str	xzr, [x0, #8]
LBB0_6:
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_8
; %bb.7:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
LBB0_8:
Lloh9:
	adrp	x8, _TT_LWP_SINGLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TT_LWP_SINGLE@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
Lloh12:
	adrp	x8, _TT_USE_CURRENT_PC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TT_USE_CURRENT_PC@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_target_signal_to_host
	mov	x3, x0
Lloh15:
	adrp	x8, _TT_NIL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TT_NIL@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_call_ttrace
	mov	w8, #1
	str	w8, [x23]
Lloh18:
	adrp	x8, _fake_step_tid@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fake_step_tid@GOTPAGEOFF]
Lloh20:
	str	w19, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_doing_fake_step,4,2            ; @doing_fake_step
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Step while step already in progress."

	.comm	_TARGET_SIGNAL_0,4,2            ; @TARGET_SIGNAL_0
l_.str.1:                               ; @.str.1
	.asciz	"Internal error: continuing unhandled thread."

	.comm	_TT_LWP_SINGLE,4,2              ; @TT_LWP_SINGLE
	.comm	_TT_USE_CURRENT_PC,4,2          ; @TT_USE_CURRENT_PC
	.comm	_TT_NIL,4,2                     ; @TT_NIL
	.comm	_fake_step_tid,4,2              ; @fake_step_tid
	.comm	_debug_on,8,3                   ; @debug_on
	.no_dead_strip	_thread_fake_step
.subsections_via_symbols
