	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_XLD_D1ffPutByte            ## -- Begin function PBI_XLD_D1ffPutByte
	.p2align	4, 0x90
_PBI_XLD_D1ffPutByte:                   ## @PBI_XLD_D1ffPutByte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_xld_d_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_DISK_MASK@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_MEMORY_mem@GOTPCREL(%rip), %rax
	movl	$55296, %edi                    ## imm = 0xD800
	addq	(%rax), %rdi
	movq	_diskrom@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memcpy
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_4:
	movq	_MODEM_MASK@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_MEMORY_mem@GOTPCREL(%rip), %rax
	movl	$55296, %edi                    ## imm = 0xD800
	addq	(%rax), %rdi
	movq	_voicerom@GOTPCREL(%rip), %rax
	movl	$2048, %esi                     ## imm = 0x800
	addq	(%rax), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memcpy
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_6:
	movq	_VOICE_MASK@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_MEMORY_mem@GOTPCREL(%rip), %rax
	movl	$55296, %edi                    ## imm = 0xD800
	addq	(%rax), %rdi
	movq	_voicerom@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memcpy
	leaq	L_.str.2(%rip), %rdi
LBB0_3:
	callq	_printf
	movl	%eax, %edi
	callq	_D
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_PBI_NOT_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xld_d_enabled,8,3              ## @xld_d_enabled
	.comm	_DISK_MASK,8,3                  ## @DISK_MASK
	.comm	_MEMORY_mem,8,3                 ## @MEMORY_mem
	.comm	_diskrom,8,3                    ## @diskrom
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DISK rom activated\n"

	.comm	_MODEM_MASK,8,3                 ## @MODEM_MASK
	.comm	_voicerom,8,3                   ## @voicerom
L_.str.1:                               ## @.str.1
	.asciz	"MODEM rom activated\n"

	.comm	_VOICE_MASK,8,3                 ## @VOICE_MASK
L_.str.2:                               ## @.str.2
	.asciz	"VOICE rom activated\n"

	.comm	_PBI_NOT_HANDLED,4,2            ## @PBI_NOT_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_XLD_D1ffPutByte            ; -- Begin function PBI_XLD_D1ffPutByte
	.p2align	2
_PBI_XLD_D1ffPutByte:                   ; @PBI_XLD_D1ffPutByte
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _xld_d_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xld_d_enabled@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DISK_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DISK_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, x0, #0, ne
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _MODEM_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MODEM_MASK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _MEMORY_mem@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MEMORY_mem@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w9, #55296
	add	x0, x8, x9
Lloh12:
	adrp	x8, _voicerom@GOTPAGE
Lloh13:
	ldr	x8, [x8, _voicerom@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x1, x8, #2048
	mov	w2, #2048
	bl	_memcpy
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh17:
	adrp	x8, _MEMORY_mem@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MEMORY_mem@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	mov	w9, #55296
	add	x0, x8, x9
Lloh20:
	adrp	x8, _diskrom@GOTPAGE
Lloh21:
	ldr	x8, [x8, _diskrom@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
	mov	w2, #2048
	bl	_memcpy
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh25:
	adrp	x8, _VOICE_MASK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VOICE_MASK@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_7
; %bb.5:
Lloh28:
	adrp	x8, _MEMORY_mem@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MEMORY_mem@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	mov	w9, #55296
	add	x0, x8, x9
Lloh31:
	adrp	x8, _voicerom@GOTPAGE
Lloh32:
	ldr	x8, [x8, _voicerom@GOTPAGEOFF]
Lloh33:
	ldr	x1, [x8]
	mov	w2, #2048
	bl	_memcpy
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_printf
	bl	_D
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh36:
	adrp	x8, _PBI_NOT_HANDLED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PBI_NOT_HANDLED@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_xld_d_enabled,8,3              ; @xld_d_enabled
	.comm	_DISK_MASK,8,3                  ; @DISK_MASK
	.comm	_MEMORY_mem,8,3                 ; @MEMORY_mem
	.comm	_diskrom,8,3                    ; @diskrom
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DISK rom activated\n"

	.comm	_MODEM_MASK,8,3                 ; @MODEM_MASK
	.comm	_voicerom,8,3                   ; @voicerom
l_.str.1:                               ; @.str.1
	.asciz	"MODEM rom activated\n"

	.comm	_VOICE_MASK,8,3                 ; @VOICE_MASK
l_.str.2:                               ; @.str.2
	.asciz	"VOICE rom activated\n"

	.comm	_PBI_NOT_HANDLED,4,2            ; @PBI_NOT_HANDLED
.subsections_via_symbols
