	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsxx_getgeo
_rsxx_getgeo:                           ## @rsxx_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
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	sarl	$9, %ebx
	movabsq	$68719476800, %rax              ## imm = 0x1000000040
	movq	%rax, (%r14)
	movl	%ebx, %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_do_div
	jmp	LBB0_3
LBB0_2:
	movq	$0, (%r14)
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, 8(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rsxx_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 rsxx_getgeo
lCPI0_0:
	.long	64                              ; 0x40
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rsxx_getgeo:                           ; @rsxx_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	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	asr	w20, w8, #9
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	x0, x20
	mov	w1, #1024
	bl	_do_div
	b	LBB0_3
LBB0_2:
	mov	w20, #0
	str	xzr, [x19]
LBB0_3:
	str	w20, [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	_rsxx_getgeo
.subsections_via_symbols
