	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MEMORY_HwPutByte               ## -- Begin function MEMORY_HwPutByte
	.p2align	4, 0x90
_MEMORY_HwPutByte:                      ## @MEMORY_HwPutByte
	.cfi_startproc
## %bb.0:
	movl	%edi, %eax
	andl	$-256, %eax
	movswl	%ax, %ecx
	movzwl	%ax, %eax
	cmpl	$-12033, %ecx                   ## imm = 0xD0FF
	jg	LBB0_29
## %bb.1:
	cmpl	$-14593, %ecx                   ## imm = 0xC6FF
	jle	LBB0_2
## %bb.15:
	cmpl	$-13313, %ecx                   ## imm = 0xCBFF
	jg	LBB0_22
## %bb.16:
	cmpl	$-14081, %ecx                   ## imm = 0xC8FF
	jle	LBB0_17
## %bb.19:
	cmpl	$51456, %eax                    ## imm = 0xC900
	je	LBB0_28
## %bb.20:
	cmpl	$51712, %eax                    ## imm = 0xCA00
	je	LBB0_28
## %bb.21:
	cmpl	$51968, %eax                    ## imm = 0xCB00
	je	LBB0_28
	jmp	LBB0_48
LBB0_29:
	cmpl	$-5633, %ecx                    ## imm = 0xE9FF
	jle	LBB0_30
## %bb.44:
	cmpl	$-4353, %ecx                    ## imm = 0xEEFF
	jg	LBB0_53
## %bb.45:
	cmpl	$-5121, %ecx                    ## imm = 0xEBFF
	jle	LBB0_46
## %bb.49:
	cmpl	$60416, %eax                    ## imm = 0xEC00
	je	LBB0_52
## %bb.50:
	cmpl	$60672, %eax                    ## imm = 0xED00
	je	LBB0_52
## %bb.51:
	cmpl	$60928, %eax                    ## imm = 0xEE00
	je	LBB0_52
	jmp	LBB0_48
LBB0_2:
	cmpl	$-15873, %ecx                   ## imm = 0xC1FF
	jle	LBB0_3
## %bb.9:
	cmpl	$-15361, %ecx                   ## imm = 0xC3FF
	jle	LBB0_10
## %bb.12:
	cmpl	$50176, %eax                    ## imm = 0xC400
	je	LBB0_28
## %bb.13:
	cmpl	$50432, %eax                    ## imm = 0xC500
	je	LBB0_28
## %bb.14:
	cmpl	$50688, %eax                    ## imm = 0xC600
	je	LBB0_28
	jmp	LBB0_48
LBB0_30:
	cmpl	$-11009, %ecx                   ## imm = 0xD4FF
	jle	LBB0_31
## %bb.37:
	cmpl	$-10497, %ecx                   ## imm = 0xD6FF
	jle	LBB0_38
## %bb.41:
	cmpl	$55040, %eax                    ## imm = 0xD700
	je	LBB0_66
## %bb.42:
	cmpl	$59392, %eax                    ## imm = 0xE800
	je	LBB0_52
## %bb.43:
	cmpl	$59648, %eax                    ## imm = 0xE900
	je	LBB0_52
	jmp	LBB0_48
LBB0_22:
	cmpl	$-12801, %ecx                   ## imm = 0xCDFF
	jle	LBB0_23
## %bb.25:
	cmpl	$52736, %eax                    ## imm = 0xCE00
	je	LBB0_28
## %bb.26:
	cmpl	$52992, %eax                    ## imm = 0xCF00
	je	LBB0_63
## %bb.27:
	cmpl	$53248, %eax                    ## imm = 0xD000
	je	LBB0_28
	jmp	LBB0_48
LBB0_53:
	cmpl	$3839, %ecx                     ## imm = 0xEFF
	jle	LBB0_54
## %bb.57:
	cmpl	$3840, %eax                     ## imm = 0xF00
	je	LBB0_63
## %bb.58:
	cmpl	$24320, %eax                    ## imm = 0x5F00
	je	LBB0_6
## %bb.59:
	cmpl	$20224, %eax                    ## imm = 0x4F00
	je	LBB0_60
	jmp	LBB0_48
LBB0_3:
	cmpl	$-16385, %ecx                   ## imm = 0xBFFF
	jg	LBB0_7
## %bb.4:
	cmpl	$36608, %eax                    ## imm = 0x8F00
	je	LBB0_60
## %bb.5:
	cmpl	$40704, %eax                    ## imm = 0x9F00
	jne	LBB0_48
LBB0_6:
	jmp	_CARTRIDGE_BountyBob2           ## TAILCALL
LBB0_31:
	cmpl	$-11521, %ecx                   ## imm = 0xD2FF
	jg	LBB0_34
## %bb.32:
	cmpl	$53504, %eax                    ## imm = 0xD100
	je	LBB0_65
