	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_resume_one_process
_fbsd_resume_one_process:               ## @fbsd_resume_one_process
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_28
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r13
	testl	%edx, %edx
	je	LBB0_6
## %bb.2:
	cmpq	$0, 40(%r13)
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 24(%r13)
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 8(%r13)
	je	LBB0_6
LBB0_5:
	movl	$16, %edi
	callq	_malloc
	movq	24(%r13), %rcx
	movq	%rcx, 8(%rax)
	movl	%r14d, (%rax)
	movq	%rax, 24(%r13)
LBB0_6:
	cmpq	$0, 40(%r13)
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	callq	_check_removed_breakpoint
	testl	%eax, %eax
	je	LBB0_28
LBB0_8:
	movq	_current_inferior@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	%r13, %rdi
	callq	_get_process_thread
	movq	%rax, (%r12)
	movq	_debug_threads@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_inferior_pid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	cmpq	$0, 32(%r13)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r9
	cmoveq	%rax, %r9
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
LBB0_10:
	movq	8(%r13), %rdx
	testq	%rdx, %rdx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.12:
	movq	_debug_threads@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_14:
	movl	$1, %r12d
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	jne	LBB0_16
## %bb.15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_16
LBB0_11:
	movl	%r15d, %r12d
	movq	_debug_threads@GOTPCREL(%rip), %rbx
LBB0_16:
	movq	%r13, %rdi
	callq	_check_removed_breakpoint
	cmpq	$0, (%rbx)
	je	LBB0_19
## %bb.17:
	movq	_the_low_target@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_19
## %bb.18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	*(%r15)
LBB0_19:
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:
	cmpq	$0, 8(%r13)
	jne	LBB0_24
## %bb.21:
	leaq	24(%r13), %rcx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	movq	%rax, %rdi
	leaq	8(%rax), %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_22
## %bb.23:
	movl	(%rdi), %r14d
	callq	_free
	movq	$0, (%rbx)
LBB0_24:
	movq	%r13, %rdi
	callq	_get_process_thread
	movq	%rax, %rdi
	callq	_regcache_invalidate_one
	movq	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	$0, (%r13)
	movl	%r12d, 16(%r13)
	testl	%r12d, %r12d
	jne	LBB0_25
## %bb.26:
	movq	_PT_CONTINUE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_25:
	movq	_PT_STEP@GOTPCREL(%rip), %rax
LBB0_27:
	movq	_current_inferior@GOTPCREL(%rip), %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	20(%r13), %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	callq	_ptrace
	movq	%rbx, (%r12)
	cmpq	$0, (%r15)
	je	LBB0_28
