	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emul_sstep_get
_emul_sstep_get:                        ## @emul_sstep_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_arch_needs_sstep_emulation@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.4:
	movq	_sstep_state@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpq	$3, %rax
	ja	LBB0_11
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_v2printk
	leaq	L_.str.2(%rip), %rdi
	callq	_fill_get_buf
	jmp	LBB0_12
LBB0_1:
	movq	_cont_instead_of_sstep@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	$0, (%rax)
	leaq	L_.str(%rip), %rdi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fill_get_buf                   ## TAILCALL
LBB0_11:
	leaq	L_.str.5(%rip), %rdi
	callq	_eprintk
	jmp	LBB0_12
LBB0_7:
	movq	_sstep_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_fill_get_buf
	jmp	LBB0_12
LBB0_10:
	movq	_sstep_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rdi
LBB0_8:
	xorl	%esi, %esi
	callq	_break_helper
LBB0_12:
	incl	(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_arch_needs_sstep_emulation,4,2 ## @arch_needs_sstep_emulation
	.comm	_cont_instead_of_sstep,8,3      ## @cont_instead_of_sstep
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"c"

	.comm	_sstep_state,4,2                ## @sstep_state
L_.str.1:                               ## @.str.1
	.asciz	"Emulate single step\n"

L_.str.2:                               ## @.str.2
	.asciz	"g"

L_.str.3:                               ## @.str.3
	.asciz	"Z0"

	.comm	_sstep_addr,4,2                 ## @sstep_addr
L_.str.4:                               ## @.str.4
	.asciz	"z0"

L_.str.5:                               ## @.str.5
	.asciz	"kgdbts: ERROR failed sstep get emulation\n"

	.no_dead_strip	_emul_sstep_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emul_sstep_get
_emul_sstep_get:                        ; @emul_sstep_get
	.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
Lloh0:
	adrp	x8, _arch_needs_sstep_emulation@GOTPAGE
Lloh1:
	ldr	x8, [x8, _arch_needs_sstep_emulation@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x19, _sstep_state@GOTPAGE
Lloh4:
	ldr	x19, [x19, _sstep_state@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.2:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_v2printk
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fill_get_buf
	b	LBB0_12
LBB0_4:
Lloh11:
	adrp	x8, _cont_instead_of_sstep@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cont_instead_of_sstep@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.5:
	str	xzr, [x8]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fill_get_buf
LBB0_7:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_eprintk
	b	LBB0_12
LBB0_8:
Lloh17:
	adrp	x8, _sstep_addr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sstep_addr@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fill_get_buf
	b	LBB0_12
LBB0_10:
Lloh24:
	adrp	x8, _sstep_addr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sstep_addr@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_11:
	mov	x1, #0
	bl	_break_helper
LBB0_12:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_arch_needs_sstep_emulation,4,2 ; @arch_needs_sstep_emulation
	.comm	_cont_instead_of_sstep,8,3      ; @cont_instead_of_sstep
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"c"

	.comm	_sstep_state,4,2                ; @sstep_state
l_.str.1:                               ; @.str.1
	.asciz	"Emulate single step\n"

l_.str.2:                               ; @.str.2
	.asciz	"g"

l_.str.3:                               ; @.str.3
	.asciz	"Z0"

	.comm	_sstep_addr,4,2                 ; @sstep_addr
l_.str.4:                               ; @.str.4
	.asciz	"z0"

l_.str.5:                               ; @.str.5
	.asciz	"kgdbts: ERROR failed sstep get emulation\n"

	.no_dead_strip	_emul_sstep_get
.subsections_via_symbols