## %bb.33:
	cmpl	$53760, %eax                    ## imm = 0xD200
	je	LBB0_52
	jmp	LBB0_48
LBB0_17:
	cmpl	$50944, %eax                    ## imm = 0xC700
	je	LBB0_28
## %bb.18:
	cmpl	$51200, %eax                    ## imm = 0xC800
	je	LBB0_28
	jmp	LBB0_48
LBB0_46:
	cmpl	$59904, %eax                    ## imm = 0xEA00
	je	LBB0_52
## %bb.47:
	cmpl	$60160, %eax                    ## imm = 0xEB00
	je	LBB0_52
	jmp	LBB0_48
LBB0_10:
	cmpl	$49664, %eax                    ## imm = 0xC200
	je	LBB0_28
## %bb.11:
	cmpl	$49920, %eax                    ## imm = 0xC300
	je	LBB0_28
	jmp	LBB0_48
LBB0_38:
	cmpl	$54528, %eax                    ## imm = 0xD500
	je	LBB0_62
## %bb.39:
	cmpl	$54784, %eax                    ## imm = 0xD600
	jne	LBB0_48
## %bb.40:
	jmp	_PBI_D6PutByte                  ## TAILCALL
LBB0_23:
	cmpl	$52224, %eax                    ## imm = 0xCC00
	je	LBB0_28
## %bb.24:
	cmpl	$52480, %eax                    ## imm = 0xCD00
	je	LBB0_28
	jmp	LBB0_48
LBB0_54:
	cmpl	$61184, %eax                    ## imm = 0xEF00
	je	LBB0_52
## %bb.55:
	cmpl	$65280, %eax                    ## imm = 0xFF00
	jne	LBB0_48
## %bb.56:
	jmp	_MosaicPutByte                  ## TAILCALL
LBB0_52:
	jmp	_POKEY_PutByte                  ## TAILCALL
LBB0_63:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Atari800_machine_type@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_Atari800_MACHINE_5200@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	popq	%rbp
	jne	LBB0_64
## %bb.67:
	jmp	_GTIA_PutByte                   ## TAILCALL
LBB0_7:
	cmpl	$49152, %eax                    ## imm = 0xC000
	je	LBB0_28
## %bb.8:
	cmpl	$49408, %eax                    ## imm = 0xC100
	jne	LBB0_48
LBB0_28:
	jmp	_GTIA_PutByte                   ## TAILCALL
LBB0_60:
	jmp	_CARTRIDGE_BountyBob1           ## TAILCALL
LBB0_34:
	cmpl	$54016, %eax                    ## imm = 0xD300
	je	LBB0_61
## %bb.35:
	cmpl	$54272, %eax                    ## imm = 0xD400
	jne	LBB0_48
## %bb.36:
	jmp	_ANTIC_PutByte                  ## TAILCALL
LBB0_66:
	jmp	_PBI_D7PutByte                  ## TAILCALL
LBB0_65:
	jmp	_PBI_D1PutByte                  ## TAILCALL
LBB0_62:
	jmp	_CARTRIDGE_PutByte              ## TAILCALL
LBB0_64:
	jmp	_AxlonPutByte                   ## TAILCALL
LBB0_61:
	jmp	_PIA_PutByte                    ## TAILCALL
LBB0_48:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Atari800_machine_type,4,2      ## @Atari800_machine_type
	.comm	_Atari800_MACHINE_5200,4,2      ## @Atari800_MACHINE_5200
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MEMORY_HwPutByte               ; -- Begin function MEMORY_HwPutByte
	.p2align	2
_MEMORY_HwPutByte:                      ; @MEMORY_HwPutByte
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0xff00
	mov	w9, #52735
	cmp	w8, w9
	b.gt	LBB0_7
; %bb.1:
	mov	w9, #50175
	cmp	w8, w9
	b.le	LBB0_13
; %bb.2:
	mov	w9, #51455
	cmp	w8, w9
	b.gt	LBB0_24
; %bb.3:
	mov	w9, #50687
	cmp	w8, w9
	b.le	LBB0_41
; %bb.4:
	mov	w9, #50688
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.5:
	mov	w9, #50944
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.6:
	mov	w9, #51200
	b	LBB0_52
LBB0_7:
	mov	w9, #55039
	cmp	w8, w9
	b.le	LBB0_18
; %bb.8:
	mov	w9, #60415
	cmp	w8, w9
	b.gt	LBB0_28
; %bb.9:
	mov	w9, #59647
	cmp	w8, w9
	b.le	LBB0_43
; %bb.10:
	mov	w9, #59648
	cmp	w8, w9
	b.eq	LBB0_57
; %bb.11:
	mov	w9, #59904
	cmp	w8, w9
	b.eq	LBB0_57
; %bb.12:
	mov	w9, #60160
	b	LBB0_56
