	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function z80OpLength
_z80OpLength:                           ## @z80OpLength
	.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
	xorl	%eax, %eax
	testl	%esi, %esi
	jle	LBB0_10
## %bb.1:
	movl	%esi, %r14d
	movq	_z80_op@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%rdi), %rsi
	shlq	$4, %rsi
	movl	(%rdx,%rsi), %ecx
	movq	_Z80_OP_UNK@GOTPCREL(%rip), %rbx
	testl	%ecx, (%rbx)
	je	LBB0_9
## %bb.2:
	cmpl	$2, %r14d
	jb	LBB0_10
## %bb.3:
	movq	_Z80_ENC0@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	8(%rdx,%rsi), %rbx
	movq	8(%rdi), %rdi
	callq	_z80_fddd_branch_index_res
	jmp	LBB0_8
LBB0_5:
	movq	_Z80_ENC1@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.7:
	movq	8(%rdx,%rsi), %rbx
	movq	8(%rdi), %rdi
	callq	_z80_ed_branch_index_res
LBB0_8:
	shlq	$4, %rax
	addq	%rbx, %rax
	movl	(%rax), %ecx
LBB0_9:
	movq	_Z80_OP8@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	testl	%ecx, (%rax)
	setne	%dl
	movq	_Z80_ARG8@GOTPCREL(%rip), %rax
	movq	_Z80_ARG16@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	leal	1(%rdx), %edi
	testl	%ecx, %esi
	cmovnel	%edx, %edi
	testl	%ecx, (%rax)
	cmovel	%edx, %edi
	movq	_Z80_OP16@GOTPCREL(%rip), %rax
	leal	2(%rdi), %edx
	testl	%ecx, (%rax)
	cmovel	%edi, %edx
	leal	2(%rdx), %eax
	testl	%ecx, %esi
	cmovel	%edx, %eax
	movq	_Z80_OP24@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	leal	3(%rax), %ecx
	cmovel	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%r14d, %ecx
	cmovbel	%ecx, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	xorl	%ecx, %ecx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_z80_op,8,3                     ## @z80_op
	.comm	_Z80_OP_UNK,4,2                 ## @Z80_OP_UNK
	.comm	_Z80_ENC0,4,2                   ## @Z80_ENC0
	.comm	_Z80_ENC1,4,2                   ## @Z80_ENC1
	.comm	_Z80_OP8,4,2                    ## @Z80_OP8
	.comm	_Z80_ARG8,4,2                   ## @Z80_ARG8
	.comm	_Z80_ARG16,4,2                  ## @Z80_ARG16
	.comm	_Z80_OP16,4,2                   ## @Z80_OP16
	.comm	_Z80_OP24,4,2                   ## @Z80_OP24
	.no_dead_strip	_z80OpLength
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function z80OpLength
_z80OpLength:                           ; @z80OpLength
	.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
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _z80_op@GOTPAGE
Lloh1:
	ldr	x8, [x8, _z80_op@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x10, [x0]
	lsl	x8, x10, #4
	ldr	w8, [x9, x8]
Lloh3:
	adrp	x11, _Z80_OP_UNK@GOTPAGE
Lloh4:
	ldr	x11, [x11, _Z80_OP_UNK@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_9
; %bb.2:
	cmp	w19, #2
	b.hs	LBB0_4
LBB0_3:
	mov	w0, #0
	b	LBB0_10
LBB0_4:
Lloh6:
	adrp	x11, _Z80_ENC0@GOTPAGE
Lloh7:
	ldr	x11, [x11, _Z80_ENC0@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_6
; %bb.5:
	add	x8, x9, x10, lsl #4
	ldr	x20, [x8, #8]
	ldr	x0, [x0, #8]
	bl	_z80_fddd_branch_index_res
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x11, _Z80_ENC1@GOTPAGE
Lloh10:
	ldr	x11, [x11, _Z80_ENC1@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_11
; %bb.7:
	add	x8, x9, x10, lsl #4
	ldr	x20, [x8, #8]
	ldr	x0, [x0, #8]
	bl	_z80_ed_branch_index_res
LBB0_8:
	add	x8, x20, x0, lsl #4
	ldr	w8, [x8]
LBB0_9:
Lloh12:
	adrp	x9, _Z80_OP8@GOTPAGE
Lloh13:
	ldr	x9, [x9, _Z80_OP8@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, ne
Lloh15:
	adrp	x10, _Z80_ARG8@GOTPAGE
Lloh16:
	ldr	x10, [x10, _Z80_ARG8@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _Z80_ARG16@GOTPAGE
Lloh19:
	ldr	x11, [x11, _Z80_ARG16@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	mov	w12, #1
	cinc	w12, w12, ne
	tst	w11, w8
	csel	w12, w12, w9, eq
	tst	w10, w8
	csel	w9, w9, w12, eq
Lloh21:
	adrp	x10, _Z80_OP16@GOTPAGE
Lloh22:
	ldr	x10, [x10, _Z80_OP16@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	add	w12, w9, #2
	tst	w10, w8
	csel	w9, w9, w12, eq
	tst	w11, w8
	add	w10, w9, #2
	csel	w9, w9, w10, eq
Lloh24:
	adrp	x10, _Z80_OP24@GOTPAGE
Lloh25:
	ldr	x10, [x10, _Z80_OP24@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	add	w11, w9, #3
	tst	w10, w8
	csel	w8, w9, w11, eq
	cmp	w8, w19
	csel	w0, wzr, w8, hi
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w8, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_z80_op,8,3                     ; @z80_op
	.comm	_Z80_OP_UNK,4,2                 ; @Z80_OP_UNK
	.comm	_Z80_ENC0,4,2                   ; @Z80_ENC0
	.comm	_Z80_ENC1,4,2                   ; @Z80_ENC1
	.comm	_Z80_OP8,4,2                    ; @Z80_OP8
	.comm	_Z80_ARG8,4,2                   ; @Z80_ARG8
	.comm	_Z80_ARG16,4,2                  ; @Z80_ARG16
	.comm	_Z80_OP16,4,2                   ; @Z80_OP16
	.comm	_Z80_OP24,4,2                   ; @Z80_OP24
	.no_dead_strip	_z80OpLength
.subsections_via_symbols