## %bb.29:
	leaq	L_.str.8(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_perror_with_name               ## TAILCALL
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_inferior,8,3           ## @current_inferior
	.comm	_debug_threads,8,3              ## @debug_threads
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Resuming process %d (%s, signal %d, stop %s)\n"

	.comm	_inferior_pid,4,2               ## @inferior_pid
L_.str.1:                               ## @.str.1
	.asciz	"step"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"not expected"

L_.str.5:                               ## @.str.5
	.asciz	"  pending reinsert at %08lx"

L_.str.6:                               ## @.str.6
	.asciz	"BAD - reinserting but not stepping.\n"

	.comm	_the_low_target,8,3             ## @the_low_target
L_.str.7:                               ## @.str.7
	.asciz	"  "

	.comm	_errno,8,3                      ## @errno
	.comm	_PT_STEP,4,2                    ## @PT_STEP
	.comm	_PT_CONTINUE,4,2                ## @PT_CONTINUE
L_.str.8:                               ## @.str.8
	.asciz	"ptrace"

	.no_dead_strip	_fbsd_resume_one_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_resume_one_process
_fbsd_resume_one_process:               ; @fbsd_resume_one_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	cbz	x8, LBB0_24
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cbz	w2, LBB0_6
; %bb.2:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
LBB0_5:
	mov	w0, #16
	bl	_malloc
	ldr	x8, [x19, #24]
	str	x8, [x0, #8]
	str	w21, [x0]
	str	x0, [x19, #24]
LBB0_6:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_check_removed_breakpoint
	cbz	w0, LBB0_24
LBB0_8:
Lloh0:
	adrp	x22, _current_inferior@GOTPAGE
Lloh1:
	ldr	x22, [x22, _current_inferior@GOTPAGEOFF]
	ldr	x23, [x22]
	mov	x0, x19
	bl	_get_process_thread
	str	x0, [x22]
Lloh2:
	adrp	x25, _debug_threads@GOTPAGE
Lloh3:
	ldr	x25, [x25, _debug_threads@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh4:
	adrp	x24, _stderr@GOTPAGE
Lloh5:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w0, [x24]
Lloh6:
	adrp	x8, _inferior_pid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _inferior_pid@GOTPAGEOFF]
Lloh8:
	adrp	x9, l_.str.1@PAGE
Lloh9:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh10:
	adrp	x10, l_.str.2@PAGE
Lloh11:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x9, x10, x9, eq
Lloh12:
	adrp	x10, l_.str.3@PAGE
Lloh13:
	add	x10, x10, l_.str.3@PAGEOFF
	ldr	x11, [x19, #32]
Lloh14:
	adrp	x12, l_.str.4@PAGE
Lloh15:
	add	x12, x12, l_.str.4@PAGEOFF
	cmp	x11, #0
	csel	x10, x12, x10, eq
Lloh16:
	ldr	w8, [x8]
	stp	x21, x10, [sp, #16]
	stp	x8, x9, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.11:
	ldr	x9, [x25]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	w0, [x24]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
LBB0_13:
	cbnz	w20, LBB0_15
; %bb.14:
	ldr	w0, [x24]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_15:
	mov	w21, #0
	mov	w20, #1
LBB0_16:
	mov	x0, x19
	bl	_check_removed_breakpoint
	ldr	x8, [x25]
Lloh23:
	adrp	x25, _the_low_target@GOTPAGE
Lloh24:
	ldr	x25, [x25, _the_low_target@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_18
; %bb.17:
	ldr	w0, [x24]
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	ldr	x8, [x25]
	blr	x8
LBB0_18:
	mov	x8, x19
	ldr	x9, [x8, #24]!
	cbz	x9, LBB0_22
; %bb.19:
	ldr	x10, [x19, #8]
	cbnz	x10, LBB0_22
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x24, x8
	mov	x0, x9
	mov	x8, x9
	ldr	x9, [x8, #8]!
	cbnz	x9, LBB0_20
; %bb.21:
	ldr	w21, [x0]
	bl	_free
	str	xzr, [x24]
LBB0_22:
	mov	x0, x19
	bl	_get_process_thread
	bl	_regcache_invalidate_one
Lloh27:
	adrp	x24, _errno@GOTPAGE
Lloh28:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
	str	xzr, [x24]
	str	xzr, [x19]
	str	w20, [x19, #16]
Lloh29:
	adrp	x8, _PT_STEP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PT_STEP@GOTPAGEOFF]
Lloh31:
	adrp	x9, _PT_CONTINUE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PT_CONTINUE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldr	w1, [x19, #20]
	mov	w2, #1
	mov	x3, x21
	bl	_ptrace
	str	x23, [x22]
	ldr	x8, [x24]
	cbz	x8, LBB0_24
; %bb.23:
Lloh33:
	adrp	x0, l_.str.8@PAGE
Lloh34:
	add	x0, x0, l_.str.8@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_perror_with_name
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_current_inferior,8,3           ; @current_inferior
	.comm	_debug_threads,8,3              ; @debug_threads
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Resuming process %d (%s, signal %d, stop %s)\n"

	.comm	_inferior_pid,4,2               ; @inferior_pid
l_.str.1:                               ; @.str.1
	.asciz	"step"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"not expected"

l_.str.5:                               ; @.str.5
	.asciz	"  pending reinsert at %08lx"

l_.str.6:                               ; @.str.6
	.asciz	"BAD - reinserting but not stepping.\n"

	.comm	_the_low_target,8,3             ; @the_low_target
l_.str.7:                               ; @.str.7
	.asciz	"  "

	.comm	_errno,8,3                      ; @errno
	.comm	_PT_STEP,4,2                    ; @PT_STEP
	.comm	_PT_CONTINUE,4,2                ; @PT_CONTINUE
l_.str.8:                               ; @.str.8
	.asciz	"ptrace"

	.no_dead_strip	_fbsd_resume_one_process
.subsections_via_symbols
