	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_image_fill_max_pixsteps     ## -- Begin function av_image_fill_max_pixsteps
	.p2align	4, 0x90
_av_image_fill_max_pixsteps:            ## @av_image_fill_max_pixsteps
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	(%r15), %rax
	movl	(%rax), %ecx
	movq	8(%rax), %rdx
	cmpl	(%rbx,%rdx,4), %ecx
	jle	LBB0_5
## %bb.4:
	movl	%ecx, (%rbx,%rdx,4)
	movl	$0, (%r14,%rdx,4)
	jmp	LBB0_5
LBB0_1:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	movq	8(%rax), %rdx
	cmpl	(%rbx,%rdx,4), %ecx
	jle	LBB0_5
## %bb.2:
	movl	%ecx, (%rbx,%rdx,4)
LBB0_5:
	movl	16(%rax), %edx
	movq	24(%rax), %rcx
	cmpl	(%rbx,%rcx,4), %edx
	jle	LBB0_11
## %bb.6:
	movl	%edx, (%rbx,%rcx,4)
	testq	%r14, %r14
	je	LBB0_7
## %bb.9:
	movl	$1, (%r14,%rcx,4)
	movl	32(%rax), %edx
	movq	40(%rax), %rcx
	cmpl	(%rbx,%rcx,4), %edx
	jle	LBB0_14
## %bb.10:
	movl	%edx, (%rbx,%rcx,4)
	jmp	LBB0_13
LBB0_11:
	movl	32(%rax), %edx
	movq	40(%rax), %rcx
	cmpl	(%rbx,%rcx,4), %edx
	jle	LBB0_14
## %bb.12:
	movl	%edx, (%rbx,%rcx,4)
	testq	%r14, %r14
	je	LBB0_14
LBB0_13:
	movl	$2, (%r14,%rcx,4)
	jmp	LBB0_14
LBB0_7:
	movl	32(%rax), %ecx
	movq	40(%rax), %rdx
	cmpl	(%rbx,%rdx,4), %ecx
	jle	LBB0_14
## %bb.8:
	movl	%ecx, (%rbx,%rdx,4)
LBB0_14:
	movl	48(%rax), %ecx
	movq	56(%rax), %rax
	cmpl	(%rbx,%rax,4), %ecx
	jle	LBB0_17
## %bb.15:
	movl	%ecx, (%rbx,%rax,4)
	testq	%r14, %r14
	je	LBB0_17
## %bb.16:
	movl	$3, (%r14,%rax,4)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_image_fill_max_pixsteps     ; -- Begin function av_image_fill_max_pixsteps
	.p2align	2
_av_image_fill_max_pixsteps:            ; @av_image_fill_max_pixsteps
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	cbz	x19, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x21]
	ldr	w9, [x8]
	ldr	x10, [x8, #8]
	ldr	w11, [x20, x10, lsl #2]
	cmp	w9, w11
	b.le	LBB0_5
; %bb.2:
	lsl	x10, x10, #2
	str	w9, [x20, x10]
	str	wzr, [x19, x10]
	b	LBB0_5
LBB0_3:
	ldr	x8, [x21]
	ldr	w9, [x8]
	ldr	x10, [x8, #8]
	ldr	w11, [x20, x10, lsl #2]
	cmp	w9, w11
	b.le	LBB0_5
; %bb.4:
	str	w9, [x20, x10, lsl #2]
LBB0_5:
	ldr	w10, [x8, #16]
	ldr	x9, [x8, #24]
	ldr	w11, [x20, x9, lsl #2]
	cmp	w10, w11
	b.le	LBB0_9
; %bb.6:
	str	w10, [x20, x9, lsl #2]
	cbz	x19, LBB0_12
; %bb.7:
	mov	w10, #1
	str	w10, [x19, x9, lsl #2]
	ldr	w10, [x8, #32]
	ldr	x9, [x8, #40]
	ldr	w11, [x20, x9, lsl #2]
	cmp	w10, w11
	b.le	LBB0_14
; %bb.8:
	str	w10, [x20, x9, lsl #2]
	b	LBB0_11
LBB0_9:
	ldr	w10, [x8, #32]
	ldr	x9, [x8, #40]
	ldr	w11, [x20, x9, lsl #2]
	cmp	w10, w11
	b.le	LBB0_14
; %bb.10:
	str	w10, [x20, x9, lsl #2]
	cbz	x19, LBB0_14
LBB0_11:
	mov	w10, #2
	str	w10, [x19, x9, lsl #2]
	b	LBB0_14
LBB0_12:
	ldr	w9, [x8, #32]
	ldr	x10, [x8, #40]
	ldr	w11, [x20, x10, lsl #2]
	cmp	w9, w11
	b.le	LBB0_14
; %bb.13:
	str	w9, [x20, x10, lsl #2]
LBB0_14:
	ldr	w9, [x8, #48]
	ldr	x8, [x8, #56]
	ldr	w10, [x20, x8, lsl #2]
	cmp	w9, w10
	b.le	LBB0_17
; %bb.15:
	str	w9, [x20, x8, lsl #2]
	cbz	x19, LBB0_17
; %bb.16:
	mov	w9, #3
	str	w9, [x19, x8, lsl #2]
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
