	.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
_ipvideo_decode_block_opcode_0x7:       ## @ipvideo_decode_block_opcode_0x7
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	12(%rdi), %r14
	movq	%r14, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$3, %eax
	jg	LBB0_2
## %bb.1:
	movl	20(%rbx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_23
LBB0_2:
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %r15d
	movb	%r15b, -26(%rbp)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	movb	%al, -25(%rbp)
	movzbl	%r15b, %ecx
	movzbl	%al, %eax
	cmpl	%eax, %ecx
	jbe	LBB0_3
## %bb.20:
	movq	%r14, %rdi
	callq	_bytestream2_get_le16
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	movl	$-2, %r8d
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edi
	andl	$1, %edi
	movzbl	-26(%rbp,%rdi), %ecx
	movslq	%edx, %rdx
	movb	%cl, 1(%rdx,%rsi)
	movq	(%rbx), %rdx
	movslq	8(%rbx), %rsi
	movb	%cl, (%rdx,%rsi)
	movq	(%rbx), %rdx
	movb	%cl, 1(%rdx)
	movq	(%rbx), %rdx
	movb	%cl, (%rdx)
	movl	%eax, %ecx
	shrl	%ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	movslq	8(%rbx), %rsi
	movb	%cl, 3(%rsi,%rdx)
	movq	(%rbx), %rdx
	movslq	8(%rbx), %rsi
	movb	%cl, 2(%rsi,%rdx)
	movq	(%rbx), %rdx
	movb	%cl, 3(%rdx)
	movq	(%rbx), %rdx
	movb	%cl, 2(%rdx)
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	movslq	8(%rbx), %rsi
	movb	%cl, 5(%rsi,%rdx)
	movq	(%rbx), %rdx
	movslq	8(%rbx), %rsi
	movb	%cl, 4(%rsi,%rdx)
	movq	(%rbx), %rdx
	movb	%cl, 5(%rdx)
	movq	(%rbx), %rdx
	movb	%cl, 4(%rdx)
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	movslq	8(%rbx), %rsi
	movb	%cl, 7(%rsi,%rdx)
	movq	(%rbx), %rdx
	movslq	8(%rbx), %rsi
	movb	%cl, 6(%rsi,%rdx)
	movq	(%rbx), %rdx
	movb	%cl, 7(%rdx)
	movq	(%rbx), %rdx
	movb	%cl, 6(%rdx)
	movslq	8(%rbx), %rdx
	movq	%rdx, %rsi
	addq	%rdx, %rsi
	addq	(%rbx), %rsi
	shrl	$4, %eax
	movq	%rsi, (%rbx)
	addl	$2, %r8d
	cmpl	$6, %r8d
	jb	LBB0_21
	jmp	LBB0_22
LBB0_3:
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.5:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.7:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.9:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.11:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.13:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.15:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_16
## %bb.17:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	orl	$256, %eax                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	movzbl	-26(%rbp,%rcx), %ecx
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	movb	%cl, (%rdx)
	shrl	%eax
	cmpl	$1, %eax
	jne	LBB0_18
## %bb.19:
	movslq	16(%rbx), %rax
	addq	%rax, (%rbx)
LBB0_22:
	xorl	%eax, %eax
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too little data for opcode 0x7\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_ipvideo_decode_block_opcode_0x7
.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
_ipvideo_decode_block_opcode_0x7:       ; @ipvideo_decode_block_opcode_0x7
	.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
	add	x20, x0, #12
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	w0, #3
	b.gt	LBB0_2
; %bb.1:
	ldr	w0, [x19, #20]
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_2:
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x21, x0
	strb	w0, [sp, #14]
	mov	x0, x20
	bl	_bytestream2_get_byte
	strb	w0, [sp, #15]
	and	w8, w21, #0xff
	cmp	w8, w0, uxtb
	b.ls	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_bytestream2_get_le16
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x11, [x19]
	ldr	w10, [x19, #8]
	mov	w8, #-2
	add	x9, sp, #14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	x12, x0, #0x1
	ldrb	w12, [x9, x12]
	add	x10, x11, w10, sxtw
	strb	w12, [x10, #1]
	ldr	x10, [x19]
	ldrsw	x11, [x19, #8]
	strb	w12, [x10, x11]
	ldr	x10, [x19]
	strb	w12, [x10, #1]
	ldr	x10, [x19]
	strb	w12, [x10]
	ubfx	x10, x0, #1, #1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	ldrsw	x12, [x19, #8]
	add	x11, x12, x11
	strb	w10, [x11, #3]
	ldr	x11, [x19]
	ldrsw	x12, [x19, #8]
	add	x11, x12, x11
	strb	w10, [x11, #2]
	ldr	x11, [x19]
	strb	w10, [x11, #3]
	ldr	x11, [x19]
	strb	w10, [x11, #2]
	ubfx	x10, x0, #2, #1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	ldrsw	x12, [x19, #8]
	add	x11, x12, x11
	strb	w10, [x11, #5]
	ldr	x11, [x19]
	ldrsw	x12, [x19, #8]
	add	x11, x12, x11
	strb	w10, [x11, #4]
	ldr	x11, [x19]
	strb	w10, [x11, #5]
	ldr	x11, [x19]
	strb	w10, [x11, #4]
	ubfx	x10, x0, #3, #1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	ldrsw	x12, [x19, #8]
	add	x11, x12, x11
	strb	w10, [x11, #7]
	ldr	x11, [x19]
	ldrsw	x12, [x19, #8]
	add	x11, x12, x11
	strb	w10, [x11, #6]
	ldr	x11, [x19]
	strb	w10, [x11, #7]
	ldr	x11, [x19]
	strb	w10, [x11, #6]
	lsr	w0, w0, #4
	ldrsw	x10, [x19, #8]
	ldr	x11, [x19]
	add	x11, x11, x10, lsl #1
	str	x11, [x19]
	add	w8, w8, #2
	cmp	w8, #6
	b.lo	LBB0_4
; %bb.5:
	mov	w0, #0
	b	LBB0_23
LBB0_6:
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.8:
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.10:
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.12:
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.14:
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_15
; %bb.16:
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_17
; %bb.18:
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_19
; %bb.20:
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w8, w0, #0x100
	add	x9, sp, #14
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	and	x10, x8, #0x1
	ldrb	w10, [x9, x10]
	ldr	x11, [x19]
	add	x12, x11, #1
	str	x12, [x19]
	strb	w10, [x11]
	lsr	w8, w8, #1
	cmp	w8, #1
	b.ne	LBB0_21
; %bb.22:
	mov	w0, #0
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
LBB0_23:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too little data for opcode 0x7\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_ipvideo_decode_block_opcode_0x7
.subsections_via_symbols
