	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh2iasm                        ## -- Begin function sh2iasm
	.p2align	4, 0x90
_sh2iasm:                               ## @sh2iasm
	.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	%r12
	pushq	%rbx
	subq	$192, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -176(%rbp)
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_1
## %bb.2:
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strip_opname
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	cltq
	leaq	(%rbx,%rax), %r12
	leaq	(%rbx,%rax), %r15
	decq	%r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r15
	cmpb	$32, (%r12)
	leaq	1(%r12), %r12
	je	LBB0_6
## %bb.7:
	leaq	-112(%rbp), %rsi
	movq	%r15, %rdi
	callq	_strip_arg
	cltq
	addq	%rax, %r15
	addq	%rax, %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15), %eax
	cmpb	$32, %al
	jne	LBB0_9
## %bb.34:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	incq	%r12
	jmp	LBB0_8
LBB0_9:
	cmpb	$44, %al
	je	LBB0_11
## %bb.10:
	movq	%r15, %r12
LBB0_11:
	decq	%r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%r12)
	leaq	1(%r12), %r12
	je	LBB0_12
## %bb.13:
	leaq	-144(%rbp), %rsi
	movq	%r12, %rdi
	callq	_strip_arg
	movb	-80(%rbp), %al
	testb	%al, %al
	je	LBB0_16
## %bb.14:
	leaq	-79(%rbp), %rbx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_tolower
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_15
LBB0_16:
	movb	-112(%rbp), %al
	testb	%al, %al
	je	LBB0_19
## %bb.17:
	leaq	-111(%rbp), %rbx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_tolower
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_18
LBB0_19:
	movb	-144(%rbp), %al
	testb	%al, %al
	je	LBB0_22
## %bb.20:
	leaq	-143(%rbp), %rbx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_tolower
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_21
LBB0_22:
	leaq	-112(%rbp), %rdi
	leaq	-192(%rbp), %rsi
	movq	%r14, %rdx
	callq	_parse_arg
	testl	%eax, %eax
	je	LBB0_23
## %bb.26:
	leaq	-144(%rbp), %rdi
	leaq	-176(%rbp), %rsi
	movq	%r14, %rdx
	callq	_parse_arg
	testl	%eax, %eax
	je	LBB0_27
## %bb.29:
	leaq	-80(%rbp), %rdi
	leaq	-192(%rbp), %rsi
	leaq	-176(%rbp), %rdx
	leaq	-148(%rbp), %rcx
	callq	_search_op
	testl	%eax, %eax
	je	LBB0_30
## %bb.31:
	leaq	-112(%rbp), %rdi
	leaq	-144(%rbp), %rsi
	leaq	-192(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	leaq	-208(%rbp), %r8
	callq	_rebuild_args
	movl	-148(%rbp), %edi
	movq	-192(%rbp), %rsi
	movq	-184(%rbp), %rdx
	movq	-176(%rbp), %rcx
	movq	-168(%rbp), %r8
	movups	-208(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_build_bytes
	movl	%eax, %ebx
	jmp	LBB0_32
LBB0_3:
	leaq	L_.str(%rip), %rdi
LBB0_4:
	movq	%r14, %rsi
	callq	_asm_bad
	xorl	%ebx, %ebx
	jmp	LBB0_32
LBB0_23:
	xorl	%ebx, %ebx
	cmpb	$0, -112(%rbp)
	je	LBB0_32
## %bb.24:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_25
LBB0_27:
	xorl	%ebx, %ebx
	cmpb	$0, -144(%rbp)
	je	LBB0_32
## %bb.28:
	leaq	L_.str.2(%rip), %rdi
LBB0_25:
	movq	%r14, %rsi
	callq	_asm_bad
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_35
## %bb.33:
	movl	%ebx, %eax
	addq	$192, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No opcode"

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

L_.str.2:                               ## @.str.2
	.asciz	"Arg 2"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid opcode. Likely doesn't exist or format is wrong\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh2iasm                        ; -- Begin function sh2iasm
	.p2align	2
_sh2iasm:                               ; @sh2iasm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	stp	xzr, xzr, [sp, #40]
	stp	xzr, xzr, [sp, #24]
	sub	x20, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20, #1]!
	cmp	w8, #32
	b.eq	LBB0_1
; %bb.2:
	sub	x1, x29, #70
	mov	x0, x20
	bl	_strip_opname
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_23
; %bb.3:
	sub	x20, x20, #1
	sxtw	x21, w0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x20, x21
	ldrb	w8, [x8, #1]
	add	x20, x20, #1
	cmp	w8, #32
	b.eq	LBB0_4
; %bb.5:
	add	x0, x20, x21
	add	x1, sp, #92
	bl	_strip_arg
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x21, x8
	ldrb	w9, [x20, x9]
	cmp	w9, #32
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, #1
	b	LBB0_6
LBB0_8:
	cmp	w9, #44
	add	x9, x20, x21
	add	x8, x9, x8
	cinc	x8, x8, eq
	sub	x0, x8, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0, #1]!
	cmp	w8, #32
	b.eq	LBB0_9
; %bb.10:
	add	x1, sp, #62
	bl	_strip_arg
	ldurb	w8, [x29, #-70]
	cbz	w8, LBB0_13
; %bb.11:
	sub	x9, x29, #70
	add	x20, x9, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_tolower
	sturb	w0, [x20, #-1]
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_12
LBB0_13:
	ldrb	w8, [sp, #92]
	cbz	w8, LBB0_16
; %bb.14:
	add	x9, sp, #92
	add	x20, x9, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_tolower
	sturb	w0, [x20, #-1]
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_15
LBB0_16:
	ldrb	w8, [sp, #62]
	cbz	w8, LBB0_19
; %bb.17:
	add	x9, sp, #62
	add	x20, x9, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_tolower
	sturb	w0, [x20, #-1]
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_18
LBB0_19:
	add	x0, sp, #92
	add	x1, sp, #40
	mov	x2, x19
	bl	_parse_arg
	cbz	w0, LBB0_24
; %bb.20:
	add	x0, sp, #62
	add	x1, sp, #24
	mov	x2, x19
	bl	_parse_arg
	cbz	w0, LBB0_26
; %bb.21:
	sub	x0, x29, #70
	add	x1, sp, #40
	add	x2, sp, #24
	add	x3, sp, #4
	bl	_search_op
	cbz	w0, LBB0_28
; %bb.22:
	add	x0, sp, #92
	add	x1, sp, #62
	add	x2, sp, #40
	add	x3, sp, #24
	add	x4, sp, #8
	bl	_rebuild_args
	ldr	w0, [sp, #4]
	ldp	x1, x2, [sp, #40]
	ldp	x3, x4, [sp, #24]
	ldp	x5, x6, [sp, #8]
	bl	_build_bytes
	b	LBB0_31
LBB0_23:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_29
LBB0_24:
	ldrb	w8, [sp, #92]
	cbz	w8, LBB0_30
; %bb.25:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_29
LBB0_26:
	ldrb	w8, [sp, #62]
	cbz	w8, LBB0_30
; %bb.27:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_29
LBB0_28:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_29:
	mov	x1, x19
	bl	_asm_bad
LBB0_30:
	mov	w0, #0
LBB0_31:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No opcode"

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

l_.str.2:                               ; @.str.2
	.asciz	"Arg 2"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid opcode. Likely doesn't exist or format is wrong\n"

.subsections_via_symbols
