	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bpstat_find_step_resume_breakpoint ## -- Begin function bpstat_find_step_resume_breakpoint
	.p2align	4, 0x90
_bpstat_find_step_resume_breakpoint:    ## @bpstat_find_step_resume_breakpoint
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pid_to_thread_id
	movq	_bp_step_resume@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rdx, (%rcx)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rcx), %esi
	cmpl	%eax, %esi
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %esi
	jne	LBB0_7
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_error
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pid_to_thread_id
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
                                        ## implicit-def: $rcx
LBB0_9:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Internal error (bpstat_find_step_resume_breakpoint)"

	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_bp_step_resume,8,3             ## @bp_step_resume
L_.str.1:                               ## @.str.1
	.asciz	"Internal error (no step_resume breakpoint found)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bpstat_find_step_resume_breakpoint ; -- Begin function bpstat_find_step_resume_breakpoint
	.p2align	2
_bpstat_find_step_resume_breakpoint:    ; @bpstat_find_step_resume_breakpoint
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_pid_to_thread_id
Lloh3:
	adrp	x8, _bp_step_resume@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bp_step_resume@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x8, #8]
	cmp	w10, w0
	ccmn	w10, #1, #4, ne
	b.ne	LBB0_2
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
Lloh8:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_pid_to_thread_id
LBB0_7:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
                                        ; implicit-def: $x8
LBB0_8:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Internal error (bpstat_find_step_resume_breakpoint)"

	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_bp_step_resume,8,3             ; @bp_step_resume
l_.str.1:                               ; @.str.1
	.asciz	"Internal error (no step_resume breakpoint found)"

.subsections_via_symbols
