	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DiskGetExtendedDriveParameters ## -- Begin function DiskGetExtendedDriveParameters
	.p2align	4, 0x90
_DiskGetExtendedDriveParameters:        ## @DiskGetExtendedDriveParameters
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_BIOSCALLBUFFER@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	%ebx, %edi
	callq	_DiskInt13ExtensionsSupported
	movq	_FALSE@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%r15d, (%r12)
	movl	$72, -48(%rbp)
	movl	%ebx, -44(%rbp)
	movq	_BIOSCALLBUFSEGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_BIOSCALLBUFOFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movl	$19, %edi
	callq	_Int386
	movq	-72(%rbp), %rdi
	movq	-64(%rbp), %rsi
	callq	_INT386_SUCCESS
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	_TRUE@GOTPCREL(%rip), %r13
LBB0_3:
	movl	(%r13), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIOSCALLBUFFER,8,3             ## @BIOSCALLBUFFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DiskGetExtendedDriveParameters()\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_BIOSCALLBUFSEGMENT,4,2         ## @BIOSCALLBUFSEGMENT
	.comm	_BIOSCALLBUFOFFSET,4,2          ## @BIOSCALLBUFOFFSET
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DiskGetExtendedDriveParameters ; -- Begin function DiskGetExtendedDriveParameters
	.p2align	2
_DiskGetExtendedDriveParameters:        ; @DiskGetExtendedDriveParameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _BIOSCALLBUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIOSCALLBUFFER@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x22
	bl	_DiskInt13ExtensionsSupported
	cbz	w0, LBB0_3
; %bb.1:
	str	w19, [x21]
	mov	w8, #72
	stp	w8, w22, [sp, #16]
Lloh8:
	adrp	x8, _BIOSCALLBUFSEGMENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BIOSCALLBUFSEGMENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _BIOSCALLBUFOFFSET@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BIOSCALLBUFOFFSET@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	add	x1, sp, #8
	add	x2, sp, #24
	mov	w0, #19
	bl	_Int386
	ldp	x0, x1, [sp, #24]
	bl	_INT386_SUCCESS
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
Lloh14:
	adrp	x8, _TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	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
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BIOSCALLBUFFER,8,3             ; @BIOSCALLBUFFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DiskGetExtendedDriveParameters()\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_BIOSCALLBUFSEGMENT,4,2         ; @BIOSCALLBUFSEGMENT
	.comm	_BIOSCALLBUFOFFSET,4,2          ; @BIOSCALLBUFOFFSET
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
