	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function update_context
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_update_context:                        ## @update_context
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movslq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	movq	16(%r14), %rax
	movq	56(%r15), %rcx
	movq	_VAR_N@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movl	(%rbx), %edi
	movl	8(%r14), %esi
	callq	_TS2T
	movq	56(%r15), %rcx
	movq	_VAR_T@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movl	(%rbx), %edi
	callq	_TS2D
	jmp	LBB0_3
LBB0_2:
	movq	_NAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	56(%r15), %rdx
	movq	_VAR_N@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdx,%rsi,8)
	movq	(%rax), %rcx
	movq	56(%r15), %rdx
	movq	_VAR_T@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdx,%rsi,8)
	movq	(%rax), %rax
LBB0_3:
	movq	56(%r15), %rcx
	movq	_VAR_PTS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movl	72(%r15), %edi
	movq	56(%r15), %rsi
	xorl	%edx, %edx
	callq	_av_expr_eval
	movq	%rax, 24(%r15)
	movl	68(%r15), %edi
	movq	56(%r15), %rsi
	xorl	%edx, %edx
	callq	_av_expr_eval
	movq	%rax, 48(%r15)
	movl	64(%r15), %edi
	movq	56(%r15), %rsi
	xorl	%edx, %edx
	callq	_av_expr_eval
	movq	%rax, 40(%r15)
	movq	48(%r15), %rdi
	callq	_isnan
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	40(%r15), %rdi
	callq	_isnan
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	24(%r15), %rdi
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	_EVAL_MODE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
LBB0_7:
	movq	24(%r15), %rdi
	movq	_M_PI_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_av_clipf
	movq	%rax, 24(%r15)
	cmpq	$0, 16(%r15)
	movl	(%r14), %eax
	je	LBB0_15
## %bb.8:
	testl	%eax, %eax
	jle	LBB0_22
## %bb.9:
	movl	4(%r14), %ecx
	shlq	$2, -48(%rbp)                   ## 8-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%r12d
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	cmpl	%eax, %r12d
	jge	LBB0_22
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_get_natural_factor
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, (%r13,%rbx,4)
	incq	%rbx
	movslq	4(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_14
LBB0_15:
	testl	%eax, %eax
	jle	LBB0_22
## %bb.16:
	movl	4(%r14), %ecx
	shlq	$2, -48(%rbp)                   ## 8-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	incl	%r12d
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	cmpl	%eax, %r12d
	jge	LBB0_22
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_get_natural_factor
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, (%r13,%rbx,4)
	incq	%rbx
	movslq	4(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_21
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_N,8,3                      ## @VAR_N
	.comm	_VAR_T,8,3                      ## @VAR_T
	.comm	_VAR_PTS,8,3                    ## @VAR_PTS
	.comm	_NAN,8,3                        ## @NAN
	.comm	_EVAL_MODE_FRAME,4,2            ## @EVAL_MODE_FRAME
	.comm	_M_PI_2,4,2                     ## @M_PI_2
	.no_dead_strip	_update_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_context
_update_context:                        ; @update_context
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0]
	ldrsw	x22, [x0, #8]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x21, x2
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _VAR_N@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VAR_N@GOTPAGEOFF]
	ldr	x10, [x20, #56]
Lloh2:
	ldr	x9, [x9]
	str	x8, [x10, x9, lsl #3]
	ldr	w0, [x2]
	ldr	w1, [x19, #8]
	bl	_TS2T
	ldr	x8, [x20, #56]
Lloh3:
	adrp	x9, _VAR_T@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VAR_T@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	x0, [x8, x9, lsl #3]
	ldr	w0, [x21]
	bl	_TS2D
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _NAN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NAN@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh8:
	adrp	x10, _VAR_N@GOTPAGE
Lloh9:
	ldr	x10, [x10, _VAR_N@GOTPAGEOFF]
	ldr	x11, [x20, #56]
Lloh10:
	ldr	x10, [x10]
	str	x9, [x11, x10, lsl #3]
	ldr	x9, [x8]
	ldr	x10, [x20, #56]
Lloh11:
	adrp	x11, _VAR_T@GOTPAGE
Lloh12:
	ldr	x11, [x11, _VAR_T@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	str	x9, [x10, x11, lsl #3]
	ldr	x0, [x8]
LBB0_3:
Lloh14:
	adrp	x8, _VAR_PTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VAR_PTS@GOTPAGEOFF]
	ldr	x9, [x20, #56]
Lloh16:
	ldr	x8, [x8]
	str	x0, [x9, x8, lsl #3]
	ldr	w0, [x20, #72]
	ldr	x1, [x20, #56]
	mov	x2, #0
	bl	_av_expr_eval
	str	x0, [x20, #24]
	ldr	w0, [x20, #68]
	ldr	x1, [x20, #56]
	mov	x2, #0
	bl	_av_expr_eval
	str	x0, [x20, #48]
	ldr	w0, [x20, #64]
	ldr	x1, [x20, #56]
	mov	x2, #0
	bl	_av_expr_eval
	str	x0, [x20, #40]
	ldr	x0, [x20, #48]
	bl	_isnan
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	x0, [x20, #40]
	bl	_isnan
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x20, #24]
	bl	_isnan
	cbz	x0, LBB0_7
LBB0_6:
Lloh17:
	adrp	x8, _EVAL_MODE_FRAME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EVAL_MODE_FRAME@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x20, #32]
LBB0_7:
	ldr	x0, [x20, #24]
Lloh20:
	adrp	x8, _M_PI_2@GOTPAGE
Lloh21:
	ldr	x8, [x8, _M_PI_2@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_av_clipf
	str	x0, [x20, #24]
	ldr	x9, [x20, #16]
	ldr	w8, [x19]
	cmp	w8, #1
	cbz	x9, LBB0_15
; %bb.8:
	b.lt	LBB0_22
; %bb.9:
	mov	w21, #0
	ldr	w9, [x19, #4]
	lsl	x24, x22, #2
	fmov	d8, #1.00000000
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w21, w21, #1
	add	x23, x23, x24
	cmp	w21, w8
	b.ge	LBB0_22
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_get_natural_factor
	scvtf	d0, w0
	fdiv	d0, d8, d0
	fcvt	s0, d0
	str	s0, [x23, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x9, [x19, #4]
	cmp	x22, x9
	b.lt	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x19]
	b	LBB0_10
LBB0_15:
	b.lt	LBB0_22
; %bb.16:
	mov	w21, #0
	ldr	w9, [x19, #4]
	lsl	x24, x22, #2
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w21, w21, #1
	add	x23, x23, x24
	cmp	w21, w8
	b.ge	LBB0_22
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x22, #0
LBB0_20:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_get_natural_factor
	scvtf	s0, w0
	str	s0, [x23, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x9, [x19, #4]
	cmp	x22, x9
	b.lt	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x19]
	b	LBB0_17
LBB0_22:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VAR_N,8,3                      ; @VAR_N
	.comm	_VAR_T,8,3                      ; @VAR_T
	.comm	_VAR_PTS,8,3                    ; @VAR_PTS
	.comm	_NAN,8,3                        ; @NAN
	.comm	_EVAL_MODE_FRAME,4,2            ; @EVAL_MODE_FRAME
	.comm	_M_PI_2,4,2                     ; @M_PI_2
	.no_dead_strip	_update_context
.subsections_via_symbols
