	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ace_getgeo
_ace_getgeo:                            ## @ace_getgeo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_ATA_ID_HEADS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rax
	movq	%rax, 16(%r14)
	movq	_ATA_ID_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rax
	movq	%rax, 8(%r14)
	movq	_ATA_ID_CYLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ace_getgeo()\n"

	.comm	_ATA_ID_HEADS,8,3               ## @ATA_ID_HEADS
	.comm	_ATA_ID_SECTORS,8,3             ## @ATA_ID_SECTORS
	.comm	_ATA_ID_CYLS,8,3                ## @ATA_ID_CYLS
	.no_dead_strip	_ace_getgeo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ace_getgeo
_ace_getgeo:                            ; @ace_getgeo
	.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, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	w0, [x8, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _ATA_ID_HEADS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATA_ID_HEADS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
Lloh5:
	adrp	x9, _ATA_ID_SECTORS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATA_ID_SECTORS@GOTPAGEOFF]
	str	x8, [x19, #16]
Lloh7:
	ldr	x8, [x9]
	ldr	x8, [x20, x8, lsl #3]
Lloh8:
	adrp	x9, _ATA_ID_CYLS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ATA_ID_CYLS@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh10:
	ldr	x8, [x9]
	ldr	x8, [x20, x8, lsl #3]
	str	x8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ace_getgeo()\n"

	.comm	_ATA_ID_HEADS,8,3               ; @ATA_ID_HEADS
	.comm	_ATA_ID_SECTORS,8,3             ; @ATA_ID_SECTORS
	.comm	_ATA_ID_CYLS,8,3                ; @ATA_ID_CYLS
	.no_dead_strip	_ace_getgeo
.subsections_via_symbols
