	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edd_show_extensions
_edd_show_extensions:                   ## @edd_show_extensions
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	callq	_edd_dev_get_info
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movl	(%r15), %eax
	movq	_EDD_EXT_FIXED_DISK_ACCESS@GOTPCREL(%rip), %rcx
	movq	%r14, %rbx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_left@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_scnprintf
	movslq	%eax, %rbx
	addq	%r14, %rbx
	movl	(%r15), %eax
LBB0_6:
	movq	_EDD_EXT_DEVICE_LOCKING_AND_EJECTING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_left@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_scnprintf
	cltq
	addq	%rax, %rbx
	movl	(%r15), %eax
LBB0_8:
	movq	_EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	_left@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_scnprintf
	cltq
	addq	%rax, %rbx
	movl	(%r15), %eax
LBB0_10:
	movq	_EDD_EXT_64BIT_EXTENSIONS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	_left@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	callq	_scnprintf
	cltq
	addq	%rax, %rbx
LBB0_12:
	subl	%r14d, %ebx
	jmp	LBB0_13
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EDD_EXT_FIXED_DISK_ACCESS,4,2  ## @EDD_EXT_FIXED_DISK_ACCESS
	.comm	_left,4,2                       ## @left
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fixed disk access\n"

	.comm	_EDD_EXT_DEVICE_LOCKING_AND_EJECTING,4,2 ## @EDD_EXT_DEVICE_LOCKING_AND_EJECTING
L_.str.1:                               ## @.str.1
	.asciz	"Device locking and ejecting\n"

	.comm	_EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT,4,2 ## @EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT
L_.str.2:                               ## @.str.2
	.asciz	"Enhanced Disk Drive support\n"

	.comm	_EDD_EXT_64BIT_EXTENSIONS,4,2   ## @EDD_EXT_64BIT_EXTENSIONS
L_.str.3:                               ## @.str.3
	.asciz	"64-bit extensions\n"

	.no_dead_strip	_edd_show_extensions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edd_show_extensions
_edd_show_extensions:                   ; @edd_show_extensions
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	bl	_edd_dev_get_info
	cbz	x19, LBB0_5
; %bb.2:
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _EDD_EXT_FIXED_DISK_ACCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EDD_EXT_FIXED_DISK_ACCESS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x22, _left@GOTPAGE
Lloh4:
	ldr	x22, [x22, _left@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	w1, [x22]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_scnprintf
	add	x20, x19, w0, sxtw
	ldr	w8, [x21]
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_6:
	mov	x20, x19
LBB0_7:
Lloh10:
	adrp	x9, _EDD_EXT_DEVICE_LOCKING_AND_EJECTING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EDD_EXT_DEVICE_LOCKING_AND_EJECTING@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w1, [x22]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_scnprintf
	add	x20, x20, w0, sxtw
	ldr	w8, [x21]
LBB0_9:
Lloh15:
	adrp	x9, _EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w1, [x22]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_scnprintf
	add	x20, x20, w0, sxtw
	ldr	w8, [x21]
LBB0_11:
Lloh20:
	adrp	x9, _EDD_EXT_64BIT_EXTENSIONS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EDD_EXT_64BIT_EXTENSIONS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w1, [x22]
Lloh23:
	adrp	x2, l_.str.3@PAGE
Lloh24:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_scnprintf
	add	x20, x20, w0, sxtw
LBB0_13:
	sub	w0, w20, w19
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EDD_EXT_FIXED_DISK_ACCESS,4,2  ; @EDD_EXT_FIXED_DISK_ACCESS
	.comm	_left,4,2                       ; @left
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fixed disk access\n"

	.comm	_EDD_EXT_DEVICE_LOCKING_AND_EJECTING,4,2 ; @EDD_EXT_DEVICE_LOCKING_AND_EJECTING
l_.str.1:                               ; @.str.1
	.asciz	"Device locking and ejecting\n"

	.comm	_EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT,4,2 ; @EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT
l_.str.2:                               ; @.str.2
	.asciz	"Enhanced Disk Drive support\n"

	.comm	_EDD_EXT_64BIT_EXTENSIONS,4,2   ; @EDD_EXT_64BIT_EXTENSIONS
l_.str.3:                               ; @.str.3
	.asciz	"64-bit extensions\n"

	.no_dead_strip	_edd_show_extensions
.subsections_via_symbols
