	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpm_pctl_action_next
_fpm_pctl_action_next:                  ## @fpm_pctl_action_next
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_fpm_globals@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_fpm_pctl_action_last
LBB0_2:
	movq	_fpm_signal_sent@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	_SIGQUIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_fpm_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FPM_PCTL_STATE_TERMINATING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_SIGKILL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ebx
	movl	$1, %r14d
	jmp	LBB0_11
LBB0_4:
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ebx
	movq	_fpm_global_config@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_11:
	movl	%ebx, %edi
	callq	_fpm_pctl_kill_all
	movslq	%ebx, %rax
	movq	%rax, (%r15)
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fpm_pctl_timeout_set           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_globals,4,2                ## @fpm_globals
	.comm	_fpm_signal_sent,8,3            ## @fpm_signal_sent
	.comm	_fpm_state,8,3                  ## @fpm_state
	.comm	_FPM_PCTL_STATE_TERMINATING,8,3 ## @FPM_PCTL_STATE_TERMINATING
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGQUIT,8,3                    ## @SIGQUIT
	.comm	_fpm_global_config,4,2          ## @fpm_global_config
	.comm	_SIGKILL,4,2                    ## @SIGKILL
	.no_dead_strip	_fpm_pctl_action_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpm_pctl_action_next
_fpm_pctl_action_next:                  ; @fpm_pctl_action_next
	.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
Lloh0:
	adrp	x8, _fpm_globals@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpm_globals@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_fpm_pctl_action_last
LBB0_2:
Lloh3:
	adrp	x21, _fpm_signal_sent@GOTPAGE
Lloh4:
	ldr	x21, [x21, _fpm_signal_sent@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x9, _SIGQUIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SIGQUIT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _SIGTERM@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SIGTERM@GOTPAGEOFF]
Lloh10:
	adrp	x11, _SIGKILL@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SIGKILL@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w19, [x8]
	mov	w20, #1
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _fpm_state@GOTPAGE
Lloh13:
	ldr	x8, [x8, _fpm_state@GOTPAGEOFF]
Lloh14:
	adrp	x9, _FPM_PCTL_STATE_TERMINATING@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FPM_PCTL_STATE_TERMINATING@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _SIGTERM@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SIGTERM@GOTPAGEOFF]
Lloh20:
	adrp	x11, _SIGQUIT@GOTPAGE
Lloh21:
	ldr	x11, [x11, _SIGQUIT@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w19, [x8]
Lloh22:
	adrp	x8, _fpm_global_config@GOTPAGE
Lloh23:
	ldr	x8, [x8, _fpm_global_config@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
LBB0_5:
	mov	x0, x19
	bl	_fpm_pctl_kill_all
	sxtw	x8, w19
	str	x8, [x21]
	mov	x0, x20
	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
	b	_fpm_pctl_timeout_set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_globals,4,2                ; @fpm_globals
	.comm	_fpm_signal_sent,8,3            ; @fpm_signal_sent
	.comm	_fpm_state,8,3                  ; @fpm_state
	.comm	_FPM_PCTL_STATE_TERMINATING,8,3 ; @FPM_PCTL_STATE_TERMINATING
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGQUIT,8,3                    ; @SIGQUIT
	.comm	_fpm_global_config,4,2          ; @fpm_global_config
	.comm	_SIGKILL,4,2                    ; @SIGKILL
	.no_dead_strip	_fpm_pctl_action_next
.subsections_via_symbols
