	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chacha_poly1305_tls_iv_set_fixed
_chacha_poly1305_tls_iv_set_fixed:      ## @chacha_poly1305_tls_iv_set_fixed
	.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	_CHACHA20_POLY1305_IVLEN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	%rdx, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_CHACHA_U8TOU32
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	leaq	4(%r14), %rdi
	callq	_CHACHA_U8TOU32
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_CHACHA_U8TOU32
	movq	(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	8(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movl	$1, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHACHA20_POLY1305_IVLEN,8,3    ## @CHACHA20_POLY1305_IVLEN
	.no_dead_strip	_chacha_poly1305_tls_iv_set_fixed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chacha_poly1305_tls_iv_set_fixed
_chacha_poly1305_tls_iv_set_fixed:      ; @chacha_poly1305_tls_iv_set_fixed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _CHACHA20_POLY1305_IVLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHACHA20_POLY1305_IVLEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_CHACHA_U8TOU32
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	str	x0, [x8]
	add	x0, x20, #4
	bl	_CHACHA_U8TOU32
	ldr	x8, [x19]
	str	x0, [x8, #16]
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	add	x0, x20, #8
	bl	_CHACHA_U8TOU32
	ldr	x8, [x19]
	str	x0, [x8, #24]
	ldr	x8, [x19, #8]
	str	x0, [x8, #16]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHACHA20_POLY1305_IVLEN,8,3    ; @CHACHA20_POLY1305_IVLEN
	.no_dead_strip	_chacha_poly1305_tls_iv_set_fixed
.subsections_via_symbols
