	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_image_fill_pointers         ## -- Begin function av_image_fill_pointers
	.p2align	4, 0x90
_av_image_fill_pointers:                ## @av_image_fill_pointers
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	%esi, %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %ecx
	movq	_AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.4:
	movq	%r13, (%r12)
	movl	(%r14), %esi
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	-1024(%rdi), %eax
	cltd
	idivl	%r15d
	cmpl	%eax, %esi
	jle	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	imull	%r15d, %esi
	movq	_AV_PIX_FMT_FLAG_PAL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_19
## %bb.6:
	movq	_FF_PSEUDOPAL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_7
LBB0_19:
	movslq	%esi, %rsi
	leaq	(,%rsi,4), %rax
	addq	%r13, %rax
	movq	%rax, 8(%r12)
	addl	$1024, %esi                     ## imm = 0x400
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.18:
	movl	%esi, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movl	$1, -64(%rbp,%rcx,4)
	movq	8(%rax), %rcx
	movl	$1, -64(%rbp,%rcx,4)
	movq	16(%rax), %rcx
	movl	$1, -64(%rbp,%rcx,4)
	movq	24(%rax), %rax
	movl	$1, -64(%rbp,%rax,4)
	cmpl	$0, -60(%rbp)
	je	LBB0_17
## %bb.8:
	leal	-1(%r15), %r8d
	movb	4(%rbx), %cl
	movslq	%esi, %rax
	leaq	(,%rax,4), %r9
	addq	%r13, %r9
	movq	%r9, 8(%r12)
	movl	$1, %r11d
	shll	%cl, %r11d
	addl	%r8d, %r11d
	sarl	%cl, %r11d
	movl	4(%r14), %r10d
	movl	%edi, %eax
	cltd
	idivl	%r11d
	cmpl	%eax, %r10d
	jg	LBB0_2
## %bb.9:
	imull	%r11d, %r10d
	movl	%edi, %eax
	subl	%r10d, %eax
	cmpl	%eax, %esi
	jg	LBB0_2
## %bb.10:
	addl	%r10d, %esi
	cmpl	$0, -56(%rbp)
	je	LBB0_17
## %bb.11:
	movb	4(%rbx), %cl
	movslq	%r10d, %rax
	leaq	(%r9,%rax,4), %rbx
	movq	%rbx, 16(%r12)
	movl	$1, %eax
	shll	%cl, %eax
	addl	%eax, %r8d
	sarl	%cl, %r8d
	movl	8(%r14), %ecx
	movl	%edi, %eax
	cltd
	idivl	%r8d
	cmpl	%eax, %ecx
	jg	LBB0_2
## %bb.12:
	imull	%r8d, %ecx
	movl	%edi, %eax
	subl	%ecx, %eax
	cmpl	%eax, %esi
	jg	LBB0_2
## %bb.13:
	addl	%ecx, %esi
	cmpl	$0, -52(%rbp)
	je	LBB0_17
## %bb.14:
	movslq	%ecx, %rax
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, 24(%r12)
	movl	12(%r14), %ecx
	movl	%edi, %eax
	cltd
	idivl	%r15d
	cmpl	%eax, %ecx
	jg	LBB0_2
## %bb.15:
	imull	%r15d, %ecx
	subl	%ecx, %edi
	cmpl	%edi, %esi
	jg	LBB0_2
## %bb.16:
	addl	%esi, %ecx
	movl	%ecx, %esi
	jmp	LBB0_17
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ## @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ## @AV_PIX_FMT_FLAG_PAL
	.comm	_FF_PSEUDOPAL,4,2               ## @FF_PSEUDOPAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_image_fill_pointers         ; -- Begin function av_image_fill_pointers
	.p2align	2
_av_image_fill_pointers:                ; @av_image_fill_pointers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x4
	mov	x23, x3
	mov	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stp	xzr, xzr, [sp, #8]
	mov	x0, x1
	bl	_av_pix_fmt_desc_get
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	cbz	x22, LBB0_3
; %bb.1:
	ldr	w9, [x22]
Lloh3:
	adrp	x8, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_3
; %bb.2:
	str	x23, [x21]
	ldr	w10, [x20]
Lloh6:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w11, w8, #1024
	sdiv	w11, w11, w19
	cmp	w10, w11
	b.le	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
LBB0_5:
	mul	w0, w10, w19
Lloh15:
	adrp	x10, _AV_PIX_FMT_FLAG_PAL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AV_PIX_FMT_FLAG_PAL@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.6:
Lloh18:
	adrp	x10, _FF_PSEUDOPAL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _FF_PSEUDOPAL@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
LBB0_7:
	add	x8, x23, w0, sxtw #2
	str	x8, [x21, #8]
	add	w0, w0, #1024
LBB0_8:
	ldr	x8, [sp, #24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	ldr	x9, [x22, #8]
	add	x10, sp, #8
	mov	w11, #1
	ldp	x12, x13, [x9]
	str	w11, [x10, x12, lsl #2]
	str	w11, [x10, x13, lsl #2]
	ldp	x12, x9, [x9, #16]
	str	w11, [x10, x12, lsl #2]
	str	w11, [x10, x9, lsl #2]
	ldr	w9, [sp, #12]
	cbz	w9, LBB0_8
; %bb.11:
	sub	w9, w19, #1
	ldr	w12, [x22, #4]
	add	x10, x23, w0, sxtw #2
	str	x10, [x21, #8]
	lsl	w11, w11, w12
	add	w11, w9, w11
	asr	w11, w11, w12
	ldr	w12, [x20, #4]
	sdiv	w13, w8, w11
	cmp	w12, w13
	b.gt	LBB0_3
; %bb.12:
	mul	w11, w12, w11
	sub	w12, w8, w11
	cmp	w0, w12
	b.gt	LBB0_3
; %bb.13:
	add	w0, w11, w0
	ldr	w12, [sp, #16]
	cbz	w12, LBB0_8
; %bb.14:
	ldr	w12, [x22, #4]
	add	x10, x10, w11, sxtw #2
	str	x10, [x21, #16]
	mov	w11, #1
	lsl	w11, w11, w12
	add	w9, w9, w11
	asr	w9, w9, w12
	ldr	w11, [x20, #8]
	sdiv	w12, w8, w9
	cmp	w11, w12
	b.gt	LBB0_3
; %bb.15:
	mul	w9, w11, w9
	sub	w11, w8, w9
	cmp	w0, w11
	b.gt	LBB0_3
; %bb.16:
	add	w0, w9, w0
	ldr	w11, [sp, #20]
	cbz	w11, LBB0_8
; %bb.17:
	add	x9, x10, w9, sxtw #2
	str	x9, [x21, #24]
	ldr	w9, [x20, #12]
	sdiv	w10, w8, w19
	cmp	w9, w10
	b.gt	LBB0_3
; %bb.18:
	mul	w9, w9, w19
	sub	w8, w8, w9
	cmp	w0, w8
	b.gt	LBB0_3
; %bb.19:
	add	w0, w9, w0
	b	LBB0_8
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ; @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ; @AV_PIX_FMT_FLAG_PAL
	.comm	_FF_PSEUDOPAL,4,2               ; @FF_PSEUDOPAL
.subsections_via_symbols
