	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_set_resume_request
_fbsd_set_resume_request:               ## @fbsd_set_resume_request
	.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
	movq	%rdi, %rbx
	callq	_get_thread_process
	movq	_resume_ptr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %esi
	cmpl	$-1, %esi
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, %esi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rcx,%rdx,4), %esi
	incq	%rdx
	cmpl	$-1, %esi
	jne	LBB0_3
LBB0_5:
	movl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	xorl	%edx, %edx
LBB0_6:
	leaq	(%rcx,%rdx,4), %rcx
	movq	%rcx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_resume_ptr,8,3                 ## @resume_ptr
	.no_dead_strip	_fbsd_set_resume_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_set_resume_request
_fbsd_set_resume_request:               ; @fbsd_set_resume_request
	.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
	mov	x19, x0
	bl	_get_thread_process
Lloh0:
	adrp	x8, _resume_ptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _resume_ptr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w10, [x8]
	cmn	w10, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x11, #0
	ldr	w9, [x19]
	add	x12, x8, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, w9
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x13, x11, #1
	ldr	w10, [x12, x11, lsl #2]
	mov	x11, x13
	cmn	w10, #1
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	x9, #0
	b	LBB0_7
LBB0_5:
	mov	x13, x11
LBB0_6:
	and	x9, x13, #0xffffffff
LBB0_7:
	add	x8, x8, x9, lsl #2
	str	x8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_resume_ptr,8,3                 ; @resume_ptr
	.no_dead_strip	_fbsd_set_resume_request
.subsections_via_symbols
