	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YabSetError                    ## -- Begin function YabSetError
	.p2align	4, 0x90
_YabSetError:                           ## @YabSetError
	.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
	subq	$528, %rsp                      ## imm = 0x210
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $edi killed $edi def $rdi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	addl	$-129, %edi
	cmpl	$9, %edi
	ja	LBB0_19
## %bb.1:
	movq	%rsi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_15:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_6
LBB0_19:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_6
LBB0_14:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_6
LBB0_12:
	leaq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_SH2GetRegisters
	cmpl	$0, (%rbx)
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	8(%rbx), %rax
	movq	96(%rax), %r8
	movq	(%rax), %rcx
	movq	8(%rax), %r9
	leaq	L_.str.5(%rip), %rsi
	leaq	-544(%rbp), %r14
	movq	%r14, %rdi
	pushq	88(%rax)
	pushq	16(%rbx)
	pushq	80(%rax)
	pushq	24(%rbx)
	pushq	72(%rax)
	pushq	32(%rbx)
	pushq	64(%rax)
	pushq	40(%rbx)
	pushq	56(%rax)
	pushq	48(%rbx)
	pushq	48(%rax)
	pushq	56(%rbx)
	pushq	40(%rax)
	pushq	64(%rbx)
	pushq	32(%rax)
	pushq	120(%rax)
	pushq	24(%rax)
	pushq	112(%rax)
	pushq	16(%rax)
	pushq	104(%rax)
	callq	_sprintf
	addq	$160, %rsp
	movq	%r14, %rdi
	callq	_YuiErrorMsg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_20
## %bb.13:
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_16:
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_3
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_20
## %bb.18:
	movq	%rbx, %rdi
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	callq	__
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_20
## %bb.7:
	movq	%rax, %rdi
LBB0_8:
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_YuiErrorMsg                    ## TAILCALL
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_3
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
LBB0_3:
	callq	__
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_20
## %bb.4:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AllocAmendPrintString          ## TAILCALL
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"File not found: "

L_.str.1:                               ## @.str.1
	.asciz	"Error allocating memory\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error reading file: "

L_.str.3:                               ## @.str.3
	.asciz	"Error writing file: "

L_.str.4:                               ## @.str.4
	.asciz	"Cannot initialize "

L_.str.5:                               ## @.str.5
	.asciz	"%s SH2 invalid opcode\n\nR0 =  %08lX\tR12 =  %08lX\nR1 =  %08lX\tR13 =  %08lX\nR2 =  %08lX\tR14 =  %08lX\nR3 =  %08lX\tR15 =  %08lX\nR4 =  %08lX\tSR =   %08lX\nR5 =  %08lX\tGBR =  %08lX\nR6 =  %08lX\tVBR =  %08lX\nR7 =  %08lX\tMACH = %08lX\nR8 =  %08lX\tMACL = %08lX\nR9 =  %08lX\tPR =   %08lX\nR10 = %08lX\tPC =   %08lX\nR11 = %08lX\n"

L_.str.6:                               ## @.str.6
	.asciz	"Slave"

L_.str.7:                               ## @.str.7
	.asciz	"Master"

L_.str.8:                               ## @.str.8
	.asciz	"SH2 read error\n"

L_.str.9:                               ## @.str.9
	.asciz	"SH2 write error\n"

L_.str.10:                              ## @.str.10
	.asciz	"SDL Error: "

L_.str.11:                              ## @.str.11
	.asciz	"Unknown error occurred\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YabSetError                    ; -- Begin function YabSetError
	.p2align	2
_YabSetError:                           ; @YabSetError
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #672
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	sub	w8, w0, #129
	cmp	w8, #9
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x0, l_.str.9@PAGE
Lloh6:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_11
LBB0_3:
Lloh7:
	adrp	x0, l_.str.11@PAGE
Lloh8:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_11
LBB0_4:
Lloh9:
	adrp	x0, l_.str.8@PAGE
Lloh10:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_11
LBB0_5:
	add	x1, x19, #8
	mov	x0, x19
	bl	_SH2GetRegisters
	ldr	w8, [x19]
Lloh11:
	adrp	x9, l_.str.6@PAGE
Lloh12:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh13:
	adrp	x10, l_.str.7@PAGE
Lloh14:
	add	x10, x10, l_.str.7@PAGEOFF
	cmp	w8, #0
	ldp	x8, x11, [x19, #8]
	csel	x2, x10, x9, eq
	ldp	x3, x5, [x8]
	ldp	x4, x6, [x8, #96]
	ldp	x7, x9, [x8, #16]
	ldp	x10, x12, [x8, #112]
	ldp	x13, x14, [x8, #32]
	ldp	x16, x15, [x19, #56]
	ldp	x17, x0, [x8, #48]
	ldp	x20, x1, [x19, #40]
	ldp	x21, x22, [x8, #64]
	ldp	x19, x23, [x19, #24]
	ldp	x24, x8, [x8, #80]
	stp	x11, x8, [sp, #128]
	stp	x19, x24, [sp, #112]
	stp	x23, x22, [sp, #96]
	stp	x20, x21, [sp, #80]
	stp	x1, x0, [sp, #64]
	stp	x16, x17, [sp, #48]
	stp	x15, x14, [sp, #32]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #152
	stp	x12, x13, [sp, #16]
	stp	x10, x9, [sp]
	bl	_sprintf
	add	x0, sp, #152
	bl	_YuiErrorMsg
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.6:
	add	sp, sp, #672
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh20:
	adrp	x0, l_.str.10@PAGE
Lloh21:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_17
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.9:
	mov	x0, x19
	b	LBB0_12
LBB0_10:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_11:
	bl	__
	ldur	x8, [x29, #-72]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
LBB0_12:
	add	sp, sp, #672
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	b	_YuiErrorMsg
LBB0_13:
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_14:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_15:
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_17:
	bl	__
	ldur	x8, [x29, #-72]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x1, x19
	add	sp, sp, #672
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	b	_AllocAmendPrintString
LBB0_19:
	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	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"File not found: "

l_.str.1:                               ; @.str.1
	.asciz	"Error allocating memory\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error reading file: "

l_.str.3:                               ; @.str.3
	.asciz	"Error writing file: "

l_.str.4:                               ; @.str.4
	.asciz	"Cannot initialize "

l_.str.5:                               ; @.str.5
	.asciz	"%s SH2 invalid opcode\n\nR0 =  %08lX\tR12 =  %08lX\nR1 =  %08lX\tR13 =  %08lX\nR2 =  %08lX\tR14 =  %08lX\nR3 =  %08lX\tR15 =  %08lX\nR4 =  %08lX\tSR =   %08lX\nR5 =  %08lX\tGBR =  %08lX\nR6 =  %08lX\tVBR =  %08lX\nR7 =  %08lX\tMACH = %08lX\nR8 =  %08lX\tMACL = %08lX\nR9 =  %08lX\tPR =   %08lX\nR10 = %08lX\tPC =   %08lX\nR11 = %08lX\n"

l_.str.6:                               ; @.str.6
	.asciz	"Slave"

l_.str.7:                               ; @.str.7
	.asciz	"Master"

l_.str.8:                               ; @.str.8
	.asciz	"SH2 read error\n"

l_.str.9:                               ; @.str.9
	.asciz	"SH2 write error\n"

l_.str.10:                              ; @.str.10
	.asciz	"SDL Error: "

l_.str.11:                              ; @.str.11
	.asciz	"Unknown error occurred\n"

.subsections_via_symbols
