	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet6_prefixlen
_inet6_prefixlen:                       ## @inet6_prefixlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	movl	(%r14), %edi
	callq	_ntohl
	bsfl	%eax, %ecx
	movl	$32, %ebx
	subl	%ecx, %ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	je	LBB0_7
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.2:
	movl	4(%r14), %edi
	callq	_ntohl
	bsfl	%eax, %ecx
	movl	$32, %edx
	subl	%ecx, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	addl	%edx, %ebx
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.4:
	movl	8(%r14), %edi
	callq	_ntohl
	bsfl	%eax, %ecx
	movl	$32, %edx
	subl	%ecx, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	addl	%edx, %ebx
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.6:
	movl	12(%r14), %edi
	callq	_ntohl
	bsfl	%eax, %ecx
	movl	$32, %edx
	subl	%ecx, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	addl	%edx, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_inet6_prefixlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet6_prefixlen
_inet6_prefixlen:                       ; @inet6_prefixlen
	.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
	ldr	x20, [x0]
	ldr	w0, [x20]
	bl	_ntohl
	rbit	w8, w0
	clz	w8, w8
	mov	w21, #32
	sub	w9, w21, w8
	cmp	w0, #0
	csel	w19, wzr, w9, eq
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x20, #4]
	bl	_ntohl
	rbit	w8, w0
	clz	w8, w8
	sub	w9, w21, w8
	cmp	w0, #0
	csel	w9, wzr, w9, eq
	add	w19, w9, w19
	cmp	w0, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_ntohl
	rbit	w8, w0
	clz	w8, w8
	mov	w21, #32
	sub	w9, w21, w8
	cmp	w0, #0
	csel	w9, wzr, w9, eq
	add	w19, w9, w19
	cmp	w0, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_ntohl
	rbit	w8, w0
	clz	w8, w8
	sub	w8, w21, w8
	cmp	w0, #0
	csel	w8, wzr, w8, eq
	add	w19, w8, w19
LBB0_4:
	mov	x0, x19
	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	_inet6_prefixlen
.subsections_via_symbols
