	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__initialize_ser_dos            ## -- Begin function _initialize_ser_dos
	.p2align	4, 0x90
__initialize_ser_dos:                   ## @_initialize_ser_dos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_dos_ops@GOTPCREL(%rip), %rdi
	callq	_serial_add_interface
	movq	_ICU_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inportb
	movq	_icu_oldmask@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_intrupts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, 8(%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
	movq	_class_obscure@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_var_zinteger@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_ports@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	addq	$4, %rcx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %r8
	movq	_setlist@GOTPCREL(%rip), %r14
	movq	%r14, %r9
	callq	_add_set_cmd
	movq	_showlist@GOTPCREL(%rip), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	(%r13), %rcx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r8
	movq	%r14, %r9
	callq	_add_set_cmd
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	(%r13), %rcx
	addq	$12, %rcx
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %r8
	movq	%r14, %r9
	callq	_add_set_cmd
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	(%r13), %rcx
	addq	$8, %rcx
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %r8
	movq	%r14, %r9
	callq	_add_set_cmd
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	(%r13), %rcx
	addq	$20, %rcx
	leaq	L_.str.8(%rip), %rdi
	leaq	L_.str.9(%rip), %r8
	movq	%r14, %r9
	callq	_add_set_cmd
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	(%r13), %rcx
	addq	$16, %rcx
	leaq	L_.str.10(%rip), %rdi
	leaq	L_.str.11(%rip), %r8
	movq	%r14, %r9
	callq	_add_set_cmd
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	(%r13), %rcx
	addq	$28, %rcx
	leaq	L_.str.12(%rip), %rdi
	leaq	L_.str.13(%rip), %r8
	movq	%r14, %r9
	callq	_add_set_cmd
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	(%r13), %rcx
	addq	$24, %rcx
	leaq	L_.str.14(%rip), %rdi
	leaq	L_.str.15(%rip), %r8
	movq	%r14, %r9
	callq	_add_set_cmd
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_add_show_from_set
	movq	_dos_info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.16(%rip), %rdi
	leaq	L_.str.17(%rip), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dos_ops,4,2                    ## @dos_ops
	.comm	_ICU_MASK,4,2                   ## @ICU_MASK
	.comm	_icu_oldmask,4,2                ## @icu_oldmask
	.comm	_intrupts,8,3                   ## @intrupts
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"com1base"

	.comm	_class_obscure,4,2              ## @class_obscure
	.comm	_var_zinteger,4,2               ## @var_zinteger
	.comm	_ports,8,3                      ## @ports
L_.str.1:                               ## @.str.1
	.asciz	"Set COM1 base i/o port address."

	.comm	_setlist,4,2                    ## @setlist
	.comm	_showlist,4,2                   ## @showlist
L_.str.2:                               ## @.str.2
	.asciz	"com1irq"

L_.str.3:                               ## @.str.3
	.asciz	"Set COM1 interrupt request."

L_.str.4:                               ## @.str.4
	.asciz	"com2base"

L_.str.5:                               ## @.str.5
	.asciz	"Set COM2 base i/o port address."

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

L_.str.7:                               ## @.str.7
	.asciz	"Set COM2 interrupt request."

L_.str.8:                               ## @.str.8
	.asciz	"com3base"

L_.str.9:                               ## @.str.9
	.asciz	"Set COM3 base i/o port address."

L_.str.10:                              ## @.str.10
	.asciz	"com3irq"

L_.str.11:                              ## @.str.11
	.asciz	"Set COM3 interrupt request."

L_.str.12:                              ## @.str.12
	.asciz	"com4base"

L_.str.13:                              ## @.str.13
	.asciz	"Set COM4 base i/o port address."

L_.str.14:                              ## @.str.14
	.asciz	"com4irq"

L_.str.15:                              ## @.str.15
	.asciz	"Set COM4 interrupt request."

L_.str.16:                              ## @.str.16
	.asciz	"serial"

	.comm	_dos_info,4,2                   ## @dos_info
L_.str.17:                              ## @.str.17
	.asciz	"Print DOS serial port status."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__initialize_ser_dos            ; -- Begin function _initialize_ser_dos
	.p2align	2
__initialize_ser_dos:                   ; @_initialize_ser_dos
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x0, _dos_ops@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dos_ops@GOTPAGEOFF]
	bl	_serial_add_interface
Lloh2:
	adrp	x8, _ICU_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ICU_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_inportb
Lloh5:
	adrp	x8, _icu_oldmask@GOTPAGE
