	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SIO_Initialise                 ## -- Begin function SIO_Initialise
	.p2align	4, 0x90
_SIO_Initialise:                        ## @SIO_Initialise
	.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	_SIO_MAX_DRIVES@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_SIO_drive_status@GOTPCREL(%rip), %r14
	movq	_SIO_format_sectorsize@GOTPCREL(%rip), %r12
	movq	_SIO_format_sectorcount@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SIO_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movq	_SIO_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	(%r12), %rax
	movl	$128, (%rax,%rbx,4)
	movq	(%r15), %rax
	movl	$720, (%rax,%rbx,4)             ## imm = 0x2D0
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_SIO_NoFrame@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TransferStatus@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIO_MAX_DRIVES,4,2             ## @SIO_MAX_DRIVES
	.comm	_SIO_filename,8,3               ## @SIO_filename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Off"

	.comm	_SIO_OFF,4,2                    ## @SIO_OFF
	.comm	_SIO_drive_status,8,3           ## @SIO_drive_status
	.comm	_SIO_format_sectorsize,8,3      ## @SIO_format_sectorsize
	.comm	_SIO_format_sectorcount,8,3     ## @SIO_format_sectorcount
	.comm	_SIO_NoFrame,4,2                ## @SIO_NoFrame
	.comm	_TransferStatus,4,2             ## @TransferStatus
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SIO_Initialise                 ; -- Begin function SIO_Initialise
	.p2align	2
_SIO_Initialise:                        ; @SIO_Initialise
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _SIO_MAX_DRIVES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SIO_MAX_DRIVES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
Lloh2:
	adrp	x23, _SIO_OFF@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SIO_OFF@GOTPAGEOFF]
Lloh4:
	adrp	x19, l_.str@PAGE
Lloh5:
	add	x19, x19, l_.str@PAGEOFF
Lloh6:
	adrp	x24, _SIO_drive_status@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SIO_drive_status@GOTPAGEOFF]
Lloh8:
	adrp	x25, _SIO_format_sectorsize@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SIO_format_sectorsize@GOTPAGEOFF]
	mov	w26, #128
Lloh10:
	adrp	x27, _SIO_format_sectorcount@GOTPAGE
Lloh11:
	ldr	x27, [x27, _SIO_format_sectorcount@GOTPAGEOFF]
	mov	w28, #720
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh12:
	adrp	x8, _SIO_filename@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIO_filename@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	lsl	x20, x21, #2
	ldr	w0, [x8, x20]
	mov	x1, x19
	bl	_strcpy
	ldr	w8, [x23]
	ldr	x9, [x24]
	str	w8, [x9, x20]
	ldr	x8, [x25]
	str	w26, [x8, x20]
	ldr	x8, [x27]
	str	w28, [x8, x20]
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh15:
	adrp	x8, _SIO_NoFrame@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SIO_NoFrame@GOTPAGEOFF]
Lloh17:
	adrp	x9, _TransferStatus@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TransferStatus@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	str	w8, [x9]
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SIO_MAX_DRIVES,4,2             ; @SIO_MAX_DRIVES
	.comm	_SIO_filename,8,3               ; @SIO_filename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Off"

	.comm	_SIO_OFF,4,2                    ; @SIO_OFF
	.comm	_SIO_drive_status,8,3           ; @SIO_drive_status
	.comm	_SIO_format_sectorsize,8,3      ; @SIO_format_sectorsize
	.comm	_SIO_format_sectorcount,8,3     ; @SIO_format_sectorcount
	.comm	_SIO_NoFrame,4,2                ; @SIO_NoFrame
	.comm	_TransferStatus,4,2             ; @TransferStatus
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
