	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pd_getgeo
_pd_getgeo:                             ## @pd_getgeo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.1:
	movq	_PD_LOG_HEADS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, (%rsi)
	movq	_PD_LOG_SECTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	imull	%ecx, %edi
	cltd
	idivl	%edi
	jmp	LBB0_3
LBB0_2:
	movl	4(%rax), %ecx
	movl	%ecx, (%rsi)
	movl	8(%rax), %ecx
	movl	12(%rax), %eax
LBB0_3:
	movl	%ecx, 4(%rsi)
	movl	%eax, 8(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PD_LOG_HEADS,4,2               ## @PD_LOG_HEADS
	.comm	_PD_LOG_SECTS,4,2               ## @PD_LOG_SECTS
	.no_dead_strip	_pd_getgeo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pd_getgeo
_pd_getgeo:                             ; @pd_getgeo
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8]
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PD_LOG_HEADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PD_LOG_HEADS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	str	w10, [x1]
Lloh3:
	adrp	x8, _PD_LOG_SECTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PD_LOG_SECTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x9]
	mul	w10, w8, w10
	sdiv	w9, w9, w10
	b	LBB0_3
LBB0_2:
	ldp	w10, w8, [x9, #4]
	str	w10, [x1]
	ldr	w9, [x9, #12]
LBB0_3:
	stp	w8, w9, [x1, #4]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PD_LOG_HEADS,4,2               ; @PD_LOG_HEADS
	.comm	_PD_LOG_SECTS,4,2               ; @PD_LOG_SECTS
	.no_dead_strip	_pd_getgeo
.subsections_via_symbols
