	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iforce_upload_periodic         ## -- Begin function iforce_upload_periodic
	.p2align	4, 0x90
_iforce_upload_periodic:                ## @iforce_upload_periodic
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movslq	(%rsi), %rax
	movq	(%rdi), %rcx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,4), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rax,4), %r15
	addq	$8, %r15
	leaq	(%rcx,%rax,4), %rax
	addq	$4, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_need_period_modifier
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	xorl	%edx, %edx
	testq	%r13, %r13
	setne	%dl
	movl	56(%rbx), %ecx
	movl	52(%rbx), %r8d
	movl	44(%rbx), %eax
	movl	48(%rbx), %r9d
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r15, %rsi
	pushq	%rax
	callq	_make_period_modifier
	addq	$16, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:
	movq	_FF_MOD1_IS_USED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_set_bit
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r12d
	testq	%r13, %r13
	jne	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_5:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_need_envelope_modifier
	movl	$1, %r12d
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	movl	40(%rbx), %ecx
	movl	36(%rbx), %r8d
	movl	28(%rbx), %eax
	movl	32(%rbx), %r9d
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	pushq	%rax
	callq	_make_envelope_modifier
	addq	$16, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	movq	_FF_MOD2_IS_USED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_set_bit
	xorl	%r12d, %r12d
LBB0_8:
	movl	24(%rbx), %eax
	addl	$-128, %eax
	movl	$32, %r8d
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.9:
	cltq
	leaq	l_switch.table.iforce_upload_periodic(%rip), %rcx
	movl	(%rcx,%rax,4), %r8d
LBB0_10:
	testq	%r13, %r13
	je	LBB0_13
## %bb.11:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r8d, %r13d
	callq	_need_core
	movl	%r13d, %r8d
	testq	%rax, %rax
	je	LBB0_12
LBB0_13:
	movl	(%r15), %edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	20(%rbx), %r10d
	movl	16(%rbx), %r11d
	movl	12(%rbx), %r15d
	movl	8(%rbx), %eax
	movl	(%rbx), %esi
	movl	4(%rbx), %ebx
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	$32, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%r15
	pushq	%r11
	pushq	%r10
	callq	_make_core
	addq	$48, %rsp
	andl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	testl	%eax, %eax
	cmovsl	%eax, %r12d
	jmp	LBB0_14
LBB0_12:
	andl	-44(%rbp), %r12d                ## 4-byte Folded Reload
LBB0_14:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_MOD1_IS_USED,4,2            ## @FF_MOD1_IS_USED
	.comm	_FF_MOD2_IS_USED,4,2            ## @FF_MOD2_IS_USED
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.iforce_upload_periodic
l_switch.table.iforce_upload_periodic:
	.long	33                              ## 0x21
	.long	32                              ## 0x20
	.long	34                              ## 0x22
	.long	35                              ## 0x23
	.long	36                              ## 0x24

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iforce_upload_periodic         ; -- Begin function iforce_upload_periodic
	.p2align	2
_iforce_upload_periodic:                ; @iforce_upload_periodic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldrsw	x8, [x1]
	ldr	x9, [x0]
	mov	w10, #12
	madd	x25, x8, x10, x9
	add	x22, x25, #8
	add	x23, x25, #4
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_need_period_modifier
	cbz	x0, LBB0_4
LBB0_2:
	cmp	x21, #0
	cset	w2, ne
	ldp	w4, w3, [x20, #52]
	ldp	w6, w5, [x20, #44]
	mov	x0, x19
	mov	x1, x22
	bl	_make_period_modifier
	cbnz	w0, LBB0_14
; %bb.3:
Lloh0:
	adrp	x8, _FF_MOD1_IS_USED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_MOD1_IS_USED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_set_bit
	mov	w26, #0
	mov	w24, #0
	cbnz	x21, LBB0_5
	b	LBB0_6
LBB0_4:
	mov	w26, #1
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_need_envelope_modifier
	mov	w24, #1
	cbz	x0, LBB0_8
LBB0_6:
	ldp	w4, w3, [x20, #36]
	ldp	w6, w5, [x20, #28]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_make_envelope_modifier
	cbnz	w0, LBB0_14
; %bb.7:
Lloh3:
	adrp	x8, _FF_MOD2_IS_USED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FF_MOD2_IS_USED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_set_bit
	mov	w24, #0
LBB0_8:
	ldr	w8, [x20, #24]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.9:
Lloh6:
	adrp	x9, l_switch.table.iforce_upload_periodic@PAGE
Lloh7:
	add	x9, x9, l_switch.table.iforce_upload_periodic@PAGEOFF
	ldr	w25, [x9, w8, sxtw #2]
	cbnz	x21, LBB0_11
	b	LBB0_12
LBB0_10:
	mov	w25, #32
	cbz	x21, LBB0_12
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	bl	_need_core
	cbz	x0, LBB0_13
LBB0_12:
	ldr	w2, [x22]
	ldr	w3, [x23]
	ldp	w7, w6, [x20, #16]
	ldp	w9, w8, [x20, #8]
	ldp	w1, w10, [x20]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	mov	x0, x19
	mov	x4, x25
	mov	w5, #32
	bl	_make_core
	and	w8, w24, w26
	cmp	w0, #0
	csel	w0, w0, w8, lt
	b	LBB0_14
LBB0_13:
	and	w0, w24, w26
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_MOD1_IS_USED,4,2            ; @FF_MOD1_IS_USED
	.comm	_FF_MOD2_IS_USED,4,2            ; @FF_MOD2_IS_USED
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.iforce_upload_periodic
l_switch.table.iforce_upload_periodic:
	.long	33                              ; 0x21
	.long	32                              ; 0x20
	.long	34                              ; 0x22
	.long	35                              ; 0x23
	.long	36                              ; 0x24

.subsections_via_symbols
