	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dxv_decompress_opcodes
_dxv_decompress_opcodes:                ## @dxv_decompress_opcodes
	.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	%r12
	pushq	%rbx
	subq	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_bytestream2_tell
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_bytestream2_peek_byte
	andl	$3, %eax
	cmpl	$1, %eax
	je	LBB0_5
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_bytestream2_get_buffer
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_memset
	jmp	LBB0_6
LBB0_3:
	movl	$0, -1076(%rbp)
	leaq	-1072(%rbp), %rsi
	leaq	-1076(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_fill_ltable
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movl	-1076(%rbp), %r8d
	leaq	-1072(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_get_opcodes
	testl	%eax, %eax
	js	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_bytestream2_tell
	subl	%r14d, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dxv_decompress_opcodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dxv_decompress_opcodes
_dxv_decompress_opcodes:                ; @dxv_decompress_opcodes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1040
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_bytestream2_tell
	mov	x20, x0
	mov	x0, x19
	bl	_bytestream2_peek_byte
	and	w8, w0, #0x3
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	bl	_bytestream2_skip
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_bytestream2_get_buffer
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	bl	_bytestream2_skip
	mov	x0, x19
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_memset
	b	LBB0_6
LBB0_4:
	str	wzr, [sp, #4]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x19
	bl	_fill_ltable
	tbnz	w0, #31, LBB0_7
; %bb.5:
	ldr	w4, [sp, #4]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	bl	_get_opcodes
	tbnz	w0, #31, LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_bytestream2_tell
	sub	w0, w0, w20
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dxv_decompress_opcodes
.subsections_via_symbols
