	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_single_step
_check_single_step:                     ## @check_single_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_lookup_addr
	movq	%rax, %r14
	incq	%rbx
	movq	_kgdbts_gdb_regs@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_NUMREGBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_kgdb_hex2mem
	movq	(%r15), %rdi
	movq	_kgdbts_regs@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_gdb_regs_to_pt_regs
	movq	%rbx, %rdi
	callq	_instruction_pointer
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_v2printk
	movq	%rbx, %rdi
	callq	_instruction_pointer
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%r14, %rcx
	jne	LBB0_2
## %bb.1:
	movq	_kgdbts_regs@GOTPCREL(%rip), %rdi
	callq	_instruction_pointer
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_eprintk
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kgdbts_gdb_regs,8,3            ## @kgdbts_gdb_regs
	.comm	_NUMREGBYTES,4,2                ## @NUMREGBYTES
	.comm	_kgdbts_regs,4,2                ## @kgdbts_regs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Singlestep stopped at IP: %lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"kgdbts: SingleStep failed at %lx\n"

	.no_dead_strip	_check_single_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_single_step
_check_single_step:                     ; @check_single_step
	.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
	mov	x0, x1
	bl	_lookup_addr
	mov	x20, x0
	add	x0, x19, #1
Lloh0:
	adrp	x19, _kgdbts_gdb_regs@GOTPAGE
Lloh1:
	ldr	x19, [x19, _kgdbts_gdb_regs@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh2:
	adrp	x8, _NUMREGBYTES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NUMREGBYTES@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_kgdb_hex2mem
	ldr	x0, [x19]
Lloh5:
	adrp	x19, _kgdbts_regs@GOTPAGE
Lloh6:
	ldr	x19, [x19, _kgdbts_regs@GOTPAGEOFF]
	mov	x1, x19
	bl	_gdb_regs_to_pt_regs
	mov	x0, x19
	bl	_instruction_pointer
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_v2printk
	mov	x0, x19
	bl	_instruction_pointer
	cmp	x0, x20
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, _kgdbts_regs@GOTPAGE
Lloh10:
	ldr	x0, [x0, _kgdbts_regs@GOTPAGEOFF]
	bl	_instruction_pointer
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_eprintk
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_kgdbts_gdb_regs,8,3            ; @kgdbts_gdb_regs
	.comm	_NUMREGBYTES,4,2                ; @NUMREGBYTES
	.comm	_kgdbts_regs,4,2                ; @kgdbts_regs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Singlestep stopped at IP: %lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"kgdbts: SingleStep failed at %lx\n"

	.no_dead_strip	_check_single_step
.subsections_via_symbols
