	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_get_id                   ## -- Begin function alloc_get_id
	.p2align	4, 0x90
_alloc_get_id:                          ## @alloc_get_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdi)
	cmpl	4(%rdi), %eax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_log_warn
	movq	24(%rbx), %rdi
	callq	_fptr_whitelist_alloc_cleanup
	movl	%eax, %edi
	callq	_fptr_ok
	movl	16(%rbx), %edi
	callq	*24(%rbx)
	movl	8(%rbx), %edx
	movl	%edx, (%rbx)
	movq	_THRNUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	leal	1(%rdx), %eax
	addl	$2, %edx
	movl	%edx, (%rbx)
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rrset alloc: out of 64bit ids. Clearing cache."

	.comm	_THRNUM_SHIFT,4,2               ## @THRNUM_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_get_id                   ; -- Begin function alloc_get_id
	.p2align	2
_alloc_get_id:                          ; @alloc_get_id
	.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
	ldr	w0, [x0]
	ldr	w8, [x19, #4]
	add	w9, w0, #1
	str	w9, [x19]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_warn
	ldr	x0, [x19, #24]
	bl	_fptr_whitelist_alloc_cleanup
	bl	_fptr_ok
	ldr	x8, [x19, #24]
	ldr	w0, [x19, #16]
	blr	x8
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _THRNUM_SHIFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _THRNUM_SHIFT@GOTPAGEOFF]
	str	w8, [x19]
Lloh4:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	add	w0, w8, #1
	add	w8, w8, #2
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rrset alloc: out of 64bit ids. Clearing cache."

	.comm	_THRNUM_SHIFT,4,2               ; @THRNUM_SHIFT
.subsections_via_symbols
