	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blkif_getgeo
_blkif_getgeo:                          ## @blkif_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
	movl	(%rdi), %edi
	callq	_get_capacity
	movl	%eax, %ebx
	movabsq	$270582939903, %rax             ## imm = 0x3F000000FF
	movq	%rax, (%r14)
	movl	%ebx, %edi
	movl	$16065, %esi                    ## imm = 0x3EC1
	callq	_sector_div
	leal	1(%rbx), %eax
	imull	(%r14), %eax
	imull	4(%r14), %eax
	cmpl	%ebx, %eax
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmovgel	%ebx, %eax
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blkif_getgeo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function blkif_getgeo
lCPI0_0:
	.long	255                             ; 0xff
	.long	63                              ; 0x3f
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_blkif_getgeo:                          ; @blkif_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	w0, [x0]
	bl	_get_capacity
	mov	x20, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	w1, #16065
	bl	_sector_div
	ldp	w8, w9, [x19]
	madd	w8, w8, w20, w8
	mul	w8, w8, w9
	mov	w9, #65535
	cmp	w8, w20
	csel	w8, w9, w20, lt
	str	w8, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blkif_getgeo
.subsections_via_symbols
