	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _6502Disass
__6502Disass:                           ## @_6502Disass
	.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
	movl	%ecx, %r9d
	movq	%rdx, %r8
	movq	%rsi, %r15
	movl	%edi, %r10d
	movq	_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	16(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	(%r8), %rsi
	cmpq	%rsi, (%rcx)
	jne	LBB0_13
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_13:
	leaq	40(%rcx), %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_14 Depth=1
	leaq	24(%rbx), %rdx
	incq	%rdi
	cmpq	%rsi, -16(%rbx)
	movq	%rdx, %rbx
	jne	LBB0_14
## %bb.4:
	movl	%edi, %esi
LBB0_5:
	leaq	(%rsi,%rsi,2), %rdx
	movl	8(%rcx,%rdx,8), %r14d
	leal	-1(%r14), %ecx
	cmpl	$3, %ecx
	ja	LBB0_15
## %bb.6:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	jmp	LBB0_12
LBB0_15:
	movl	$1, %edi
	movl	$1, %esi
	movl	%r10d, %edx
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snesDisass                     ## TAILCALL
LBB0_8:
	movq	8(%r8), %rsi
	jmp	LBB0_11
LBB0_9:
	movq	16(%r8), %rsi
	shlq	$8, %rsi
	addq	8(%r8), %rsi
	jmp	LBB0_11
LBB0_10:
	movq	16(%r8), %rcx
	movq	24(%r8), %rsi
	shlq	$8, %rcx
	addq	8(%r8), %rcx
	shlq	$16, %rsi
	addq	%rcx, %rsi
LBB0_11:
	movq	%rax, %rdi
LBB0_12:
	callq	_sdb_fmt
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_r_strbuf_set
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_ops,8,3                        ## @ops
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.no_dead_strip	__6502Disass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _6502Disass
__6502Disass:                           ; @_6502Disass
	.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	x5, x3
	mov	x4, x2
	mov	x19, x1
	mov	x2, x0
Lloh0:
	adrp	x8, _ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ops@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	x10, [x4]
	ldr	x11, [x9]
	cmp	x11, x10
	b.ne	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_7
LBB0_3:
	mov	x11, #0
	add	x12, x9, #40
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x12]
	cbz	x8, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x13, [x12, #-16]
	add	x12, x12, #24
	add	x11, x11, #1
	cmp	x13, x10
	b.ne	LBB0_4
; %bb.6:
	and	x10, x11, #0xffffffff
LBB0_7:
	mov	w11, #24
	madd	x9, x10, x11, x9
	ldr	w20, [x9, #8]
	sub	w9, w20, #1
	cmp	w9, #3
	b.hi	LBB0_10
; %bb.8:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_9
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x8
	b	LBB0_15
LBB0_10:
	mov	w0, #1
	mov	w1, #1
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snesDisass
LBB0_11:
	ldr	x1, [x4, #8]
	b	LBB0_14
LBB0_12:
	ldp	x9, x10, [x4, #8]
	add	x1, x9, x10, lsl #8
	b	LBB0_14
LBB0_13:
	ldp	x9, x10, [x4, #8]
	add	x9, x9, x10, lsl #8
	ldr	x10, [x4, #24]
	add	x1, x9, x10, lsl #16
LBB0_14:
	mov	x0, x8
LBB0_15:
	bl	_sdb_fmt
	mov	x1, x0
	mov	x0, x19
	bl	_r_strbuf_set
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
                                        ; -- End function
	.comm	_ops,8,3                        ; @ops
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.no_dead_strip	__6502Disass
.subsections_via_symbols
