	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SIO_DisableDrive               ## -- Begin function SIO_DisableDrive
	.p2align	4, 0x90
_SIO_DisableDrive:                      ## @SIO_DisableDrive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_SIO_Dismount
	movq	_SIO_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SIO_drive_status@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	movl	%eax, -4(%rcx,%rdx,4)
	movq	_SIO_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-4(%rax,%rdx,4), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SIO_OFF,4,2                    ## @SIO_OFF
	.comm	_SIO_drive_status,8,3           ## @SIO_drive_status
	.comm	_SIO_filename,8,3               ## @SIO_filename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Off"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SIO_DisableDrive               ; -- Begin function SIO_DisableDrive
	.p2align	2
_SIO_DisableDrive:                      ; @SIO_DisableDrive
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_SIO_Dismount
Lloh0:
	adrp	x8, _SIO_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIO_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SIO_drive_status@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SIO_drive_status@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	w10, w19, #1
	sbfiz	x10, x10, #2, #32
	str	w8, [x9, x10]
Lloh6:
	adrp	x8, _SIO_filename@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIO_filename@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w0, [x8, x10]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strcpy
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIO_OFF,4,2                    ; @SIO_OFF
	.comm	_SIO_drive_status,8,3           ; @SIO_drive_status
	.comm	_SIO_filename,8,3               ; @SIO_filename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Off"

.subsections_via_symbols
