	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flip_image_vertical            ## -- Begin function flip_image_vertical
	.p2align	4, 0x90
_flip_image_vertical:                   ## @flip_image_vertical
	.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	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leal	(,%rbx,4), %r13d
	movl	%r13d, %edi
	imull	%edx, %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_malloc
	movq	%rax, %r12
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.1:
	movl	%r15d, %r14d
	decl	%r15d
	imull	%r15d, %ebx
	shll	$2, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	addq	%r12, %rdi
	movl	%r15d, %esi
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	%r13d, %edx
	callq	_memcpy
	addl	%r13d, %r15d
	subl	%r13d, %ebx
	decq	%r14
	jne	LBB0_2
LBB0_3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flip_image_vertical            ; -- Begin function flip_image_vertical
	.p2align	2
_flip_image_vertical:                   ; @flip_image_vertical
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x24, x2
	mov	x23, x1
	mov	x20, x0
	lsl	w22, w1, #2
	mul	w19, w22, w2
	mov	x0, x19
	bl	_malloc
	mov	x21, x0
	cbz	w24, LBB0_3
; %bb.1:
	mov	w25, #0
	mov	w26, w24
	sub	w8, w24, #1
	mul	w8, w23, w8
	lsl	w23, w8, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, w23, uxtw
	add	x1, x20, w25, uxtw
	mov	x2, x22
	bl	_memcpy
	add	w25, w25, w22
	sub	w23, w23, w22
	subs	x26, x26, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
