	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hash_partition_greatest_modulus ## -- Begin function get_hash_partition_greatest_modulus
	.p2align	4, 0x90
_get_hash_partition_greatest_modulus:   ## @get_hash_partition_greatest_modulus
	.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	%rdi, %rbx
	xorl	%r14d, %r14d
	movl	$0, %edi
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_PARTITION_STRATEGY_HASH@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
LBB0_2:
	callq	_Assert
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rbx)
	setg	%r14b
LBB0_4:
	movl	%r14d, %edi
	callq	_Assert
	movq	16(%rbx), %rax
	movslq	8(%rbx), %rcx
	movq	-8(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	callq	_DatumGetInt32
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_Assert
	movq	16(%rbx), %rax
	movslq	8(%rbx), %rcx
	movq	-8(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DatumGetInt32                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PARTITION_STRATEGY_HASH,8,3    ## @PARTITION_STRATEGY_HASH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hash_partition_greatest_modulus ; -- Begin function get_hash_partition_greatest_modulus
	.p2align	2
_get_hash_partition_greatest_modulus:   ; @get_hash_partition_greatest_modulus
	.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, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PARTITION_STRATEGY_HASH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PARTITION_STRATEGY_HASH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_2:
	bl	_Assert
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	cset	w0, gt
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_Assert
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	w0, [x8]
	bl	_DatumGetInt32
	cmp	w0, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DatumGetInt32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PARTITION_STRATEGY_HASH,8,3    ; @PARTITION_STRATEGY_HASH
.subsections_via_symbols
