	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blkcipher_copy_iv
_blkcipher_copy_iv:                     ## @blkcipher_copy_iv
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ebx
	movq	%rsi, %rdi
	callq	_crypto_blkcipher_ivsize
	movl	%eax, %r13d
	leal	1(%r14), %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_ALIGN
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_max
	movl	%eax, %r15d
	movl	%r14d, %r12d
	notl	%r12d
	xorl	%eax, %eax
	callq	_crypto_tfm_ctx_alignment
	negl	%eax
	andl	%eax, %r14d
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	addl	%r13d, %r12d
	leal	(%r12,%rbx,2), %edi
	addl	%r15d, %edi
	addl	%r14d, %edi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ALIGN
	movl	%eax, %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_blkcipher_get_spot
	movl	%ebx, %ebx
	leaq	(%rax,%rbx,4), %rdi
	movl	%r14d, %esi
	callq	_blkcipher_get_spot
	leaq	(%rax,%rbx,4), %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_blkcipher_get_spot
	movl	4(%r13), %esi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movl	%eax, 4(%r13)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_blkcipher_copy_iv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blkcipher_copy_iv
_blkcipher_copy_iv:                     ; @blkcipher_copy_iv
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x2
	mov	x19, x0
	ldr	w21, [x0]
	mov	x0, x1
	bl	_crypto_blkcipher_ivsize
	mov	x20, x0
	add	w23, w24, #1
	mov	x0, x21
	mov	x1, x23
	bl	_ALIGN
	mov	x22, x0
	mov	x1, x20
	bl	_max
	mov	x25, x0
	mvn	w26, w24
	bl	_crypto_tfm_ctx_alignment
	neg	w8, w0
	and	w8, w8, w24
	add	w9, w20, w26
	add	w9, w9, w22, lsl #1
	add	w9, w9, w25
	add	w0, w9, w8
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x23
	bl	_ALIGN
	mov	w0, w0
	mov	x1, x21
	bl	_blkcipher_get_spot
	mov	w8, w22
	lsl	x22, x8, #2
	add	x0, x0, x22
	mov	x1, x21
	bl	_blkcipher_get_spot
	add	x0, x0, x22
	mov	x1, x20
	bl	_blkcipher_get_spot
	ldr	w1, [x19, #4]
	mov	x2, x20
	bl	_memcpy
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #4]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_blkcipher_copy_iv
.subsections_via_symbols
