	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function step
_step:                                  ## @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
	movl	%edi, %ebx
	movq	_PTRACE_SINGLESTEP@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	xorl	%r14d, %r14d
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	leaq	-28(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_waitpid
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	movl	-28(%rbp), %edi
	callq	_WIFSTOPPED
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	-28(%rbp), %edi
	callq	_WSTOPSIG
	movq	_SIGTRAP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movl	-28(%rbp), %edi
	callq	_WSTOPSIG
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_printk
	movl	(%r15), %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_ptrace
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	leaq	-28(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_waitpid
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	movl	$1, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTRACE_SINGLESTEP,4,2          ## @PTRACE_SINGLESTEP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ptrace step"

L_.str.1:                               ## @.str.1
	.asciz	"wait step"

	.comm	_SIGTRAP,4,2                    ## @SIGTRAP
L_.str.2:                               ## @.str.2
	.asciz	"child received signal %d\n"

	.no_dead_strip	_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function step
_step:                                  ; @step
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _PTRACE_SINGLESTEP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PTRACE_SINGLESTEP@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, #0
	mov	w3, #0
	bl	_ptrace
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trycall
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #0
	bl	_waitpid
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trycall
	ldr	w0, [sp, #12]
	bl	_WIFSTOPPED
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_WSTOPSIG
Lloh6:
	adrp	x8, _SIGTRAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGTRAP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldr	w0, [sp, #12]
	bl	_WSTOPSIG
	mov	x20, x0
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_printk
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, #0
	mov	x3, x20
	bl	_ptrace
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trycall
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #0
	bl	_waitpid
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trycall
	mov	w0, #1
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PTRACE_SINGLESTEP,4,2          ; @PTRACE_SINGLESTEP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ptrace step"

l_.str.1:                               ; @.str.1
	.asciz	"wait step"

	.comm	_SIGTRAP,4,2                    ; @SIGTRAP
l_.str.2:                               ; @.str.2
	.asciz	"child received signal %d\n"

	.no_dead_strip	_step
.subsections_via_symbols
