	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dxv_decompress_yo
_dxv_decompress_yo:                     ## @dxv_decompress_yo
	.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
	movl	$4168, %eax                     ## imm = 0x1048
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, %r12
	movl	%ecx, -4148(%rbp)               ## 4-byte Spill
	movq	%rdx, -4168(%rbp)               ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -4200(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_bytestream2_get_le32
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_bytestream2_get_le32
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_bytestream2_tell
	movl	%eax, -4152(%rbp)               ## 4-byte Spill
	leaq	-2096(%rbp), %rdi
	movl	$2048, %esi                     ## imm = 0x800
	callq	___bzero
	leaq	-4144(%rbp), %rdi
	movl	$2048, %esi                     ## imm = 0x800
	callq	___bzero
	movl	$0, -4176(%rbp)
	movl	$0, -4172(%rbp)
	cmpl	$8, %r13d
	jl	LBB0_2
## %bb.1:
	addl	$-8, %r13d
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	%eax, %r13d
	jg	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_bytestream2_skip
	cmpl	%r15d, %r14d
	jbe	LBB0_4
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%r15d, %eax
	addq	$4168, %rsp                     ## imm = 0x1048
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_dxv_decompress_opcodes
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_11
## %bb.5:
	movq	%r12, -4192(%rbp)               ## 8-byte Spill
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	-4152(%rbp), %esi               ## 4-byte Reload
	callq	_bytestream2_seek
	movq	%rbx, %rdi
	callq	_bytestream2_get_le32
	movq	%rax, -4160(%rbp)               ## 8-byte Spill
	movq	-4168(%rbp), %r12               ## 8-byte Reload
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_AV_WL32
	movq	%rbx, %rdi
	callq	_bytestream2_get_le32
	imull	$-1640531535, -4160(%rbp), %ecx ## 4-byte Folded Reload
                                        ## imm = 0x9E3779B1
	shrl	$21, %ecx
	andl	$-8, %ecx
	movq	%r12, -2096(%rbp,%rcx)
	leaq	16(%r12), %rdi
	movl	%eax, %esi
	callq	_AV_WL32
	leaq	8(%r12), %rdi
	movq	%rdi, -4160(%rbp)               ## 8-byte Spill
	callq	_AV_RL32
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	imull	$-1640531535, %eax, %eax        ## imm = 0x9E3779B1
	shrl	$24, %eax
	movq	-4160(%rbp), %rcx               ## 8-byte Reload
	movq	%rcx, -4144(%rbp,%rax,8)
	leaq	32(%r12), %rax
	movq	%rax, -4184(%rbp)
	cmpl	$9, -4148(%rbp)                 ## 4-byte Folded Reload
	jl	LBB0_10
## %bb.6:
	movslq	-4148(%rbp), %rax               ## 4-byte Folded Reload
	movq	-4168(%rbp), %rcx               ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-4200(%rbp), %rdi               ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-4168(%rbp), %rdx               ## 8-byte Reload
	movl	-4148(%rbp), %ecx               ## 4-byte Reload
	movq	-4192(%rbp), %r8                ## 8-byte Reload
	leaq	-4172(%rbp), %r9
	pushq	$0
	leaq	-4144(%rbp), %rax
	pushq	%rax
	leaq	-2096(%rbp), %rax
	pushq	%rax
	leaq	-4176(%rbp), %rax
	pushq	%rax
	leaq	-4184(%rbp), %rax
	pushq	%rax
	pushq	%r14
	callq	_dxv_decompress_cgo
	addq	$48, %rsp
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r12, -4184(%rbp)
	jb	LBB0_7
LBB0_10:
	addl	-4152(%rbp), %r13d              ## 4-byte Folded Reload
	addl	%r15d, %r13d
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_bytestream2_seek
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %r15d
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_dxv_decompress_yo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dxv_decompress_yo
_dxv_decompress_yo:                     ; @dxv_decompress_yo
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w9, #4160
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #64
	mov	x27, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	x0, x1
	bl	_bytestream2_get_le32
	mov	x26, x0
	mov	x0, x19
	bl	_bytestream2_get_le32
	mov	x24, x0
	mov	x0, x19
	bl	_bytestream2_tell
	mov	x25, x0
	add	x0, sp, #2096
	mov	w1, #2048
	bl	_bzero
	add	x0, sp, #48
	mov	w1, #2048
	bl	_bzero
	str	xzr, [sp, #32]
	subs	w26, w26, #8
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cmp	w26, w0
	b.gt	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x26
	bl	_bytestream2_skip
	cmp	w24, w27
	b.ls	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w27, [x8]
LBB0_4:
	ldur	x8, [x29, #-96]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.5:
	mov	x0, x27
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #64
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_dxv_decompress_opcodes
	mov	x27, x0
	tbnz	w0, #31, LBB0_4
; %bb.7:
Lloh11:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x25
	bl	_bytestream2_seek
	mov	x0, x19
	bl	_bytestream2_get_le32
	mov	x28, x0
	mov	x0, x22
	mov	x1, x28
	bl	_AV_WL32
	mov	x0, x19
	bl	_bytestream2_get_le32
	mov	x1, x0
	mov	w8, #31153
	movk	w8, #40503, lsl #16
	mul	w8, w28, w8
	lsr	w8, w8, #24
	add	x9, sp, #2096
	str	x22, [x9, w8, uxtw #3]
	add	x0, x22, #16
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_AV_WL32
	add	x28, x22, #8
	mov	x0, x28
	bl	_AV_RL32
	and	w8, w0, #0xffffff
	mov	w9, #31153
	movk	w9, #40503, lsl #16
	mul	w8, w8, w9
	lsr	w8, w8, #24
	add	x9, sp, #48
	str	x28, [x9, w8, uxtw #3]
	add	x8, x22, #32
	str	x8, [sp, #40]
	cmp	w21, #9
	b.lt	LBB0_11
; %bb.8:
	add	x28, x22, w21, sxtw #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [sp, #24]
	add	x8, sp, #48
	str	x8, [sp, #16]
	add	x5, sp, #32
	add	x7, sp, #40
	add	x8, sp, #2096
	str	x8, [sp, #8]
	add	x8, sp, #36
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x6, x24
	bl	_dxv_decompress_cgo
	tbnz	w0, #31, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #40]
	cmp	x8, x28
	b.lo	LBB0_9
LBB0_11:
	add	w8, w26, w25
	add	w1, w8, w27
Lloh14:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bytestream2_seek
	mov	w27, #0
	b	LBB0_4
LBB0_12:
	mov	x27, x0
	b	LBB0_4
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_dxv_decompress_yo
.subsections_via_symbols
