	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function labellen
_labellen:                              ## @labellen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_NS_CMPRSFLGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	andl	%ecx, %edx
	movl	$-1, %eax
	cmpl	%esi, %edx
	je	LBB0_5
## %bb.1:
	movq	_NS_TYPE_ELT@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_2
## %bb.3:
	movq	_DNS_LABELTYPE_BITSTRING@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_5
## %bb.4:
	movl	4(%rdi), %eax
	leal	7(%rax), %ecx
	leal	14(%rax), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	incl	%edx
	testl	%eax, %eax
	movl	$33, %eax
	cmovnel	%edx, %eax
LBB0_5:
	popq	%rbp
	retq
LBB0_2:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NS_CMPRSFLGS,4,2               ## @NS_CMPRSFLGS
	.comm	_NS_TYPE_ELT,4,2                ## @NS_TYPE_ELT
	.comm	_DNS_LABELTYPE_BITSTRING,4,2    ## @DNS_LABELTYPE_BITSTRING
	.no_dead_strip	_labellen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function labellen
_labellen:                              ; @labellen
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x9, _NS_CMPRSFLGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NS_CMPRSFLGS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	and	w9, w10, w0
	cmp	w9, w10
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x10, _NS_TYPE_ELT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NS_TYPE_ELT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x9, _DNS_LABELTYPE_BITSTRING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DNS_LABELTYPE_BITSTRING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x8, #4]
	add	w9, w8, #7
	add	w10, w8, #14
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	cmp	w8, #0
	mov	w8, #33
	csinc	w0, w8, w9, eq
LBB0_4:
	ret
LBB0_5:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NS_CMPRSFLGS,4,2               ; @NS_CMPRSFLGS
	.comm	_NS_TYPE_ELT,4,2                ; @NS_TYPE_ELT
	.comm	_DNS_LABELTYPE_BITSTRING,4,2    ; @DNS_LABELTYPE_BITSTRING
	.no_dead_strip	_labellen
.subsections_via_symbols
