	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_delayed_pic
_get_delayed_pic:                       ## @get_delayed_pic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	(%rdi), %r11
	movq	(%r11), %r9
	movq	8(%r11), %rcx
	xorl	%r8d, %r8d
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.9:
	movl	$2, %ebx
	movq	%r9, %r10
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r11,%rbx,8), %rcx
	incq	%rbx
	testq	%rcx, %rcx
	je	LBB0_2
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movq	(%rdx), %rdx
	movq	(%r10), %rax
	cmpq	(%rax), %rdx
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	-1(%rbx), %r8d
	movq	%rcx, %r10
	jmp	LBB0_12
LBB0_2:
	movslq	%r8d, %r8
	movq	(%r11,%r8,8), %r9
	testq	%r9, %r9
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	movq	%r9, %r10
	testq	%r9, %r9
	je	LBB0_6
LBB0_4:
	leaq	(%r11,%r8,8), %rbx
	leaq	8(,%r8,8), %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r11,%rcx), %rax
	movq	%rax, (%rbx)
	movq	(%rdi), %r11
	leaq	(%r11,%rcx), %rbx
	cmpq	$0, (%r11,%rcx)
	leaq	8(%rcx), %rcx
	jne	LBB0_5
LBB0_6:
	xorl	%ebx, %ebx
	testq	%r10, %r10
	je	LBB0_14
## %bb.7:
	movq	_DELAYED_PIC_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, 8(%r10)
	movq	(%r10), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_8
## %bb.13:
	movl	$1, (%r14)
	jmp	LBB0_14
LBB0_8:
	movl	%eax, %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DELAYED_PIC_REF,4,2            ## @DELAYED_PIC_REF
	.no_dead_strip	_get_delayed_pic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_delayed_pic
_get_delayed_pic:                       ; @get_delayed_pic
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x8, [x0]
	ldp	x13, x11, [x8]
	cbz	x11, LBB0_4
; %bb.1:
	mov	w10, #0
	mov	w12, #2
	mov	x9, x13
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	x13, [x13]
	ldr	x14, [x9]
	ldr	x14, [x14]
	sub	w15, w12, #1
	cmp	x13, x14
	csel	x9, x11, x9, lt
	csel	w10, w15, w10, lt
	ldr	x11, [x8, x12, lsl #3]
	add	x12, x12, #1
	cbnz	x11, LBB0_2
; %bb.3:
	sxtw	x11, w10
	ldr	x13, [x8, w10, sxtw #3]
	cbnz	x13, LBB0_5
	b	LBB0_7
LBB0_4:
	mov	x9, x13
	cbz	x13, LBB0_7
LBB0_5:
	lsl	x10, x11, #3
	add	x11, x8, x10
	add	x10, x10, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, x10]
	str	x8, [x11]
	ldr	x8, [x0]
	add	x11, x8, x10
	ldr	x12, [x11]
	add	x10, x10, #8
	cbnz	x12, LBB0_6
LBB0_7:
	cbz	x9, LBB0_10
; %bb.8:
Lloh0:
	adrp	x8, _DELAYED_PIC_REF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DELAYED_PIC_REF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w10, [x9, #8]
	eor	w8, w10, w8
	str	w8, [x9, #8]
	ldr	x8, [x9]
	mov	x0, x1
	mov	x1, x8
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_11
; %bb.9:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DELAYED_PIC_REF,4,2            ; @DELAYED_PIC_REF
	.no_dead_strip	_get_delayed_pic
.subsections_via_symbols
