	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readQuadInfo
_readQuadInfo:                          ## @readQuadInfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %edx
	shll	$8, %edx
	addl	(%rdi), %edx
	movq	_currentHandle@GOTPCREL(%rip), %rax
	movq	_cinTable@GOTPCREL(%rip), %r8
	imulq	$88, (%rax), %rax
	movq	(%r8), %rsi
	movl	%edx, (%rsi,%rax)
	movl	12(%rdi), %r9d
	shll	$8, %r9d
	addl	8(%rdi), %r9d
	movl	%r9d, 4(%rsi,%rax)
	movl	20(%rdi), %ecx
	shll	$8, %ecx
	addl	16(%rdi), %ecx
	movl	%ecx, 8(%rsi,%rax)
	movl	28(%rdi), %ecx
	shll	$8, %ecx
	addl	24(%rdi), %ecx
	movl	%ecx, 12(%rsi,%rax)
	movl	%r9d, 16(%rsi,%rax)
	movl	%edx, 20(%rsi,%rax)
	imull	28(%rsi,%rax), %edx
	movl	%edx, 24(%rsi,%rax)
	imull	%r9d, %edx
	movl	%edx, 32(%rsi,%rax)
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, 80(%rsi,%rax)
	movq	(%rcx), %rcx
	movq	(%r8), %rdx
	movq	%rcx, 72(%rdx,%rax)
	movq	(%r8), %rcx
	movl	64(%rcx,%rax), %edx
	movl	%edx, 68(%rcx,%rax)
	movl	56(%rcx,%rax), %edx
	movl	%edx, 60(%rcx,%rax)
	movl	32(%rcx,%rax), %edx
	movq	40(%rcx,%rax), %rsi
	movl	%edx, (%rsi)
	xorl	%edx, %edx
	subl	32(%rcx,%rax), %edx
	movl	%edx, 4(%rsi)
	movl	16(%rcx,%rax), %r9d
	movl	20(%rcx,%rax), %esi
	movl	%esi, 48(%rcx,%rax)
	movl	%r9d, 52(%rcx,%rax)
	movq	_cls@GOTPCREL(%rip), %r8
	movq	(%r8), %rdi
	movq	_GLHW_RAGEPRO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_2
## %bb.1:
	cmpl	$256, 8(%r8)                    ## imm = 0x100
	jle	LBB0_2
LBB0_9:
	popq	%rbp
	retq
LBB0_2:
	cmpl	$257, %esi                      ## imm = 0x101
	jl	LBB0_4
## %bb.3:
	leaq	(%rcx,%rax), %rdx
	addq	$48, %rdx
	movl	$256, (%rdx)                    ## imm = 0x100
LBB0_4:
	cmpl	$257, %r9d                      ## imm = 0x101
	jl	LBB0_7
## %bb.5:
	addq	%rcx, %rax
	addq	$52, %rax
	movl	$256, (%rax)                    ## imm = 0x100
LBB0_6:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_7:
	cmpl	$256, %esi                      ## imm = 0x100
	jne	LBB0_6
## %bb.8:
	cmpl	$256, %r9d                      ## imm = 0x100
	je	LBB0_9
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_currentHandle,8,3              ## @currentHandle
	.comm	_cinTable,8,3                   ## @cinTable
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_cls,16,3                       ## @cls
	.comm	_GLHW_RAGEPRO,8,3               ## @GLHW_RAGEPRO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HACK: approxmimating cinematic for Rage Pro or Voodoo\n"

	.no_dead_strip	_readQuadInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readQuadInfo
_readQuadInfo:                          ; @readQuadInfo
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _currentHandle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _currentHandle@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w9, w10, [x0]
Lloh3:
	adrp	x11, _cinTable@GOTPAGE
Lloh4:
	ldr	x11, [x11, _cinTable@GOTPAGEOFF]
	add	w9, w9, w10, lsl #8
	ldr	x10, [x11]
	mov	w12, #88
	mul	x8, x8, x12
	add	x10, x10, x8
	str	w9, [x10]
	ldp	w12, w13, [x0, #8]
	add	w12, w12, w13, lsl #8
	str	w12, [x10, #4]
	ldp	w13, w14, [x0, #16]
	add	w13, w13, w14, lsl #8
	str	w13, [x10, #8]
	ldp	w13, w14, [x0, #24]
	add	w13, w13, w14, lsl #8
	stp	w13, w12, [x10, #12]
	ldr	w13, [x10, #28]
	mul	w13, w13, w9
	stp	w9, w13, [x10, #20]
	mul	w9, w13, w12
	str	w9, [x10, #32]
Lloh5:
	adrp	x9, _qfalse@GOTPAGE
Lloh6:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
	ldr	x12, [x9]
	str	x12, [x10, #80]
	ldr	x9, [x9]
	ldr	x10, [x11]
	add	x10, x10, x8
	str	x9, [x10, #72]
	ldr	x9, [x11]
	add	x8, x9, x8
	ldr	w9, [x8, #64]
	str	w9, [x8, #68]
	ldr	w9, [x8, #56]
	str	w9, [x8, #60]
	ldr	w9, [x8, #32]
	ldr	x10, [x8, #40]
	str	w9, [x10]
	ldr	w9, [x8, #32]
	neg	w9, w9
	str	w9, [x10, #4]
	ldr	w9, [x8, #16]
	str	w9, [x8, #52]!
	ldur	w10, [x8, #-32]
	mov	x11, x8
	str	w10, [x11, #-4]!
Lloh7:
	adrp	x12, _cls@GOTPAGE
Lloh8:
	ldr	x12, [x12, _cls@GOTPAGEOFF]
	ldr	x13, [x12]
Lloh9:
	adrp	x14, _GLHW_RAGEPRO@GOTPAGE
Lloh10:
	ldr	x14, [x14, _GLHW_RAGEPRO@GOTPAGEOFF]
Lloh11:
	ldr	x14, [x14]
	cmp	x13, x14
	b.eq	LBB0_3
; %bb.1:
	ldr	w12, [x12, #8]
	cmp	w12, #256
	b.le	LBB0_3
LBB0_2:
	ret
LBB0_3:
	cmp	w10, #257
	b.lt	LBB0_5
; %bb.4:
	mov	w12, #256
	str	w12, [x11]
LBB0_5:
	cmp	w9, #257
	b.lt	LBB0_8
; %bb.6:
	mov	w9, #256
	str	w9, [x8]
LBB0_7:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	b	_Com_Printf
LBB0_8:
	cmp	w10, #256
	b.ne	LBB0_7
; %bb.9:
	cmp	w9, #256
	b.eq	LBB0_2
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_currentHandle,8,3              ; @currentHandle
	.comm	_cinTable,8,3                   ; @cinTable
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_cls,16,3                       ; @cls
	.comm	_GLHW_RAGEPRO,8,3               ; @GLHW_RAGEPRO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HACK: approxmimating cinematic for Rage Pro or Voodoo\n"

	.no_dead_strip	_readQuadInfo
.subsections_via_symbols
