	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_run                        ## -- Begin function fpm_run
	.p2align	4, 0x90
_fpm_run:                               ## @fpm_run
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_fpm_worker_all_pools@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	_FPM_PCTL_STATE_TERMINATING@GOTPCREL(%rip), %r15
	movq	_FPM_PCTL_ACTION_SET@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_fpm_pctl
	movl	$1, %edi
	callq	_fpm_event_loop
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_fpm_children_create_initial
	cmpl	$2, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_6:
	xorl	%edi, %edi
	callq	_fpm_event_loop
LBB0_7:
	movq	_FPM_CLEANUP_CHILD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fpm_cleanups_run
	movq	_fpm_globals@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	movl	4(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_worker_all_pools,8,3       ## @fpm_worker_all_pools
	.comm	_FPM_PCTL_STATE_TERMINATING,4,2 ## @FPM_PCTL_STATE_TERMINATING
	.comm	_FPM_PCTL_ACTION_SET,4,2        ## @FPM_PCTL_ACTION_SET
	.comm	_FPM_CLEANUP_CHILD,4,2          ## @FPM_CLEANUP_CHILD
	.comm	_fpm_globals,8,2                ## @fpm_globals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_run                        ; -- Begin function fpm_run
	.p2align	2
_fpm_run:                               ; @fpm_run
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x8, _fpm_worker_all_pools@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpm_worker_all_pools@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cbz	x20, LBB0_6
; %bb.1:
Lloh3:
	adrp	x21, _FPM_PCTL_STATE_TERMINATING@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FPM_PCTL_STATE_TERMINATING@GOTPAGEOFF]
Lloh5:
	adrp	x22, _FPM_PCTL_ACTION_SET@GOTPAGE
Lloh6:
	ldr	x22, [x22, _FPM_PCTL_ACTION_SET@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_fpm_pctl
	mov	w0, #1
	bl	_fpm_event_loop
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20]
	cbz	x20, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_fpm_children_create_initial
	cmp	w0, #2
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w0, LBB0_3
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	bl	_fpm_event_loop
LBB0_7:
Lloh7:
	adrp	x8, _FPM_CLEANUP_CHILD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FPM_CLEANUP_CHILD@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_fpm_cleanups_run
Lloh10:
	adrp	x8, _fpm_globals@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fpm_globals@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [x19]
	ldr	w0, [x8, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_worker_all_pools,8,3       ; @fpm_worker_all_pools
	.comm	_FPM_PCTL_STATE_TERMINATING,4,2 ; @FPM_PCTL_STATE_TERMINATING
	.comm	_FPM_PCTL_ACTION_SET,4,2        ; @FPM_PCTL_ACTION_SET
	.comm	_FPM_CLEANUP_CHILD,4,2          ; @FPM_CLEANUP_CHILD
	.comm	_fpm_globals,8,2                ; @fpm_globals
.subsections_via_symbols
