	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e7000_store_register
_e7000_store_register:                  ## @e7000_store_register
	.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	$208, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	cmpl	$-1, %edi
	je	LBB0_1
## %bb.3:
	movl	%edi, %ebx
	movq	_TARGET_ARCHITECTURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_bfd_arch_h8300@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.4:
	cmpl	$7, %ebx
	jg	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	leaq	L_.str(%rip), %rsi
LBB0_24:
	leaq	-224(%rbp), %rdi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_25
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_28
## %bb.2:
	xorl	%eax, %eax
	addq	$208, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_e7000_store_registers          ## TAILCALL
LBB0_8:
	movq	_bfd_arch_sh@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.9:
	movq	_PC_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.10:
	movq	_SR_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_22
LBB0_6:
	movq	_PC_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_26
LBB0_7:
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	leaq	L_.str.1(%rip), %rsi
LBB0_22:
	leaq	-224(%rbp), %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_sprintf
LBB0_25:
	leaq	-224(%rbp), %rdi
	callq	_puts_e7000debug
LBB0_26:
	xorl	%eax, %eax
	callq	_expect_prompt
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	addq	$208, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movq	_PR_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_14
## %bb.13:
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_22
LBB0_14:
	movq	_GBR_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_22
LBB0_16:
	movq	_VBR_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_18
## %bb.17:
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_22
LBB0_18:
	movq	_MACH_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_20
## %bb.19:
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_22
LBB0_20:
	movq	_MACL_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_read_register
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_phex_nz
	cmpl	%ebx, %r14d
	jne	LBB0_23
## %bb.21:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_22
LBB0_23:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_24
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_ARCHITECTURE,8,3        ## @TARGET_ARCHITECTURE
	.comm	_bfd_arch_h8300,8,3             ## @bfd_arch_h8300
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".ER%d %s\r"

	.comm	_PC_REGNUM,4,2                  ## @PC_REGNUM
L_.str.1:                               ## @.str.1
	.asciz	".PC %s\r"

	.comm	_bfd_arch_sh,8,3                ## @bfd_arch_sh
	.comm	_SR_REGNUM,4,2                  ## @SR_REGNUM
L_.str.2:                               ## @.str.2
	.asciz	".SR %s\r"

	.comm	_PR_REGNUM,4,2                  ## @PR_REGNUM
L_.str.3:                               ## @.str.3
	.asciz	".PR %s\r"

	.comm	_GBR_REGNUM,4,2                 ## @GBR_REGNUM
L_.str.4:                               ## @.str.4
	.asciz	".GBR %s\r"

	.comm	_VBR_REGNUM,4,2                 ## @VBR_REGNUM
L_.str.5:                               ## @.str.5
	.asciz	".VBR %s\r"

	.comm	_MACH_REGNUM,4,2                ## @MACH_REGNUM
L_.str.6:                               ## @.str.6
	.asciz	".MACH %s\r"

	.comm	_MACL_REGNUM,4,2                ## @MACL_REGNUM
L_.str.7:                               ## @.str.7
	.asciz	".MACL %s\r"

L_.str.8:                               ## @.str.8
	.asciz	".R%d %s\r"

	.comm	_CCR_REGNUM,4,2                 ## @CCR_REGNUM
	.no_dead_strip	_e7000_store_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e7000_store_register
_e7000_store_register:                  ; @e7000_store_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _TARGET_ARCHITECTURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TARGET_ARCHITECTURE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _bfd_arch_h8300@GOTPAGE
Lloh7:
	ldr	x9, [x9, _bfd_arch_h8300@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	cmp	w19, #7
	b.gt	LBB0_10
; %bb.3:
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	stp	x19, x0, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_4:
	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_26
; %bb.5:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #272
	b	_e7000_store_registers
LBB0_6:
Lloh14:
	adrp	x9, _bfd_arch_sh@GOTPAGE
Lloh15:
	ldr	x9, [x9, _bfd_arch_sh@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.7:
Lloh17:
	adrp	x8, _PC_REGNUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PC_REGNUM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_11
; %bb.8:
Lloh20:
	adrp	x8, _SR_REGNUM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SR_REGNUM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_15
; %bb.9:
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	str	x0, [sp]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh25:
	adrp	x8, _PC_REGNUM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PC_REGNUM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	str	x0, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_12:
	add	x0, sp, #16
	bl	_sprintf
	add	x0, sp, #16
	bl	_puts_e7000debug
LBB0_13:
	bl	_expect_prompt
	ldur	x8, [x29, #-40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.14:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_15:
Lloh33:
	adrp	x8, _PR_REGNUM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PR_REGNUM@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	str	x0, [sp]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_17:
Lloh38:
	adrp	x8, _GBR_REGNUM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GBR_REGNUM@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	str	x0, [sp]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_19:
Lloh43:
	adrp	x8, _VBR_REGNUM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _VBR_REGNUM@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	str	x0, [sp]
Lloh46:
	adrp	x1, l_.str.5@PAGE
Lloh47:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_21:
Lloh48:
	adrp	x8, _MACH_REGNUM@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MACH_REGNUM@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	str	x0, [sp]
Lloh51:
	adrp	x1, l_.str.6@PAGE
Lloh52:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_23:
Lloh53:
	adrp	x8, _MACL_REGNUM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MACL_REGNUM@GOTPAGEOFF]
Lloh55:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_read_register
	mov	w1, #0
	bl	_phex_nz
	cmp	w20, w19
	b.ne	LBB0_25
; %bb.24:
	str	x0, [sp]
Lloh56:
	adrp	x1, l_.str.7@PAGE
Lloh57:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_12
LBB0_25:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	stp	x19, x0, [sp]
Lloh58:
	adrp	x1, l_.str.8@PAGE
Lloh59:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_ARCHITECTURE,8,3        ; @TARGET_ARCHITECTURE
	.comm	_bfd_arch_h8300,8,3             ; @bfd_arch_h8300
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".ER%d %s\r"

	.comm	_PC_REGNUM,4,2                  ; @PC_REGNUM
l_.str.1:                               ; @.str.1
	.asciz	".PC %s\r"

	.comm	_bfd_arch_sh,8,3                ; @bfd_arch_sh
	.comm	_SR_REGNUM,4,2                  ; @SR_REGNUM
l_.str.2:                               ; @.str.2
	.asciz	".SR %s\r"

	.comm	_PR_REGNUM,4,2                  ; @PR_REGNUM
l_.str.3:                               ; @.str.3
	.asciz	".PR %s\r"

	.comm	_GBR_REGNUM,4,2                 ; @GBR_REGNUM
l_.str.4:                               ; @.str.4
	.asciz	".GBR %s\r"

	.comm	_VBR_REGNUM,4,2                 ; @VBR_REGNUM
l_.str.5:                               ; @.str.5
	.asciz	".VBR %s\r"

	.comm	_MACH_REGNUM,4,2                ; @MACH_REGNUM
l_.str.6:                               ; @.str.6
	.asciz	".MACH %s\r"

	.comm	_MACL_REGNUM,4,2                ; @MACL_REGNUM
l_.str.7:                               ; @.str.7
	.asciz	".MACL %s\r"

l_.str.8:                               ; @.str.8
	.asciz	".R%d %s\r"

	.comm	_CCR_REGNUM,4,2                 ; @CCR_REGNUM
	.no_dead_strip	_e7000_store_register
.subsections_via_symbols
