	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i8080_disasm
_i8080_disasm:                          ## @i8080_disasm
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movzbl	(%rdi), %r14d
	movq	_opcodes@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_9
## %bb.1:
	movzwl	1(%rdi), %r12d
	addq	$24, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movzbl	4(%rbx), %ecx
	shll	%cl, %esi
	movl	-16(%rbx), %eax
	movzbl	-12(%rbx), %ecx
	shll	%cl, %eax
	orl	%esi, %eax
	notl	%eax
	andl	%r14d, %eax
	cmpl	-20(%rbx), %eax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 24(%rbx)
	leaq	48(%rbx), %rbx
	jne	LBB0_2
LBB0_9:
	leaq	L_.str.2(%rip), %rax
	movq	%r15, %rdi
	movl	%edx, %esi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	callq	_snprintf
	movl	$1, %eax
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %ecx
	andl	$-3, %ecx
	cmpl	$192, %ecx
	sete	%cl
	cmpl	$196, %eax
	sete	%r13b
	orb	%cl, %r13b
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	callq	_strcpy
	testb	%r13b, %r13b
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcat
LBB0_5:
	leaq	-16(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %rdi
	addq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_arg
	cmpq	$0, -8(%rbx)
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	testb	%r13b, %r13b
	cmovneq	%rax, %rsi
	movq	%r15, %rdi
	callq	_strcat
LBB0_7:
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %rdi
	addq	%r15, %rdi
	movl	%r14d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_arg
	movl	-24(%rbx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opcodes,8,3                    ## @opcodes
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	", "

L_.str.2:                               ## @.str.2
	.asciz	"db 0x%02x"

	.no_dead_strip	_i8080_disasm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i8080_disasm
_i8080_disasm:                          ; @i8080_disasm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	ldrb	w19, [x0]
Lloh0:
	adrp	x8, _opcodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _opcodes@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cbz	w9, LBB0_4
; %bb.1:
	ldurh	w22, [x0, #1]
	add	x21, x8, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x21]
	lsl	w8, w8, w9
	ldp	w10, w9, [x21, #-16]
	ldur	w11, [x21, #-20]
	lsl	w9, w10, w9
	orr	w8, w9, w8
	bic	w8, w19, w8
	cmp	w8, w11
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #24]
	add	x21, x21, #48
	cbnz	w8, LBB0_2
LBB0_4:
Lloh3:
	adrp	x8, l_.str.2@PAGE
Lloh4:
	add	x8, x8, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x2
	mov	x2, x8
	mov	x3, x19
	bl	_snprintf
	mov	w0, #1
	b	LBB0_10
LBB0_5:
	and	w9, w8, #0xfffffffd
	cmp	w8, #196
	mov	w8, #192
	ccmp	w9, w8, #4, ne
	cset	w24, eq
	ldr	w1, [x21, #16]
	mov	x0, x20
	bl	_strcpy
	sub	x23, x21, #16
	tbnz	w24, #0, LBB0_7
; %bb.6:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcat
LBB0_7:
	mov	x0, x20
	bl	_strlen
	add	x0, x20, w0, sxtw
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_arg
	ldur	x8, [x21, #-8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w24, #0
	csel	x1, x8, x9, ne
	mov	x0, x20
	bl	_strcat
LBB0_9:
	mov	x0, x20
	bl	_strlen
	add	x0, x20, w0, sxtw
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	bl	_arg
	ldur	w0, [x21, #-24]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_opcodes,8,3                    ; @opcodes
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	", "

l_.str.2:                               ; @.str.2
	.asciz	"db 0x%02x"

	.no_dead_strip	_i8080_disasm
.subsections_via_symbols
