	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_new_htid
_gen_new_htid:                          ## @gen_new_htid
	.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	%rdi, %r14
	movl	$2049, %ebx                     ## imm = 0x801
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	incl	%esi
	cmpl	$2047, %esi                     ## imm = 0x7FF
	cmovel	%r15d, %esi
	movl	%esi, (%r14)
	decl	%ebx
	cmpl	$2, %ebx
	jb	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	shll	$20, %esi
	orl	$-2147483648, %esi              ## imm = 0x80000000
	movq	%r14, %rdi
	callq	_u32_lookup_ht
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movl	(%r14), %eax
	shll	$20, %eax
	orl	$-2147483648, %eax              ## imm = 0x80000000
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gen_new_htid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_new_htid
_gen_new_htid:                          ; @gen_new_htid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w20, #2049
	mov	w21, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	add	w9, w8, #1
	cmp	w9, #2047
	csinc	w8, w21, w8, eq
	str	w8, [x19]
	sub	w20, w20, #1
	cmp	w20, #2
	b.lo	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	lsl	w8, w8, #20
	orr	w1, w8, #0x80000000
	mov	x0, x19
	bl	_u32_lookup_ht
	cbnz	x0, LBB0_1
; %bb.3:
	ldr	w8, [x19]
	lsl	w8, w8, #20
	orr	w0, w8, #0x80000000
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gen_new_htid
.subsections_via_symbols
