	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs6000_software_single_step    ## -- Begin function rs6000_software_single_step
	.p2align	4, 0x90
_rs6000_software_single_step:           ## @rs6000_software_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
	movl	%esi, %ebx
	leaq	-32(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	_rs6000_breakpoint_from_pc
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.5:
	xorl	%eax, %eax
	callq	_read_pc
	movl	%eax, %r14d
	movl	%eax, %edi
	movl	$4, %esi
	callq	_read_memory_integer
	movl	-28(%rbp), %ebx
	addl	%r14d, %ebx
	movl	%eax, %edi
	sarl	$26, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_branch_dest
	cmpl	%ebx, %eax
	movl	$-1, %r14d
	cmovnel	%eax, %r14d
	movq	_stepBreaks@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	$0, 8(%rax)
	cmpl	$-1, %ebx
	je	LBB0_7
## %bb.6:
	movl	4(%rax), %esi
	movl	%ebx, %edi
	callq	_target_insert_breakpoint
	movq	(%r15), %rax
	movl	%ebx, (%rax)
LBB0_7:
	cmpl	$-1, %r14d
	je	LBB0_9
## %bb.8:
	movl	12(%rax), %esi
	movl	%r14d, %edi
	callq	_target_insert_breakpoint
	movq	(%r15), %rax
	movl	%r14d, 8(%rax)
	jmp	LBB0_9
LBB0_1:
	movq	_stepBreaks@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.2:
	movl	4(%rax), %esi
	callq	_target_remove_breakpoint
	movq	(%rbx), %rax
LBB0_3:
	movl	8(%rax), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.4:
	movl	12(%rax), %esi
	callq	_target_remove_breakpoint
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stepBreaks,8,3                 ## @stepBreaks
	.comm	_errno,8,3                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs6000_software_single_step    ; -- Begin function rs6000_software_single_step
	.p2align	2
_rs6000_software_single_step:           ; @rs6000_software_single_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, x1
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_rs6000_breakpoint_from_pc
	cbz	w19, LBB0_5
; %bb.1:
	bl	_read_pc
	mov	x19, x0
	mov	w1, #4
	bl	_read_memory_integer
	mov	x1, x0
	ldr	w8, [sp, #8]
	add	w20, w8, w19
	asr	w0, w0, #26
	mov	x2, x19
	mov	x3, x20
	bl	_branch_dest
	cmp	w0, w20
	csinv	w19, w0, wzr, ne
Lloh0:
	adrp	x21, _stepBreaks@GOTPAGE
Lloh1:
	ldr	x21, [x21, _stepBreaks@GOTPAGEOFF]
	ldr	x8, [x21]
	str	wzr, [x8, #8]
	cmn	w20, #1
	b.eq	LBB0_3
; %bb.2:
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_target_insert_breakpoint
	ldr	x8, [x21]
	str	w20, [x8]
LBB0_3:
	cmn	w19, #1
	b.eq	LBB0_9
; %bb.4:
	ldr	w1, [x8, #12]
	mov	x0, x19
	bl	_target_insert_breakpoint
	ldr	x8, [x21]
	str	w19, [x8, #8]
	b	LBB0_9
LBB0_5:
Lloh2:
	adrp	x19, _stepBreaks@GOTPAGE
Lloh3:
	ldr	x19, [x19, _stepBreaks@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8]
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w1, [x8, #4]
	bl	_target_remove_breakpoint
	ldr	x8, [x19]
LBB0_7:
	ldr	w0, [x8, #8]
	cbz	w0, LBB0_9
; %bb.8:
	ldr	w1, [x8, #12]
	bl	_target_remove_breakpoint
LBB0_9:
Lloh4:
	adrp	x8, _errno@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
	str	xzr, [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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_stepBreaks,8,3                 ; @stepBreaks
	.comm	_errno,8,3                      ; @errno
.subsections_via_symbols
