	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpeg_decode_sequence_display_extension
_mpeg_decode_sequence_display_extension: ## @mpeg_decode_sequence_display_extension
	.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, %r14
	leaq	16(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	8(%r14), %rcx
	movq	%rax, 24(%rcx)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	8(%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	8(%r14), %rcx
	movq	%rax, 8(%rcx)
LBB0_2:
	movq	%rbx, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$14, %esi
	callq	_get_bits
	movl	%r15d, %ecx
	shll	$4, %ecx
	movl	%ecx, (%r14)
	movl	%eax, %ecx
	shll	$4, %ecx
	movl	%ecx, 4(%r14)
	movq	8(%r14), %rdi
	movq	_FF_DEBUG_PICT_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	je	LBB0_3
## %bb.4:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_log                         ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_DEBUG_PICT_INFO,4,2         ## @FF_DEBUG_PICT_INFO
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sde w:%d, h:%d\n"

	.no_dead_strip	_mpeg_decode_sequence_display_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpeg_decode_sequence_display_extension
_mpeg_decode_sequence_display_extension: ; @mpeg_decode_sequence_display_extension
	.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, #16
	mov	x0, x20
	mov	w1, #3
	bl	_skip_bits
	mov	x0, x20
	bl	_get_bits1
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	ldr	x8, [x19, #8]
	str	x0, [x8, #24]
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	ldr	x8, [x19, #8]
	str	x0, [x8, #16]
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
LBB0_2:
	mov	x0, x20
	mov	w1, #14
	bl	_get_bits
	mov	x21, x0
	mov	x0, x20
	mov	w1, #1
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #14
	bl	_get_bits
	mov	x4, x0
	lsl	w8, w21, #4
	lsl	w9, w4, #4
	stp	w8, w9, [x19]
	ldr	x0, [x19, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FF_DEBUG_PICT_INFO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_DEBUG_PICT_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
Lloh7:
	ldr	w1, [x8]
	mov	x3, x21
                                        ; kill: def $w4 killed $w4 killed $x4
	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	_av_log
LBB0_4:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_DEBUG_PICT_INFO,4,2         ; @FF_DEBUG_PICT_INFO
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sde w:%d, h:%d\n"

	.no_dead_strip	_mpeg_decode_sequence_display_extension
.subsections_via_symbols
