	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_matching_hash_bounds
_get_matching_hash_bounds:              ## @get_matching_hash_bounds
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$12, %edi
	callq	_palloc0
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r12), %rbx
	movq	(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %r14d
	movq	_PARTITION_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	8(%r12), %rax
	movq	16(%r12), %r12
	movq	_PARTITION_STRATEGY_HASH@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	%r13, %rdi
	callq	_bms_num_members
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %eax
	cmpl	%r14d, %eax
	jne	LBB0_6
## %bb.1:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r12
	movq	_HTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, (%rax)
	sete	%al
	testl	%ecx, %ecx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r13, %rsi
	callq	_bms_is_member
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	callq	_get_hash_partition_greatest_modulus
	movl	%eax, %ebx
	movl	%r14d, %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%r15, %r8
	callq	_compute_partition_hash_value
	cltd
	idivl	%ebx
	movslq	%edx, %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rcx,%rax,4)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	js	LBB0_8
## %bb.5:
	movl	%edx, %edi
	callq	_bms_make_singleton
	jmp	LBB0_7
LBB0_6:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setg	%dil
	callq	_Assert
	movq	8(%rbx), %rdx
	decq	%rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_bms_add_range
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_7:
	movl	%eax, 8(%rbx)
LBB0_8:
	movq	$0, (%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PARTITION_MAX_KEYS,4,2         ## @PARTITION_MAX_KEYS
	.comm	_PARTITION_STRATEGY_HASH,8,3    ## @PARTITION_STRATEGY_HASH
	.comm	_HTEqualStrategyNumber,8,3      ## @HTEqualStrategyNumber
	.no_dead_strip	_get_matching_hash_bounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_matching_hash_bounds
_get_matching_hash_bounds:              ; @get_matching_hash_bounds
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x22, x5
	stp	x4, x2, [x29, #-104]            ; 16-byte Folded Spill
	mov	x27, x3
	mov	x28, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	w0, #12
	bl	_palloc0
	mov	x19, x0
	ldr	x23, [x20, #24]
	ldr	x21, [x23]
	ldr	w24, [x20]
Lloh3:
	adrp	x8, _PARTITION_MAX_KEYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARTITION_MAX_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldp	x8, x26, [x20, #8]
Lloh8:
	adrp	x9, _PARTITION_STRATEGY_HASH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PARTITION_STRATEGY_HASH@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	mov	x0, x22
	bl	_bms_num_members
	add	w8, w0, w27
	cmp	w8, w24
	b.ne	LBB0_6
; %bb.1:
Lloh11:
	adrp	x8, _HTEqualStrategyNumber@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HTEqualStrategyNumber@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	w27, #0
	ccmp	x8, x28, #4, ne
	cset	w0, eq
	bl	_Assert
	cmp	w24, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x27, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	mov	x1, x22
	bl	_bms_is_member
	str	w0, [x25, x27, lsl #2]
	add	x27, x27, #1
	cmp	x24, x27
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x23
	bl	_get_hash_partition_greatest_modulus
	mov	x20, x0
	mov	x0, x24
	ldp	x1, x3, [x29, #-104]            ; 16-byte Folded Reload
	mov	x2, x26
	mov	x4, x25
	bl	_compute_partition_hash_value
	sdiv	w8, w0, w20
	msub	w0, w8, w20, w0
	ldr	w8, [x21, w0, sxtw #2]
	tbnz	w8, #31, LBB0_8
; %bb.5:
	bl	_bms_make_singleton
	b	LBB0_7
LBB0_6:
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x23, #8]
	sub	x2, x8, #1
	mov	x0, #0
	mov	w1, #0
	bl	_bms_add_range
LBB0_7:
	str	w0, [x19, #8]
LBB0_8:
	str	xzr, [x19]
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PARTITION_MAX_KEYS,4,2         ; @PARTITION_MAX_KEYS
	.comm	_PARTITION_STRATEGY_HASH,8,3    ; @PARTITION_STRATEGY_HASH
	.comm	_HTEqualStrategyNumber,8,3      ; @HTEqualStrategyNumber
	.no_dead_strip	_get_matching_hash_bounds
.subsections_via_symbols
