	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_init_aead_ops
_crypto_init_aead_ops:                  ## @crypto_init_aead_ops
	.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, %rbx
	movq	(%rdi), %r14
	movl	8(%r14), %edi
	movl	12(%r14), %esi
	callq	_max
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	cmpl	%edx, %eax
	jle	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movq	(%rbx), %rax
	movq	_CRYPTO_ALG_GENIV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	jne	LBB0_3
## %bb.4:
	movq	_setkey@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	leaq	40(%r14), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	36(%r14), %eax
	movl	%eax, 44(%rbx)
	movl	32(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	24(%r14), %rax
	testq	%rax, %rax
	movq	_no_givcrypt@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmoveq	%rcx, %rax
	movq	%rax, 32(%rbx)
	movq	16(%r14), %rax
	testq	%rax, %rax
	cmoveq	%rcx, %rax
	movq	%rax, 24(%rbx)
	movq	%rbx, %rdi
	callq	___crypto_aead_cast
	movl	%eax, 16(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CRYPTO_ALG_GENIV,4,2           ## @CRYPTO_ALG_GENIV
	.comm	_setkey,4,2                     ## @setkey
	.comm	_no_givcrypt,8,3                ## @no_givcrypt
	.no_dead_strip	_crypto_init_aead_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto_init_aead_ops
_crypto_init_aead_ops:                  ; @crypto_init_aead_ops
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldp	w0, w1, [x20, #8]
	bl	_max
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w0, w8, asr #3
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CRYPTO_ALG_GENIV@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CRYPTO_ALG_GENIV@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _setkey@GOTPAGE
Lloh10:
	ldr	x10, [x10, _setkey@GOTPAGEOFF]
	add	x11, x20, #40
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #48]
	ldr	d0, [x20, #32]
	str	d0, [x19, #40]
Lloh11:
	adrp	x8, _no_givcrypt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _no_givcrypt@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldp	x10, x9, [x20, #16]
	cmp	x9, #0
	csel	x9, x8, x9, eq
	cmp	x10, #0
	csel	x8, x8, x10, eq
	stp	x8, x9, [x19, #24]
	mov	x0, x19
	bl	___crypto_aead_cast
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #16]
	ldr	d0, [x20, #8]
	str	d0, [x19, #8]
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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CRYPTO_ALG_GENIV,4,2           ; @CRYPTO_ALG_GENIV
	.comm	_setkey,4,2                     ; @setkey
	.comm	_no_givcrypt,8,3                ; @no_givcrypt
	.no_dead_strip	_crypto_init_aead_ops
.subsections_via_symbols
