	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aes_ocb_init
_aes_ocb_init:                          ## @aes_ocb_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	%r9d, (%rdi)
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.1:
	cmpq	%r8, 8(%rbx)
	je	LBB0_7
## %bb.2:
	movq	_OCB_MIN_IV_LEN@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	ja	LBB0_4
## %bb.3:
	movq	_OCB_MAX_IV_LEN@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	jb	LBB0_4
## %bb.6:
	movq	%r8, 8(%rbx)
LBB0_7:
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	callq	_cipher_generic_initiv
	testl	%eax, %eax
	je	LBB0_8
## %bb.10:
	movq	_IV_STATE_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
LBB0_11:
	testq	%r15, %r15
	je	LBB0_12
## %bb.13:
	cmpq	%r14, 16(%rbx)
	jne	LBB0_14
## %bb.15:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_12:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_14:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_KEY_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_IV_LENGTH@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	callq	_ERR_raise
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCB_MIN_IV_LEN,8,3             ## @OCB_MIN_IV_LEN
	.comm	_OCB_MAX_IV_LEN,8,3             ## @OCB_MAX_IV_LEN
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_INVALID_IV_LENGTH,4,2   ## @PROV_R_INVALID_IV_LENGTH
	.comm	_IV_STATE_BUFFERED,4,2          ## @IV_STATE_BUFFERED
	.comm	_PROV_R_INVALID_KEY_LENGTH,4,2  ## @PROV_R_INVALID_KEY_LENGTH
	.no_dead_strip	_aes_ocb_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aes_ocb_init
_aes_ocb_init:                          ; @aes_ocb_init
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	w5, [x0]
	cbz	x3, LBB0_7
; %bb.1:
	ldr	x8, [x21, #8]
	cmp	x8, x4
	b.eq	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _OCB_MIN_IV_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCB_MIN_IV_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _OCB_MAX_IV_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCB_MAX_IV_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x4
	ccmp	x9, x4, #0, ls
	b.hs	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _PROV_R_INVALID_IV_LENGTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PROV_R_INVALID_IV_LENGTH@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	str	x4, [x21, #8]
LBB0_5:
	mov	x0, x21
	mov	x1, x3
	mov	x2, x4
	bl	_cipher_generic_initiv
	cbz	w0, LBB0_13
; %bb.6:
Lloh11:
	adrp	x8, _IV_STATE_BUFFERED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IV_STATE_BUFFERED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x21, #32]
LBB0_7:
	cbz	x20, LBB0_10
; %bb.8:
	ldr	x8, [x21, #16]
	cmp	x8, x19
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x21, #24]
	ldr	x3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, 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
	br	x3
LBB0_10:
	mov	w0, #1
	b	LBB0_13
LBB0_11:
Lloh14:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _PROV_R_INVALID_KEY_LENGTH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PROV_R_INVALID_KEY_LENGTH@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_OCB_MIN_IV_LEN,8,3             ; @OCB_MIN_IV_LEN
	.comm	_OCB_MAX_IV_LEN,8,3             ; @OCB_MAX_IV_LEN
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_INVALID_IV_LENGTH,4,2   ; @PROV_R_INVALID_IV_LENGTH
	.comm	_IV_STATE_BUFFERED,4,2          ; @IV_STATE_BUFFERED
	.comm	_PROV_R_INVALID_KEY_LENGTH,4,2  ; @PROV_R_INVALID_KEY_LENGTH
	.no_dead_strip	_aes_ocb_init
.subsections_via_symbols
