	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chainiv_alloc
_chainiv_alloc:                         ## @chainiv_alloc
	.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	%rdi, %r14
	callq	_crypto_get_attr_type
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	%ebx, %edi
	jmp	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	callq	_crypto_get_default_rng
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %edi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movq	_chainiv_tmpl@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_skcipher_geniv_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	xorl	%eax, %eax
	callq	_crypto_put_default_rng
	jmp	LBB0_11
LBB0_6:
	movq	_chainiv_givencrypt_first@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_chainiv_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_skcipher_geniv_exit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	$4, (%r14)
	movl	40(%r15), %esi
	movl	44(%r15), %edi
	callq	_crypto_requires_sync
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	(%r14), %eax
	jmp	LBB0_9
LBB0_8:
	movq	_CRYPTO_ALG_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%r14)
	movq	_async_chainiv_givencrypt_first@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_async_chainiv_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_async_chainiv_exit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	$4, (%r14)
	movl	$4, %eax
LBB0_9:
	addl	8(%r14), %eax
	movl	%eax, (%r14)
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_chainiv_tmpl,4,2               ## @chainiv_tmpl
	.comm	_chainiv_givencrypt_first,4,2   ## @chainiv_givencrypt_first
	.comm	_chainiv_init,4,2               ## @chainiv_init
	.comm	_skcipher_geniv_exit,4,2        ## @skcipher_geniv_exit
	.comm	_CRYPTO_ALG_ASYNC,4,2           ## @CRYPTO_ALG_ASYNC
	.comm	_async_chainiv_givencrypt_first,4,2 ## @async_chainiv_givencrypt_first
	.comm	_async_chainiv_init,4,2         ## @async_chainiv_init
	.comm	_async_chainiv_exit,4,2         ## @async_chainiv_exit
	.no_dead_strip	_chainiv_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chainiv_alloc
_chainiv_alloc:                         ; @chainiv_alloc
	.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, x0
	bl	_crypto_get_attr_type
	mov	x20, x0
	bl	_PTR_ERR
	mov	x21, x0
	mov	x0, x20
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	b	LBB0_3
LBB0_2:
	bl	_crypto_get_default_rng
	cbz	w0, LBB0_4
LBB0_3:
	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
	b	_ERR_PTR
LBB0_4:
Lloh0:
	adrp	x0, _chainiv_tmpl@GOTPAGE
Lloh1:
	ldr	x0, [x0, _chainiv_tmpl@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_skcipher_geniv_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	bl	_crypto_put_default_rng
	b	LBB0_10
LBB0_6:
Lloh2:
	adrp	x8, _chainiv_givencrypt_first@GOTPAGE
Lloh3:
	ldr	x8, [x8, _chainiv_givencrypt_first@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh5:
	adrp	x8, _chainiv_init@GOTPAGE
Lloh6:
	ldr	x8, [x8, _chainiv_init@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _skcipher_geniv_exit@GOTPAGE
Lloh9:
	ldr	x9, [x9, _skcipher_geniv_exit@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	mov	w21, #4
	str	w21, [x19]
	ldp	w1, w0, [x20, #40]
	bl	_crypto_requires_sync
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w21, [x19]
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _CRYPTO_ALG_ASYNC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CRYPTO_ALG_ASYNC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _async_chainiv_givencrypt_first@GOTPAGE
Lloh15:
	ldr	x9, [x9, _async_chainiv_givencrypt_first@GOTPAGEOFF]
	str	w8, [x19, #32]
Lloh16:
	ldr	w8, [x9]
	str	w8, [x19, #16]
Lloh17:
	adrp	x8, _async_chainiv_init@GOTPAGE
Lloh18:
	ldr	x8, [x8, _async_chainiv_init@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _async_chainiv_exit@GOTPAGE
Lloh21:
	ldr	x9, [x9, _async_chainiv_exit@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	str	w21, [x19]
LBB0_9:
	ldr	w8, [x19, #8]
	add	w8, w21, w8
	str	w8, [x19]
LBB0_10:
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_chainiv_tmpl,4,2               ; @chainiv_tmpl
	.comm	_chainiv_givencrypt_first,4,2   ; @chainiv_givencrypt_first
	.comm	_chainiv_init,4,2               ; @chainiv_init
	.comm	_skcipher_geniv_exit,4,2        ; @skcipher_geniv_exit
	.comm	_CRYPTO_ALG_ASYNC,4,2           ; @CRYPTO_ALG_ASYNC
	.comm	_async_chainiv_givencrypt_first,4,2 ; @async_chainiv_givencrypt_first
	.comm	_async_chainiv_init,4,2         ; @async_chainiv_init
	.comm	_async_chainiv_exit,4,2         ; @async_chainiv_exit
	.no_dead_strip	_chainiv_alloc
.subsections_via_symbols
