	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dns_record_hash_init
LCPI0_0:
	.quad	0x3fe8000000000000              ## double 0.75
LCPI0_1:
	.quad	0x4010000000000000              ## double 4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dns_record_hash_init:                  ## @dns_record_hash_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RH@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_tot_hashed_records@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	leal	(%rax,%rax), %ecx
	testl	%eax, %eax
	movl	$1000000, %edi                  ## imm = 0xF4240
	cmovnel	%ecx, %edi
	callq	_am_choose_hash_prime
	movq	_records_hash_prime@GOTPCREL(%rip), %r15
	movsd	%xmm0, (%r15)
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movq	_max_hashed_records@GOTPCREL(%rip), %rax
	movsd	%xmm1, (%rax)
	mulsd	LCPI0_1(%rip), %xmm0
	callq	_malloc
	movq	%rax, (%rbx)
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	mulsd	(%r15), %xmm0
	movq	%rax, %rdi
	movl	$255, %esi
	callq	_memset
	movl	$0, (%r14)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RH,8,3                         ## @RH
	.comm	_tot_hashed_records,4,2         ## @tot_hashed_records
	.comm	_records_hash_prime,8,3         ## @records_hash_prime
	.comm	_max_hashed_records,8,3         ## @max_hashed_records
	.no_dead_strip	_dns_record_hash_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns_record_hash_init
_dns_record_hash_init:                  ; @dns_record_hash_init
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
Lloh0:
	adrp	x19, _RH@GOTPAGE
Lloh1:
	ldr	x19, [x19, _RH@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x20, _tot_hashed_records@GOTPAGE
Lloh3:
	ldr	x20, [x20, _tot_hashed_records@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w9, w8, #1
	mov	w10, #16960
	movk	w10, #15, lsl #16
	cmp	w8, #0
	csel	w0, w10, w9, eq
	bl	_am_choose_hash_prime
Lloh4:
	adrp	x21, _records_hash_prime@GOTPAGE
Lloh5:
	ldr	x21, [x21, _records_hash_prime@GOTPAGEOFF]
	str	d0, [x21]
	fmov	d1, #0.75000000
	fmul	d1, d0, d1
Lloh6:
	adrp	x8, _max_hashed_records@GOTPAGE
Lloh7:
	ldr	x8, [x8, _max_hashed_records@GOTPAGEOFF]
Lloh8:
	str	d1, [x8]
	fmov	d8, #4.00000000
	fmul	d0, d0, d8
	bl	_malloc
	str	x0, [x19]
	ldr	d0, [x21]
	fmul	d0, d0, d8
	mov	w1, #255
	bl	_memset
	str	wzr, [x20]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_RH,8,3                         ; @RH
	.comm	_tot_hashed_records,4,2         ; @tot_hashed_records
	.comm	_records_hash_prime,8,3         ; @records_hash_prime
	.comm	_max_hashed_records,8,3         ; @max_hashed_records
	.no_dead_strip	_dns_record_hash_init
.subsections_via_symbols
