	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipvideo_decode_block_opcode_0x7_16
_ipvideo_decode_block_opcode_0x7_16:    ## @ipvideo_decode_block_opcode_0x7_16
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	16(%rdi), %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_bytestream2_get_le16
	movq	%rax, %r15
	movl	%r15d, -48(%rbp)
	movq	%r14, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, -44(%rbp)
	testl	$32768, %r15d                   ## imm = 0x8000
	jne	LBB0_17
## %bb.1:
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.3:
	movslq	8(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.5:
	movslq	8(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.7:
	movslq	8(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.9:
	movslq	8(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.11:
	movslq	8(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.13:
	movslq	8(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.15:
	movslq	8(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_16
	jmp	LBB0_19
LBB0_17:
	movq	%r14, %rdi
	callq	_bytestream2_get_le16
	movl	(%r12), %edx
	movl	$-2, %ecx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %esi
	andl	$1, %esi
	movl	-48(%rbp,%rsi,4), %esi
	movslq	%edx, %rdx
	movl	%esi, 4(%rbx,%rdx,4)
	movslq	(%r12), %rdx
	movl	%esi, (%rbx,%rdx,4)
	movl	%esi, 4(%rbx)
	movl	%esi, (%rbx)
	movl	%eax, %edx
	shrl	%edx
	andl	$1, %edx
	movl	-48(%rbp,%rdx,4), %edx
	movslq	(%r12), %rsi
	movl	%edx, 12(%rbx,%rsi,4)
	movslq	(%r12), %rsi
	movl	%edx, 8(%rbx,%rsi,4)
	movl	%edx, 12(%rbx)
	movl	%edx, 8(%rbx)
	movl	%eax, %edx
	shrl	$2, %edx
	andl	$1, %edx
	movl	-48(%rbp,%rdx,4), %edx
	movslq	(%r12), %rsi
	movl	%edx, 20(%rbx,%rsi,4)
	movslq	(%r12), %rsi
	movl	%edx, 16(%rbx,%rsi,4)
	movl	%edx, 20(%rbx)
	movl	%edx, 16(%rbx)
	movl	%eax, %edx
	shrl	$3, %edx
	andl	$1, %edx
	movl	-48(%rbp,%rdx,4), %edx
	movslq	(%r12), %rsi
	movl	%edx, 28(%rbx,%rsi,4)
	movslq	(%r12), %rsi
	movl	%edx, 24(%rbx,%rsi,4)
	movl	%edx, 28(%rbx)
	movl	%edx, 24(%rbx)
	shrl	$4, %eax
	movslq	(%r12), %rdx
	leaq	(%rbx,%rdx,8), %rbx
	addl	$2, %ecx
	cmpl	$6, %ecx
	jb	LBB0_18
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ipvideo_decode_block_opcode_0x7_16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipvideo_decode_block_opcode_0x7_16
_ipvideo_decode_block_opcode_0x7_16:    ; @ipvideo_decode_block_opcode_0x7_16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x22, [x0, #16]
	add	x20, x0, #4
	mov	x0, x20
	bl	_bytestream2_get_le16
	mov	x21, x0
	str	w21, [sp]
	mov	x0, x20
	bl	_bytestream2_get_le16
	str	w0, [sp, #4]
	tbnz	w21, #15, LBB0_17
; %bb.1:
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x22], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.3:
	ldrsw	x8, [x19, #8]
	add	x21, x22, x8, lsl #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x21], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.5:
	ldrsw	x8, [x19, #8]
	add	x21, x21, x8, lsl #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x21], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.7:
	ldrsw	x8, [x19, #8]
	add	x21, x21, x8, lsl #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x21], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.9:
	ldrsw	x8, [x19, #8]
	add	x21, x21, x8, lsl #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x21], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.11:
	ldrsw	x8, [x19, #8]
	add	x21, x21, x8, lsl #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x21], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.13:
	ldrsw	x8, [x19, #8]
	add	x21, x21, x8, lsl #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x21], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_14
; %bb.15:
	ldrsw	x8, [x19, #8]
	add	x19, x21, x8, lsl #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	mov	x9, sp
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0x1
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x19], #4
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_16
	b	LBB0_19
LBB0_17:
	mov	x0, x20
	bl	_bytestream2_get_le16
	ldr	w10, [x19]
	mov	w8, #-2
	mov	x9, sp
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	and	w11, w0, #0x1
	ldr	w11, [x9, w11, uxtw #2]
	add	x10, x22, w10, sxtw #2
	str	w11, [x10, #4]
	ldrsw	x10, [x19]
	str	w11, [x22, x10, lsl #2]
	ubfx	w10, w0, #1, #1
	ldr	w10, [x9, w10, uxtw #2]
	stp	w11, w11, [x22]
	ldrsw	x11, [x19]
	add	x11, x22, x11, lsl #2
	str	w10, [x11, #12]
	ldrsw	x11, [x19]
	add	x11, x22, x11, lsl #2
	str	w10, [x11, #8]
	stp	w10, w10, [x22, #8]
	ubfx	w10, w0, #2, #1
	ldr	w10, [x9, w10, uxtw #2]
	ldrsw	x11, [x19]
	add	x11, x22, x11, lsl #2
	str	w10, [x11, #20]
	ldrsw	x11, [x19]
	add	x11, x22, x11, lsl #2
	str	w10, [x11, #16]
	stp	w10, w10, [x22, #16]
	ubfx	w10, w0, #3, #1
	ldr	w10, [x9, w10, uxtw #2]
	ldrsw	x11, [x19]
	add	x11, x22, x11, lsl #2
	str	w10, [x11, #28]
	ldrsw	x11, [x19]
	add	x11, x22, x11, lsl #2
	str	w10, [x11, #24]
	stp	w10, w10, [x22, #24]
	lsr	w0, w0, #4
	ldrsw	x10, [x19]
	add	x22, x22, x10, lsl #3
	add	w8, w8, #2
	cmp	w8, #6
	b.lo	LBB0_18
LBB0_19:
	ldr	x8, [sp, #8]
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_21
; %bb.20:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ipvideo_decode_block_opcode_0x7_16
.subsections_via_symbols
