	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_ivlen                   ## -- Begin function cipher_ivlen
	.p2align	4, 0x90
_cipher_ivlen:                          ## @cipher_ivlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movq	_CFLAG_CHACHAPOLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	testl	%eax, 8(%rdi)
	sete	%cl
	shlq	$4, %rcx
	movq	(%rdi,%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFLAG_CHACHAPOLY,4,2           ## @CFLAG_CHACHAPOLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_ivlen                   ; -- Begin function cipher_ivlen
	.p2align	2
_cipher_ivlen:                          ; @cipher_ivlen
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x8
	ret
LBB0_2:
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _CFLAG_CHACHAPOLY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CFLAG_CHACHAPOLY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, eq
	lsl	x8, x8, #4
	ldr	x8, [x0, x8]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CFLAG_CHACHAPOLY,4,2           ; @CFLAG_CHACHAPOLY
.subsections_via_symbols
