	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h263_decode_gob_header
_h263_decode_gob_header:                ## @h263_decode_gob_header
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	24(%rdi), %r12
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_show_bits
	movl	$-1, %r14d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_skip_bits
	movq	%r12, %rdi
	callq	_get_bits_left
	movl	%eax, %edi
	movl	$32, %esi
	callq	_FFMIN
	cmpl	$14, %eax
	jl	LBB0_14
## %bb.2:
	movl	%eax, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	decl	%ebx
	cmpl	$15, %ebx
	jge	LBB0_4
	jmp	LBB0_14
LBB0_5:
	cmpq	$0, 48(%r15)
	je	LBB0_11
## %bb.6:
	movl	40(%r15), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rsi
	callq	_check_marker
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movq	%r15, %rdi
	callq	_ff_h263_decode_mba
	cmpl	$1584, (%r15)                   ## imm = 0x630
	jl	LBB0_9
## %bb.8:
	movl	40(%r15), %edi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rsi
	callq	_check_marker
	testq	%rax, %rax
	je	LBB0_14
LBB0_9:
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	%rax, 16(%r15)
	movl	40(%r15), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rsi
	callq	_check_marker
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_skip_bits
	jmp	LBB0_12
LBB0_11:
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	$0, 32(%r15)
	imull	8(%r15), %eax
	movl	%eax, 4(%r15)
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_skip_bits
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	%rax, 16(%r15)
LBB0_12:
	movl	4(%r15), %eax
	cmpl	12(%r15), %eax
	jae	LBB0_14
## %bb.13:
	xorl	%r14d, %r14d
	cmpq	$1, 16(%r15)
	sbbl	%r14d, %r14d
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"before MBA"

L_.str.1:                               ## @.str.1
	.asciz	"after MBA"

L_.str.2:                               ## @.str.2
	.asciz	"after SQUANT"

	.no_dead_strip	_h263_decode_gob_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h263_decode_gob_header
_h263_decode_gob_header:                ; @h263_decode_gob_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	add	x20, x0, #24
	mov	x0, x20
	mov	w1, #16
	bl	_show_bits
	cbnz	w0, LBB0_14
; %bb.1:
	mov	x0, x20
	mov	w1, #16
	bl	_skip_bits
	mov	x0, x20
	bl	_get_bits_left
	mov	w1, #32
	bl	_FFMIN
	cmp	w0, #14
	b.lt	LBB0_14
; %bb.2:
	add	w21, w0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_get_bits1
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w21, w21, #1
	cmp	w21, #15
	b.ge	LBB0_3
	b	LBB0_14
LBB0_5:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_11
; %bb.6:
	ldr	w0, [x19, #40]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_check_marker
	cbz	x0, LBB0_14
; %bb.7:
	mov	x0, x19
	bl	_ff_h263_decode_mba
	ldr	w8, [x19]
	cmp	w8, #1584
	b.lt	LBB0_9
; %bb.8:
	ldr	w0, [x19, #40]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_check_marker
	cbz	x0, LBB0_14
LBB0_9:
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	str	x0, [x19, #16]
	ldr	w0, [x19, #40]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_check_marker
	cbz	x0, LBB0_14
; %bb.10:
	mov	x0, x20
	mov	w1, #2
	bl	_skip_bits
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	str	xzr, [x19, #32]
	ldr	w8, [x19, #8]
	mul	w8, w8, w0
	str	w8, [x19, #4]
	mov	x0, x20
	mov	w1, #2
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	str	x0, [x19, #16]
LBB0_12:
	ldr	w8, [x19, #4]
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.hs	LBB0_14
; %bb.13:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	csetm	w0, eq
	b	LBB0_15
LBB0_14:
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"before MBA"

l_.str.1:                               ; @.str.1
	.asciz	"after MBA"

l_.str.2:                               ; @.str.2
	.asciz	"after SQUANT"

	.no_dead_strip	_h263_decode_gob_header
.subsections_via_symbols
