	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgstat_get_db_entry
_pgstat_get_db_entry:                   ## @pgstat_get_db_entry
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movl	%edi, -24(%rbp)
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_pgStatDBHash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rcx
	callq	_hash_search
	movq	%rax, %r14
	movl	-20(%rbp), %ecx
	xorl	%eax, %eax
	orl	%ecx, %ebx
	cmovneq	%r14, %rax
	je	LBB0_6
## %bb.4:
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_reset_dbentry_counters
	movq	%r14, %rax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_pgStatDBHash,4,2               ## @pgStatDBHash
	.no_dead_strip	_pgstat_get_db_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgstat_get_db_entry
_pgstat_get_db_entry:                   ; @pgstat_get_db_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HASH_FIND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HASH_FIND@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, ne
	ldr	w2, [x8]
Lloh4:
	adrp	x8, _pgStatDBHash@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pgStatDBHash@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x1, sp, #12
	add	x3, sp, #8
	bl	_hash_search
	mov	x19, x0
	ldr	w8, [sp, #8]
	orr	w9, w20, w8
	cmp	w9, #0
	csel	x0, x0, xzr, ne
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_reset_dbentry_counters
	mov	x0, x19
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_pgStatDBHash,4,2               ; @pgStatDBHash
	.no_dead_strip	_pgstat_get_db_entry
.subsections_via_symbols
