	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rom68k_supply_register
_rom68k_supply_register:                ## @rom68k_supply_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rax
	cmpl	$3, %esi
	je	LBB0_12
## %bb.1:
	cmpl	$2, %esi
	jne	LBB0_20
## %bb.2:
	movsbl	(%rdi), %ecx
	addl	$-65, %ecx
	cmpl	$18, %ecx
	ja	LBB0_20
## %bb.3:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_10:
	cmpb	$82, 1(%rdi)
	jne	LBB0_20
## %bb.11:
	movq	_M68K_A0_REGNUM@GOTPCREL(%rip), %rcx
	movl	$7, %ebx
	jmp	LBB0_17
LBB0_12:
	cmpb	$73, (%rdi)
	jne	LBB0_20
## %bb.13:
	cmpb	$83, 1(%rdi)
	jne	LBB0_20
## %bb.14:
	cmpb	$80, 2(%rdi)
	jne	LBB0_20
## %bb.15:
	movq	_SP_REGNUM@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_8:
	cmpb	$82, 1(%rdi)
	jne	LBB0_20
## %bb.9:
	movq	_M68K_D0_REGNUM@GOTPCREL(%rip), %rcx
	movl	$8, %ebx
	jmp	LBB0_17
LBB0_6:
	cmpb	$67, 1(%rdi)
	jne	LBB0_20
## %bb.7:
	movq	_PC_REGNUM@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_4:
	cmpb	$82, 1(%rdi)
	jne	LBB0_20
## %bb.5:
	movq	_PS_REGNUM@GOTPCREL(%rip), %rcx
LBB0_16:
	movl	$1, %ebx
LBB0_17:
	movl	(%rcx), %edi
	testl	%edi, %edi
	js	LBB0_20
## %bb.18:
	incl	%ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%rdi), %r14d
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%rax, %rsi
	callq	_rom68k_supply_one_register
	decl	%ebx
	movl	%r14d, %edi
	cmpl	$1, %ebx
	ja	LBB0_19
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_8
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_6
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_PS_REGNUM,4,2                  ## @PS_REGNUM
	.comm	_PC_REGNUM,4,2                  ## @PC_REGNUM
	.comm	_M68K_D0_REGNUM,4,2             ## @M68K_D0_REGNUM
	.comm	_M68K_A0_REGNUM,4,2             ## @M68K_A0_REGNUM
	.comm	_SP_REGNUM,4,2                  ## @SP_REGNUM
	.no_dead_strip	_rom68k_supply_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rom68k_supply_register
_rom68k_supply_register:                ; @rom68k_supply_register
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cmp	w1, #3
	b.eq	LBB0_6
; %bb.1:
	cmp	w1, #2
	b.ne	LBB0_25
; %bb.2:
	ldrsb	w8, [x0]
	sub	w8, w8, #65
	cmp	w8, #18
	b.hi	LBB0_25
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldrb	w8, [x0, #1]
	cmp	w8, #82
	b.ne	LBB0_25
; %bb.5:
Lloh2:
	adrp	x8, _M68K_A0_REGNUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M68K_A0_REGNUM@GOTPAGEOFF]
	mov	w20, #7
	mov	w21, #1
	b	LBB0_17
LBB0_6:
	ldrb	w8, [x0]
	cmp	w8, #73
	b.ne	LBB0_25
; %bb.7:
	ldrb	w8, [x0, #1]
	cmp	w8, #83
	b.ne	LBB0_25
; %bb.8:
	ldrb	w8, [x0, #2]
	cmp	w8, #80
	b.ne	LBB0_25
; %bb.9:
	mov	w21, #0
Lloh4:
	adrp	x8, _SP_REGNUM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SP_REGNUM@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
	ldrb	w8, [x0, #1]
	cmp	w8, #82
	b.ne	LBB0_25
; %bb.11:
Lloh6:
	adrp	x8, _M68K_D0_REGNUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M68K_D0_REGNUM@GOTPAGEOFF]
	mov	w20, #8
	mov	w21, #1
	b	LBB0_17
LBB0_12:
	ldrb	w8, [x0, #1]
	cmp	w8, #67
	b.ne	LBB0_25
; %bb.13:
	mov	w21, #0
Lloh8:
	adrp	x8, _PC_REGNUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PC_REGNUM@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
	ldrb	w8, [x0, #1]
	cmp	w8, #82
	b.ne	LBB0_25
; %bb.15:
	mov	w21, #0
Lloh10:
	adrp	x8, _PS_REGNUM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PS_REGNUM@GOTPAGEOFF]
LBB0_16:
	mov	w20, #1
LBB0_17:
	ldr	w19, [x8]
	tbnz	w19, #31, LBB0_25
; %bb.18:
	mov	x0, x19
	mov	x1, x2
	bl	_rom68k_supply_one_register
	cbz	w21, LBB0_25
; %bb.19:
	mov	x1, x0
	add	w0, w19, #1
	bl	_rom68k_supply_one_register
	sub	w8, w20, #3
	cmn	w8, #3
	b.hi	LBB0_25
; %bb.20:
	mov	x1, x0
	add	w0, w19, #2
	bl	_rom68k_supply_one_register
	and	w8, w20, #0xe
	cmp	w8, #2
	b.eq	LBB0_25
; %bb.21:
	mov	x1, x0
	add	w0, w19, #3
	bl	_rom68k_supply_one_register
	sub	w8, w20, #5
	cmn	w8, #3
	b.hi	LBB0_25
; %bb.22:
	mov	x1, x0
	add	w0, w19, #4
	bl	_rom68k_supply_one_register
	and	w8, w20, #0xe
	cmp	w8, #4
	b.eq	LBB0_25
; %bb.23:
	mov	x1, x0
	add	w0, w19, #5
	bl	_rom68k_supply_one_register
	sub	w8, w20, #7
	cmn	w8, #3
	b.hi	LBB0_25
; %bb.24:
	mov	x1, x0
	add	w0, w19, #6
	bl	_rom68k_supply_one_register
	and	w8, w20, #0xe
	cmp	w8, #6
	b.ne	LBB0_26
LBB0_25:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_26:
	mov	x1, x0
	add	w0, w19, #7
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rom68k_supply_one_register
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
                                        ; -- End function
	.comm	_PS_REGNUM,4,2                  ; @PS_REGNUM
	.comm	_PC_REGNUM,4,2                  ; @PC_REGNUM
	.comm	_M68K_D0_REGNUM,4,2             ; @M68K_D0_REGNUM
	.comm	_M68K_A0_REGNUM,4,2             ; @M68K_A0_REGNUM
	.comm	_SP_REGNUM,4,2                  ; @SP_REGNUM
	.no_dead_strip	_rom68k_supply_register
.subsections_via_symbols
