	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_init_givcipher_ops
_crypto_init_givcipher_ops:             ## @crypto_init_givcipher_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	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	(%rdi), %r14
	sarl	$3, %ecx
	cmpl	%ecx, 8(%r14)
	jle	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_2:
	movq	%rdi, %rbx
	movq	_CRYPTO_ALG_GENIV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	jne	LBB0_3
## %bb.4:
	movq	_setkey@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	leaq	36(%r14), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	32(%r14), %eax
	movl	%eax, 28(%rbx)
	movl	28(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 20(%rbx)
	movq	16(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_no_givdecrypt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	___crypto_ablkcipher_cast
	movl	%eax, 12(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
LBB0_8:
	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_givdecrypt,4,2              ## @no_givdecrypt
	.no_dead_strip	_crypto_init_givcipher_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_givcipher_ops
_crypto_init_givcipher_ops:             ; @crypto_init_givcipher_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
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w9, [x20, #8]
Lloh2:
	ldr	w8, [x8]
	add	w10, w8, #7
	cmp	w8, #0
	csel	w8, w10, w8, lt
	cmp	w9, 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:
	mov	x19, x0
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _CRYPTO_ALG_GENIV@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CRYPTO_ALG_GENIV@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	x10, x20, #36
Lloh9:
	adrp	x11, _setkey@GOTPAGE
Lloh10:
	ldr	x11, [x11, _setkey@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w8, [x8]
	ldr	w9, [x20, #32]
	stp	w9, w8, [x0, #28]
	ldr	d0, [x20, #24]
	stur	d0, [x0, #20]
	ldr	x8, [x20, #16]
Lloh11:
	adrp	x9, _no_givdecrypt@GOTPAGE
Lloh12:
	ldr	x9, [x9, _no_givdecrypt@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	w8, [x0, #16]
	bl	___crypto_ablkcipher_cast
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x20, #8]
	stp	w9, w8, [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_givdecrypt,4,2              ; @no_givdecrypt
	.no_dead_strip	_crypto_init_givcipher_ops
.subsections_via_symbols
