	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Vdp2DrawPattern
_Vdp2DrawPattern:                       ## @Vdp2DrawPattern
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$2, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_Vdp2DrawCell
	addl	$8, 4(%rbx)
	addq	$8, %rbx
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_Vdp2DrawCell
	addl	$8, 4(%rbx)
	movq	%rbx, %rdi
	callq	_Vdp2DrawCell
	addl	$-8, 4(%rbx)
	leaq	8(%rbx), %r14
	addl	$8, 8(%rbx)
	movq	%rbx, %rdi
	callq	_Vdp2DrawCell
	addl	$8, 4(%rbx)
	movq	%rbx, %rdi
	callq	_Vdp2DrawCell
	addl	$8, 4(%rbx)
	movq	%r14, %rbx
LBB0_4:
	addl	$8, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Vdp2DrawPattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function Vdp2DrawPattern
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_Vdp2DrawPattern:                       ; @Vdp2DrawPattern
	.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, x0
	ldr	w8, [x0]
	cmp	w8, #2
	b.eq	LBB0_2
; %bb.1:
	cmp	w8, #1
	b.eq	LBB0_3
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_Vdp2DrawCell
	ldr	w8, [x19, #4]
	add	w8, w8, #8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_Vdp2DrawCell
	ldur	d0, [x19, #4]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
	mov	x0, x19
	bl	_Vdp2DrawCell
	ldr	w8, [x19, #4]
	add	w8, w8, #8
	str	w8, [x19, #4]
LBB0_3:
	mov	x0, x19
	bl	_Vdp2DrawCell
	ldp	w8, w9, [x19, #4]
	add	w8, w8, #8
	add	w9, w9, #8
	stp	w8, w9, [x19, #4]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Vdp2DrawPattern
.subsections_via_symbols
