	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_cbs_h264_delete_sei_message ## -- Begin function ff_cbs_h264_delete_sei_message
	.p2align	4, 0x90
_ff_cbs_h264_delete_sei_message:        ## @ff_cbs_h264_delete_sei_message
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdx), %rax
	movq	8(%rdx), %r14
	movq	_H264_NAL_SEI@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_av_assert0
	xorl	%edi, %edi
	testl	%r13d, %r13d
	js	LBB0_1
## %bb.3:
	cmpl	%r13d, (%r14)
	setg	%dil
	callq	_av_assert0
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.4:
	cmpl	$1, (%r14)
	jne	LBB0_2
## %bb.5:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.7:
	movq	8(%r15), %rcx
	addq	$-16, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addq	$16, %rcx
	cmpq	%r12, %rcx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_8
## %bb.10:
	movl	%eax, %edx
	jmp	LBB0_11
LBB0_1:
	callq	_av_assert0
LBB0_2:
	movslq	%r13d, %rbx
	leaq	(,%rbx,4), %rdi
	addq	8(%r14), %rdi
	callq	_cbs_h264_free_sei_payload
	movl	(%r14), %edx
	decl	%edx
	movl	%edx, (%r14)
	movq	8(%r14), %rax
	leaq	(%rax,%rbx,4), %rdi
	leaq	(%rax,%rbx,4), %rsi
	addq	$4, %rsi
	subl	%r13d, %edx
	shll	$2, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memmove                        ## TAILCALL
LBB0_6:
	xorl	%edx, %edx
LBB0_11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_cbs_delete_unit             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H264_NAL_SEI,8,3               ## @H264_NAL_SEI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_cbs_h264_delete_sei_message ; -- Begin function ff_cbs_h264_delete_sei_message
	.p2align	2
_ff_cbs_h264_delete_sei_message:        ; @ff_cbs_h264_delete_sei_message
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldp	x8, x23, [x2]
Lloh0:
	adrp	x9, _H264_NAL_SEI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _H264_NAL_SEI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_av_assert0
	tbnz	w22, #31, LBB0_8
; %bb.1:
	ldr	w8, [x23]
	cmp	w8, w22
	cset	w0, gt
	bl	_av_assert0
	cbnz	w22, LBB0_9
; %bb.2:
	ldr	w8, [x23]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x2, #0
	ldr	x9, [x19, #8]
	sub	x9, x9, #16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x9, #16
	cmp	x9, x21
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x2, x2, #1
	cmp	x8, x2
	b.ne	LBB0_5
; %bb.7:
	mov	x2, x8
	b	LBB0_11
LBB0_8:
	mov	w0, #0
	bl	_av_assert0
LBB0_9:
	ldr	x8, [x23, #8]
	sbfiz	x19, x22, #2, #32
	add	x0, x8, x19
	bl	_cbs_h264_free_sei_payload
	ldr	w8, [x23]
	sub	w8, w8, #1
	str	w8, [x23]
	ldr	x9, [x23, #8]
	add	x0, x9, x19
	add	x1, x0, #4
	sub	w8, w8, w22
	lsl	w2, w8, #2
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memmove
LBB0_10:
	mov	w2, #0
LBB0_11:
	mov	x0, x20
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ff_cbs_delete_unit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H264_NAL_SEI,8,3               ; @H264_NAL_SEI
.subsections_via_symbols
