	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h263_encode_gob_header      ## -- Begin function ff_h263_encode_gob_header
	.p2align	4, 0x90
_ff_h263_encode_gob_header:             ## @ff_h263_encode_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	20(%rdi), %r14
	movq	%r14, %rdi
	movl	$17, %esi
	movl	$1, %edx
	callq	_put_bits
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	movq	%rbx, %rdi
	callq	_ff_h263_encode_mba
	cmpl	$1584, (%rbx)                   ## imm = 0x630
	jl	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
LBB0_3:
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_put_bits
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	movq	8(%rbx), %rax
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	%r14, %rdi
	movl	$2, %esi
	jmp	LBB0_4
LBB0_5:
	movl	%r15d, %eax
	cltd
	idivl	16(%rbx)
	movq	%r14, %rdi
	movl	$5, %esi
	movl	%eax, %edx
	callq	_put_bits
	movq	8(%rbx), %rax
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_put_bits
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	$5, %esi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_bits                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PICTURE_TYPE_I,8,3          ## @AV_PICTURE_TYPE_I
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h263_encode_gob_header      ; -- Begin function ff_h263_encode_gob_header
	.p2align	2
_ff_h263_encode_gob_header:             ; @ff_h263_encode_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	x21, x1
	mov	x20, x0
	add	x19, x0, #20
	mov	x0, x19
	mov	w1, #17
	mov	w2, #1
	bl	_put_bits
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	mov	x0, x20
	bl	_ff_h263_encode_mba
	ldr	w8, [x20]
	cmp	w8, #1584
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
LBB0_3:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #5
	bl	_put_bits
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	mov	x0, x19
	mov	w1, #2
	b	LBB0_5
LBB0_4:
	ldr	w8, [x20, #16]
	sdiv	w2, w21, w8
	mov	x0, x19
	mov	w1, #5
	bl	_put_bits
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	mov	x0, x19
	mov	w1, #2
	bl	_put_bits
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #5
LBB0_5:
	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
	b	_put_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PICTURE_TYPE_I,8,3          ; @AV_PICTURE_TYPE_I
.subsections_via_symbols
