	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_skip_exp_golomb
_test_skip_exp_golomb:                  ## @test_skip_exp_golomb
	.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
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_LOG_DEBUG
	movq	_exp_golomb_0_to_10@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_countof
	leaq	-36(%rbp), %r12
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_BITS_INIT
	leaq	L_.str.1(%rip), %r15
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_BITS_VALID
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	callq	_LOG_ERROR
	movl	$1, %r14d
LBB0_2:
	leaq	L_.str.3(%rip), %rdx
	leaq	-36(%rbp), %rbx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_BITS_SKIP_EXP
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_BITS_VALID
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rsi
	xorl	%edi, %edi
	callq	_LOG_ERROR
	incl	%r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Testing vc_container_bits_skip_exp_golomb"

	.comm	_exp_golomb_0_to_10,4,2         ## @exp_golomb_0_to_10
L_.str.1:                               ## @.str.1
	.asciz	"test_skip_exp_golomb"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to skip through buffer"

L_.str.3:                               ## @.str.3
	.asciz	"Skip beyond end of stream"

L_.str.4:                               ## @.str.4
	.asciz	"Unexpectedly succeeded skipping beyond expected end of stream"

	.no_dead_strip	_test_skip_exp_golomb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_skip_exp_golomb
_test_skip_exp_golomb:                  ; @test_skip_exp_golomb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_LOG_DEBUG
Lloh2:
	adrp	x8, _exp_golomb_0_to_10@GOTPAGE
Lloh3:
	ldr	x8, [x8, _exp_golomb_0_to_10@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_countof
	mov	x3, x0
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_INIT
Lloh5:
	adrp	x19, l_.str.1@PAGE
Lloh6:
	add	x19, x19, l_.str.1@PAGEOFF
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	mov	x2, x19
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	bl	_BITS_VALID
	cbz	x0, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_LOG_ERROR
	mov	w19, #1
LBB0_3:
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x1, sp, #12
	mov	x0, #0
	bl	_BITS_SKIP_EXP
	add	x1, sp, #12
	mov	x0, #0
	bl	_BITS_VALID
	cbz	x0, LBB0_5
; %bb.4:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, #0
	bl	_LOG_ERROR
	add	w19, w19, #1
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Testing vc_container_bits_skip_exp_golomb"

	.comm	_exp_golomb_0_to_10,4,2         ; @exp_golomb_0_to_10
l_.str.1:                               ; @.str.1
	.asciz	"test_skip_exp_golomb"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to skip through buffer"

l_.str.3:                               ; @.str.3
	.asciz	"Skip beyond end of stream"

l_.str.4:                               ; @.str.4
	.asciz	"Unexpectedly succeeded skipping beyond expected end of stream"

	.no_dead_strip	_test_skip_exp_golomb
.subsections_via_symbols
