	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_resume
_fbsd_resume:                           ## @fbsd_resume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_resume_ptr@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_fbsd_set_resume_request@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_all_threads@GOTPCREL(%rip), %rdi
	callq	_for_each_inferior
	movl	$0, -4(%rbp)
	movq	_resume_status_pending_p@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_all_processes@GOTPCREL(%rip), %rdi
	leaq	-4(%rbp), %rdx
	callq	_find_inferior
	movq	_debug_threads@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	cmpl	$0, -4(%rbp)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_fprintf
LBB0_2:
	cmpl	$0, -4(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_fbsd_queue_one_thread@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_block_async_io
	xorl	%eax, %eax
	callq	_enable_async_io
	movq	_fbsd_continue_one_thread@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	_all_threads@GOTPCREL(%rip), %rdi
	callq	_for_each_inferior
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_resume_ptr,8,3                 ## @resume_ptr
	.comm	_all_threads,4,2                ## @all_threads
	.comm	_fbsd_set_resume_request,4,2    ## @fbsd_set_resume_request
	.comm	_all_processes,4,2              ## @all_processes
	.comm	_resume_status_pending_p,4,2    ## @resume_status_pending_p
	.comm	_debug_threads,8,3              ## @debug_threads
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not resuming, pending status\n"

L_.str.1:                               ## @.str.1
	.asciz	"Resuming, no pending status\n"

	.comm	_fbsd_queue_one_thread,4,2      ## @fbsd_queue_one_thread
	.comm	_fbsd_continue_one_thread,4,2   ## @fbsd_continue_one_thread
	.no_dead_strip	_fbsd_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_resume
_fbsd_resume:                           ; @fbsd_resume
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _resume_ptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _resume_ptr@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _fbsd_set_resume_request@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fbsd_set_resume_request@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _all_threads@GOTPAGE
Lloh7:
	ldr	x0, [x0, _all_threads@GOTPAGEOFF]
	bl	_for_each_inferior
	stur	wzr, [x29, #-4]
Lloh8:
	adrp	x8, _resume_status_pending_p@GOTPAGE
Lloh9:
	ldr	x8, [x8, _resume_status_pending_p@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x0, _all_processes@GOTPAGE
Lloh12:
	ldr	x0, [x0, _all_processes@GOTPAGEOFF]
	sub	x2, x29, #4
	bl	_find_inferior
Lloh13:
	adrp	x8, _debug_threads@GOTPAGE
Lloh14:
	ldr	x8, [x8, _debug_threads@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldur	w8, [x29, #-4]
Lloh16:
	adrp	x9, _stderr@GOTPAGE
Lloh17:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
Lloh19:
	adrp	x9, l_.str@PAGE
Lloh20:
	add	x9, x9, l_.str@PAGEOFF
Lloh21:
	adrp	x10, l_.str.1@PAGE
Lloh22:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #0
	csel	x1, x10, x9, eq
	bl	_fprintf
LBB0_2:
	ldur	w8, [x29, #-4]
	cbz	w8, LBB0_4
; %bb.3:
Lloh23:
	adrp	x8, _fbsd_queue_one_thread@GOTPAGE
Lloh24:
	ldr	x8, [x8, _fbsd_queue_one_thread@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	bl	_block_async_io
	bl	_enable_async_io
Lloh25:
	adrp	x8, _fbsd_continue_one_thread@GOTPAGE
Lloh26:
	ldr	x8, [x8, _fbsd_continue_one_thread@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
Lloh27:
	adrp	x0, _all_threads@GOTPAGE
Lloh28:
	ldr	x0, [x0, _all_threads@GOTPAGEOFF]
	bl	_for_each_inferior
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_resume_ptr,8,3                 ; @resume_ptr
	.comm	_all_threads,4,2                ; @all_threads
	.comm	_fbsd_set_resume_request,4,2    ; @fbsd_set_resume_request
	.comm	_all_processes,4,2              ; @all_processes
	.comm	_resume_status_pending_p,4,2    ; @resume_status_pending_p
	.comm	_debug_threads,8,3              ; @debug_threads
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not resuming, pending status\n"

l_.str.1:                               ; @.str.1
	.asciz	"Resuming, no pending status\n"

	.comm	_fbsd_queue_one_thread,4,2      ; @fbsd_queue_one_thread
	.comm	_fbsd_continue_one_thread,4,2   ; @fbsd_continue_one_thread
	.no_dead_strip	_fbsd_resume
.subsections_via_symbols
