	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DiskInt13ExtensionsSupported
_DiskInt13ExtensionsSupported:          ## @DiskInt13ExtensionsSupported
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	cmpl	%ebx, _DiskInt13ExtensionsSupported.LastDriveNumber(%rip)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, _DiskInt13ExtensionsSupported.LastSupported(%rip)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_DiskInt13ExtensionsSupported.LastSupported(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	cmpl	$138, %ebx
	jl	LBB0_4
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movl	%ebx, _DiskInt13ExtensionsSupported.LastDriveNumber(%rip)
	movl	$65, -32(%rbp)
	movl	$21930, -40(%rbp)               ## imm = 0x55AA
	movl	%ebx, -28(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	movl	$19, %edi
	callq	_Int386
	movq	-24(%rbp), %rdi
	movq	-16(%rbp), %rsi
	callq	_INT386_SUCCESS
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$43605, -24(%rbp)               ## imm = 0xAA55
	jne	LBB0_8
## %bb.6:
	movl	-20(%rbp), %esi
	testb	$1, %sil
	jne	LBB0_3
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %edx
	callq	_DbgPrint
LBB0_8:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	movq	%rax, _DiskInt13ExtensionsSupported.LastSupported(%rip)
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @DiskInt13ExtensionsSupported.LastDriveNumber
_DiskInt13ExtensionsSupported.LastDriveNumber:
	.long	255                             ## 0xff

.zerofill __DATA,__bss,_DiskInt13ExtensionsSupported.LastSupported,8,3 ## @DiskInt13ExtensionsSupported.LastSupported
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DiskInt13ExtensionsSupported()\n"

L_.str.1:                               ## @.str.1
	.asciz	"Using cached value %s for drive 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"TRUE"

L_.str.3:                               ## @.str.3
	.asciz	"FALSE"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
L_.str.4:                               ## @.str.4
	.asciz	"Suspicious API subset support bitmap 0x%x on device 0x%lx\n"

	.no_dead_strip	_DiskInt13ExtensionsSupported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DiskInt13ExtensionsSupported
_DiskInt13ExtensionsSupported:          ; @DiskInt13ExtensionsSupported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	adrp	x8, _DiskInt13ExtensionsSupported.LastDriveNumber@PAGE
	ldr	w9, [x8, _DiskInt13ExtensionsSupported.LastDriveNumber@PAGEOFF]
	cmp	w9, w19
	b.ne	LBB0_2
; %bb.1:
	adrp	x20, _DiskInt13ExtensionsSupported.LastSupported@PAGE
	ldr	x8, [x20, _DiskInt13ExtensionsSupported.LastSupported@PAGEOFF]
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh7:
	adrp	x10, l_.str.3@PAGE
Lloh8:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	stp	x8, x19, [sp]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	x0, [x20, _DiskInt13ExtensionsSupported.LastSupported@PAGEOFF]
	b	LBB0_10
LBB0_2:
	cmp	w19, #138
	b.lt	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	str	w19, [x8, _DiskInt13ExtensionsSupported.LastDriveNumber@PAGEOFF]
	mov	w8, #65
	mov	w9, #21930
	stp	w8, w19, [sp, #32]
	str	w9, [sp, #24]
	add	x1, sp, #24
	add	x2, sp, #40
	mov	w0, #19
	bl	_Int386
	ldp	x0, x1, [sp, #40]
	bl	_INT386_SUCCESS
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w8, [sp, #40]
	mov	w9, #43605
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.6:
	ldr	w1, [sp, #44]
	tbnz	w1, #0, LBB0_3
; %bb.7:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x19
	bl	_DbgPrint
LBB0_8:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x8]
	adrp	x8, _DiskInt13ExtensionsSupported.LastSupported@PAGE
	str	x0, [x8, _DiskInt13ExtensionsSupported.LastSupported@PAGEOFF]
LBB0_10:
	ldur	x8, [x29, #-24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @DiskInt13ExtensionsSupported.LastDriveNumber
_DiskInt13ExtensionsSupported.LastDriveNumber:
	.long	255                             ; 0xff

.zerofill __DATA,__bss,_DiskInt13ExtensionsSupported.LastSupported,8,3 ; @DiskInt13ExtensionsSupported.LastSupported
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DiskInt13ExtensionsSupported()\n"

l_.str.1:                               ; @.str.1
	.asciz	"Using cached value %s for drive 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"TRUE"

l_.str.3:                               ; @.str.3
	.asciz	"FALSE"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
l_.str.4:                               ; @.str.4
	.asciz	"Suspicious API subset support bitmap 0x%x on device 0x%lx\n"

	.no_dead_strip	_DiskInt13ExtensionsSupported
.subsections_via_symbols
