	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function utf16nbytes
_utf16nbytes:                           ## @utf16nbytes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	cmpq	$2, %rsi
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	shrq	%rsi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	cmpq	%rax, %rsi
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rdi,%rax,2)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, 1(%rdi,%rax,2)
	jne	LBB0_7
	jmp	LBB0_9
LBB0_8:
	movq	%rsi, %rax
LBB0_9:
	addq	%rax, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_utf16nbytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function utf16nbytes
_utf16nbytes:                           ; @utf16nbytes
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	cmp	x1, #2
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	b	LBB0_8
LBB0_3:
	mov	x8, #0
	lsr	x9, x1, #1
	add	x10, x0, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	add	x10, x10, #2
	cmp	x9, x8
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w11, [x10, #-1]
	cbnz	w11, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w11, [x10]
	cbnz	w11, LBB0_4
	b	LBB0_8
LBB0_7:
	mov	x8, x9
LBB0_8:
	lsl	x0, x8, #1
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_utf16nbytes
.subsections_via_symbols