Lloh6:
	ldr	x8, [x8, _icu_oldmask@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
Lloh8:
	adrp	x8, _intrupts@GOTPAGE
Lloh9:
	ldr	x8, [x8, _intrupts@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, #8]
	movi.2s	v0, #1
	str	d0, [x8]
Lloh11:
	adrp	x21, _class_obscure@GOTPAGE
Lloh12:
	ldr	x21, [x21, _class_obscure@GOTPAGEOFF]
Lloh13:
	adrp	x22, _var_zinteger@GOTPAGE
Lloh14:
	ldr	x22, [x22, _var_zinteger@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w2, [x22]
Lloh15:
	adrp	x23, _ports@GOTPAGE
Lloh16:
	ldr	x23, [x23, _ports@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x3, x8, #4
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
Lloh19:
	adrp	x4, l_.str.1@PAGE
Lloh20:
	add	x4, x4, l_.str.1@PAGEOFF
Lloh21:
	adrp	x19, _setlist@GOTPAGE
Lloh22:
	ldr	x19, [x19, _setlist@GOTPAGEOFF]
	mov	x5, x19
	bl	_add_set_cmd
Lloh23:
	adrp	x20, _showlist@GOTPAGE
Lloh24:
	ldr	x20, [x20, _showlist@GOTPAGEOFF]
	mov	x1, x20
	bl	_add_show_from_set
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	x3, [x23]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh27:
	adrp	x4, l_.str.3@PAGE
Lloh28:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x5, x19
	bl	_add_set_cmd
	mov	x1, x20
	bl	_add_show_from_set
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	x8, [x23]
	add	x3, x8, #12
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh31:
	adrp	x4, l_.str.5@PAGE
Lloh32:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x5, x19
	bl	_add_set_cmd
	mov	x1, x20
	bl	_add_show_from_set
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	x8, [x23]
	add	x3, x8, #8
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh35:
	adrp	x4, l_.str.7@PAGE
Lloh36:
	add	x4, x4, l_.str.7@PAGEOFF
	mov	x5, x19
	bl	_add_set_cmd
	mov	x1, x20
	bl	_add_show_from_set
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	x8, [x23]
	add	x3, x8, #20
Lloh37:
	adrp	x0, l_.str.8@PAGE
Lloh38:
	add	x0, x0, l_.str.8@PAGEOFF
Lloh39:
	adrp	x4, l_.str.9@PAGE
Lloh40:
	add	x4, x4, l_.str.9@PAGEOFF
	mov	x5, x19
	bl	_add_set_cmd
	mov	x1, x20
	bl	_add_show_from_set
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	x8, [x23]
	add	x3, x8, #16
Lloh41:
	adrp	x0, l_.str.10@PAGE
Lloh42:
	add	x0, x0, l_.str.10@PAGEOFF
Lloh43:
	adrp	x4, l_.str.11@PAGE
Lloh44:
	add	x4, x4, l_.str.11@PAGEOFF
	mov	x5, x19
	bl	_add_set_cmd
	mov	x1, x20
	bl	_add_show_from_set
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	x8, [x23]
	add	x3, x8, #28
Lloh45:
	adrp	x0, l_.str.12@PAGE
Lloh46:
	add	x0, x0, l_.str.12@PAGEOFF
Lloh47:
	adrp	x4, l_.str.13@PAGE
Lloh48:
	add	x4, x4, l_.str.13@PAGEOFF
	mov	x5, x19
	bl	_add_set_cmd
	mov	x1, x20
	bl	_add_show_from_set
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	x8, [x23]
	add	x3, x8, #24
Lloh49:
	adrp	x0, l_.str.14@PAGE
Lloh50:
	add	x0, x0, l_.str.14@PAGEOFF
Lloh51:
	adrp	x4, l_.str.15@PAGE
Lloh52:
	add	x4, x4, l_.str.15@PAGEOFF
	mov	x5, x19
	bl	_add_set_cmd
	mov	x1, x20
	bl	_add_show_from_set
Lloh53:
	adrp	x8, _dos_info@GOTPAGE
Lloh54:
	ldr	x8, [x8, _dos_info@GOTPAGEOFF]
Lloh55:
	adrp	x0, l_.str.16@PAGE
Lloh56:
	add	x0, x0, l_.str.16@PAGEOFF
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x2, l_.str.17@PAGE
Lloh59:
	add	x2, x2, l_.str.17@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_add_info
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh57
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dos_ops,4,2                    ; @dos_ops
	.comm	_ICU_MASK,4,2                   ; @ICU_MASK
	.comm	_icu_oldmask,4,2                ; @icu_oldmask
	.comm	_intrupts,8,3                   ; @intrupts
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"com1base"

	.comm	_class_obscure,4,2              ; @class_obscure
	.comm	_var_zinteger,4,2               ; @var_zinteger
	.comm	_ports,8,3                      ; @ports
l_.str.1:                               ; @.str.1
	.asciz	"Set COM1 base i/o port address."

	.comm	_setlist,4,2                    ; @setlist
	.comm	_showlist,4,2                   ; @showlist
l_.str.2:                               ; @.str.2
	.asciz	"com1irq"

l_.str.3:                               ; @.str.3
	.asciz	"Set COM1 interrupt request."

l_.str.4:                               ; @.str.4
	.asciz	"com2base"

l_.str.5:                               ; @.str.5
	.asciz	"Set COM2 base i/o port address."

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

l_.str.7:                               ; @.str.7
	.asciz	"Set COM2 interrupt request."

l_.str.8:                               ; @.str.8
	.asciz	"com3base"

l_.str.9:                               ; @.str.9
	.asciz	"Set COM3 base i/o port address."

l_.str.10:                              ; @.str.10
	.asciz	"com3irq"

l_.str.11:                              ; @.str.11
	.asciz	"Set COM3 interrupt request."

l_.str.12:                              ; @.str.12
	.asciz	"com4base"

l_.str.13:                              ; @.str.13
	.asciz	"Set COM4 base i/o port address."

l_.str.14:                              ; @.str.14
	.asciz	"com4irq"

l_.str.15:                              ; @.str.15
	.asciz	"Set COM4 interrupt request."

l_.str.16:                              ; @.str.16
	.asciz	"serial"

	.comm	_dos_info,4,2                   ; @dos_info
l_.str.17:                              ; @.str.17
	.asciz	"Print DOS serial port status."

.subsections_via_symbols
