	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dis
_dis:                                   ## @dis
	.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, %r14
	movq	%rsi, %rbx
	movq	_snesflags@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rcx), %eax
	movl	4(%rcx), %esi
	movl	(%rdi), %edx
	movl	%eax, %edi
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_snesDisass
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovgl	%ecx, %eax
	movl	%eax, (%rbx)
	movl	(%r14), %ecx
	cmpl	$226, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$194, %ecx
	jne	LBB0_10
## %bb.2:
	movl	4(%r14), %edx
	testb	$16, %dl
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rcx
	movl	$0, 4(%rcx)
	movl	4(%r14), %edx
LBB0_4:
	xorl	%ecx, %ecx
	testb	$32, %dl
	je	LBB0_10
LBB0_9:
	movq	(%r15), %rdx
	movl	%ecx, (%rdx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%r14), %edx
	testb	$16, %dl
	je	LBB0_7
## %bb.6:
	movq	(%r15), %rcx
	movl	$1, 4(%rcx)
	movl	4(%r14), %edx
LBB0_7:
	movl	$1, %ecx
	testb	$32, %dl
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_snesflags,8,3                  ## @snesflags
	.no_dead_strip	_dis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dis
_dis:                                   ; @dis
	.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	x5, x3
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _snesflags@GOTPAGE
Lloh1:
	ldr	x21, [x21, _snesflags@GOTPAGEOFF]
	ldr	x9, [x21]
	ldp	w8, w1, [x9]
	ldr	w2, [x0]
	mov	x0, x8
	mov	x3, x20
	mov	x4, x19
	bl	_snesDisass
	cmp	w0, #0
	csel	w0, w0, wzr, gt
	str	w0, [x20]
	ldr	w8, [x19]
	cmp	w8, #226
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #194
	b.ne	LBB0_11
; %bb.2:
	ldr	w8, [x19, #4]
	tbz	w8, #4, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	str	wzr, [x8, #4]
	ldr	w8, [x19, #4]
LBB0_4:
	tbz	w8, #5, LBB0_11
; %bb.5:
	mov	w8, #0
	b	LBB0_10
LBB0_6:
	ldr	w8, [x19, #4]
	tbz	w8, #4, LBB0_8
; %bb.7:
	ldr	x8, [x21]
	mov	w9, #1
	str	w9, [x8, #4]
	ldr	w8, [x19, #4]
LBB0_8:
	tbz	w8, #5, LBB0_11
; %bb.9:
	mov	w8, #1
LBB0_10:
	ldr	x9, [x21]
	str	w8, [x9]
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_snesflags,8,3                  ; @snesflags
	.no_dead_strip	_dis
.subsections_via_symbols
