	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_player                  ## -- Begin function update_player
	.p2align	4, 0x90
_update_player:                         ## @update_player
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	leaq	52(%rbx), %rdi
	leaq	28(%rbx), %rsi
	movl	$24, %edx
	movss	%xmm4, -28(%rbp)                ## 4-byte Spill
	movss	%xmm3, -24(%rbp)                ## 4-byte Spill
	movss	%xmm2, -20(%rbp)                ## 4-byte Spill
	movss	%xmm1, -16(%rbp)                ## 4-byte Spill
	movss	%xmm0, -12(%rbp)                ## 4-byte Spill
	callq	_memcpy
	movss	-12(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 28(%rbx)
	movss	-16(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 32(%rbx)
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 36(%rbx)
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 40(%rbx)
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 44(%rbx)
	xorl	%eax, %eax
	callq	_glfwGetTime
	movl	%eax, 48(%rbx)
	movss	40(%rbx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movq	_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorps	%xmm2, %xmm2
	cvtsi2ss	%eax, %xmm2
	movss	64(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm3
	subss	%xmm0, %xmm3
	ucomiss	%xmm2, %xmm3
	jbe	LBB0_3
## %bb.2:
	leal	(%rax,%rax), %ecx
	xorps	%xmm3, %xmm3
	cvtsi2ss	%ecx, %xmm3
	addss	%xmm3, %xmm0
	movss	%xmm0, 64(%rbx)
LBB0_3:
	movaps	%xmm0, %xmm3
	subss	%xmm1, %xmm3
	ucomiss	%xmm2, %xmm3
	jbe	LBB0_6
## %bb.4:
	addl	%eax, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	subss	%xmm1, %xmm0
	movss	%xmm0, 64(%rbx)
	jmp	LBB0_6
LBB0_5:
	movss	%xmm0, 4(%rbx)
	movss	%xmm1, 8(%rbx)
	movss	%xmm2, 12(%rbx)
	movss	%xmm3, 16(%rbx)
	movss	%xmm4, 20(%rbx)
	movl	(%rbx), %edi
	callq	_del_buffer
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	8(%rbx), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	movss	12(%rbx), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	movss	16(%rbx), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	movss	20(%rbx), %xmm4                 ## xmm4 = mem[0],zero,zero,zero
	callq	_gen_player_buffer
	movl	%eax, (%rbx)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PI,4,2                         ## @PI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_player                  ; -- Begin function update_player
	.p2align	2
_update_player:                         ; @update_player
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	fmov	s8, s4
	fmov	s9, s3
	fmov	s10, s2
	fmov	s11, s1
	fmov	s12, s0
	mov	x19, x0
	cbz	w1, LBB0_5
; %bb.1:
	add	x0, x19, #52
	add	x1, x19, #28
	mov	w2, #24
	bl	_memcpy
	stp	s12, s11, [x19, #28]
	stp	s10, s9, [x19, #36]
	str	s8, [x19, #44]
	bl	_glfwGetTime
	str	w0, [x19, #48]
	ldr	s1, [x19, #40]
	ldr	s0, [x19, #64]
Lloh0:
	adrp	x8, _PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PI@GOTPAGEOFF]
	fsub	s3, s1, s0
Lloh2:
	ldr	w8, [x8]
	scvtf	s2, w8
	fcmp	s3, s2
	lsl	w8, w8, #1
	b.le	LBB0_3
; %bb.2:
	scvtf	s3, w8
	fadd	s0, s0, s3
	str	s0, [x19, #64]
LBB0_3:
	fsub	s1, s0, s1
	fcmp	s1, s2
	b.le	LBB0_6
; %bb.4:
	scvtf	s1, w8
	fsub	s0, s0, s1
	str	s0, [x19, #64]
	b	LBB0_6
LBB0_5:
	str	s12, [x19, #4]
	str	s11, [x19, #8]
	str	s10, [x19, #12]
	str	s9, [x19, #16]
	str	s8, [x19, #20]
	ldr	w0, [x19]
	bl	_del_buffer
	ldp	s0, s1, [x19, #4]
	ldp	s2, s3, [x19, #12]
	ldr	s4, [x19, #20]
	bl	_gen_player_buffer
	str	w0, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PI,4,2                         ; @PI
.subsections_via_symbols
