	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_packet_shrink_side_data     ## -- Begin function av_packet_shrink_side_data
	.p2align	4, 0x90
_av_packet_shrink_side_data:            ## @av_packet_shrink_side_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.1:
	movq	8(%rdi), %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rax,%rdi,8)
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_2
LBB0_8:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	cmpl	%edx, 4(%rax,%rdi,8)
	jge	LBB0_6
## %bb.4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_6:
	addq	%rdi, %rdi
	movl	%edx, 4(%rax,%rdi,4)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_packet_shrink_side_data     ; -- Begin function av_packet_shrink_side_data
	.p2align	2
_av_packet_shrink_side_data:            ; @av_packet_shrink_side_data
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x9, [x0, #8]
	add	x9, x9, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	_AVERROR
LBB0_5:
	ldr	w8, [x9]
	cmp	w8, w2
	b.ge	LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	_AVERROR
LBB0_7:
	str	w2, [x9]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