LBB0_13:
	mov	w9, #40703
	cmp	w8, w9
	b.le	LBB0_33
; %bb.14:
	mov	w9, #49407
	cmp	w8, w9
	b.le	LBB0_45
; %bb.15:
	mov	w9, #49408
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.16:
	mov	w9, #49664
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.17:
	mov	w9, #49920
	b	LBB0_52
LBB0_18:
	mov	w9, #53759
	cmp	w8, w9
	b.le	LBB0_36
; %bb.19:
	mov	w9, #54271
	cmp	w8, w9
	b.le	LBB0_47
; %bb.20:
	mov	w9, #54272
	cmp	w8, w9
	b.eq	LBB0_66
; %bb.21:
	mov	w9, #54528
	cmp	w8, w9
	b.eq	LBB0_67
; %bb.22:
	mov	w9, #54784
	cmp	w8, w9
	b.ne	LBB0_70
; %bb.23:
	b	_PBI_D6PutByte
LBB0_24:
	mov	w9, #51967
	cmp	w8, w9
	b.le	LBB0_50
; %bb.25:
	mov	w9, #51968
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.26:
	mov	w9, #52224
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.27:
	mov	w9, #52480
	b	LBB0_52
LBB0_28:
	mov	w9, #60927
	cmp	w8, w9
	b.le	LBB0_54
; %bb.29:
	mov	w9, #60928
	cmp	w8, w9
	b.eq	LBB0_57
; %bb.30:
	mov	w9, #61184
	cmp	w8, w9
	b.eq	LBB0_57
; %bb.31:
	mov	w9, #65280
	cmp	w8, w9
	b.ne	LBB0_70
; %bb.32:
	b	_MosaicPutByte
LBB0_33:
	mov	w9, #24319
	cmp	w8, w9
	b.gt	LBB0_58
; %bb.34:
	cmp	w8, #3840
	b.eq	LBB0_39
; %bb.35:
	mov	w9, #20224
	b	LBB0_60
LBB0_36:
	cmp	w8, #13, lsl #12                ; =53248
	b.ge	LBB0_62
; %bb.37:
	mov	w9, #52736
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.38:
	mov	w9, #52992
	cmp	w8, w9
	b.ne	LBB0_70
LBB0_39:
Lloh0:
	adrp	x8, _Atari800_machine_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Atari800_machine_type@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _Atari800_MACHINE_5200@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Atari800_MACHINE_5200@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_68
; %bb.40:
	b	_GTIA_PutByte
LBB0_41:
	mov	w9, #50176
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.42:
	mov	w9, #50432
	b	LBB0_52
LBB0_43:
	mov	w9, #55040
	cmp	w8, w9
	b.eq	LBB0_69
; %bb.44:
	mov	w9, #59392
	b	LBB0_56
LBB0_45:
	mov	w9, #40704
	cmp	w8, w9
	b.eq	LBB0_65
; %bb.46:
	cmp	w8, #12, lsl #12                ; =49152
	b.eq	LBB0_53
	b	LBB0_70
LBB0_47:
	mov	w9, #53760
	cmp	w8, w9
	b.eq	LBB0_57
; %bb.48:
	mov	w9, #54016
	cmp	w8, w9
	b.ne	LBB0_70
; %bb.49:
	b	_PIA_PutByte
LBB0_50:
	mov	w9, #51456
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.51:
	mov	w9, #51712
LBB0_52:
	cmp	w8, w9
	b.ne	LBB0_70
LBB0_53:
	b	_GTIA_PutByte
LBB0_54:
	mov	w9, #60416
	cmp	w8, w9
	b.eq	LBB0_57
; %bb.55:
	mov	w9, #60672
LBB0_56:
	cmp	w8, w9
	b.ne	LBB0_70
LBB0_57:
	b	_POKEY_PutByte
LBB0_58:
	mov	w9, #24320
	cmp	w8, w9
	b.eq	LBB0_65
; %bb.59:
	mov	w9, #36608
LBB0_60:
	cmp	w8, w9
	b.ne	LBB0_70
; %bb.61:
	b	_CARTRIDGE_BountyBob1
LBB0_62:
	b.eq	LBB0_53
; %bb.63:
	mov	w9, #53504
	cmp	w8, w9
	b.ne	LBB0_70
; %bb.64:
	b	_PBI_D1PutByte
LBB0_65:
	b	_CARTRIDGE_BountyBob2
LBB0_66:
	b	_ANTIC_PutByte
LBB0_67:
	b	_CARTRIDGE_PutByte
LBB0_68:
	b	_AxlonPutByte
LBB0_69:
	b	_PBI_D7PutByte
LBB0_70:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Atari800_machine_type,4,2      ; @Atari800_machine_type
	.comm	_Atari800_MACHINE_5200,4,2      ; @Atari800_MACHINE_5200
.subsections_via_symbols
