	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smv_img_pnt
_smv_img_pnt:                           ## @smv_img_pnt
	.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
	movl	%r9d, %r15d
	movq	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	%ecx, %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r13
	movq	_AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_12
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 4(%r13)
	jle	LBB0_9
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rcx
	movq	(%rcx,%rbx,8), %rsi
	incq	%rsi
	movl	%eax, %edi
	callq	_FFMAX
	incq	%rbx
	movslq	4(%r13), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_3
## %bb.4:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movl	%eax, %ebx
	xorl	%r12d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rsi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %edx
	movq	%r14, %rdi
	movl	16(%rbp), %r8d
	callq	_smv_img_pnt_plane
	incq	%r12
	addq	$8, %r14
	cmpq	%r12, %rbx
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r12), %eax
	movl	%r15d, %ecx
	cmpl	$1, %eax
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%r13), %esi
	movl	%r15d, %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %ecx
	jmp	LBB0_8
LBB0_9:
	movl	(%r13), %eax
	movq	_AV_PIX_FMT_FLAG_PAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	_FF_PSEUDOPAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, 8(%rdx)
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ## @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ## @AV_PIX_FMT_FLAG_PAL
	.comm	_FF_PSEUDOPAL,4,2               ## @FF_PSEUDOPAL
	.no_dead_strip	_smv_img_pnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smv_img_pnt
_smv_img_pnt:                           ; @smv_img_pnt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x6
	mov	x22, x5
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x3
	bl	_av_pix_fmt_desc_get
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.1:
	mov	x24, x0
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x25, #0
	mov	w0, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #16]
	ldr	x8, [x8, x25, lsl #3]
	add	x1, x8, #1
	bl	_FFMAX
	add	x25, x25, #1
	ldrsw	x8, [x24, #4]
	cmp	x25, x8
	b.lt	LBB0_3
; %bb.4:
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.5:
	mov	w26, #-1
	mov	x25, x19
	mov	x27, x20
	mov	w28, w0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x27], #8
	ldr	w2, [x23], #4
	mov	x0, x25
	mov	x4, x21
	bl	_smv_img_pnt_plane
	add	w26, w26, #1
	add	x25, x25, #8
	subs	x28, x28, #1
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x3, x22
	cmp	w26, #1
	b.hi	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x24, #8]
	mov	x0, x22
	bl	_AV_CEIL_RSHIFT
	mov	x3, x0
	b	LBB0_6
LBB0_9:
	ldr	w8, [x24]
Lloh3:
	adrp	x9, _AV_PIX_FMT_FLAG_PAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_PIX_FMT_FLAG_PAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
Lloh6:
	adrp	x9, _FF_PSEUDOPAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FF_PSEUDOPAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_11:
	ldr	x8, [x20, #8]
	str	x8, [x19, #8]
LBB0_12:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ; @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ; @AV_PIX_FMT_FLAG_PAL
	.comm	_FF_PSEUDOPAL,4,2               ; @FF_PSEUDOPAL
	.no_dead_strip	_smv_img_pnt
.subsections_via_symbols
