	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eseqiv_alloc
_eseqiv_alloc:                          ## @eseqiv_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_crypto_get_default_rng
	testl	%eax, %eax
	je	LBB0_1
## %bb.7:
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_1:
	movq	_eseqiv_tmpl@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_skcipher_geniv_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	16(%rbx), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_eseqiv_givencrypt_first@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	_eseqiv_init@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movq	_skcipher_geniv_exit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	addl	$4, %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_skcipher_geniv_free
	movl	%r14d, %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_5:
	xorl	%eax, %eax
	callq	_crypto_put_default_rng
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eseqiv_tmpl,4,2                ## @eseqiv_tmpl
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_eseqiv_givencrypt_first,4,2    ## @eseqiv_givencrypt_first
	.comm	_eseqiv_init,4,2                ## @eseqiv_init
	.comm	_skcipher_geniv_exit,4,2        ## @skcipher_geniv_exit
	.no_dead_strip	_eseqiv_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eseqiv_alloc
_eseqiv_alloc:                          ; @eseqiv_alloc
	.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
	bl	_crypto_get_default_rng
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_2:
Lloh0:
	adrp	x0, _eseqiv_tmpl@GOTPAGE
Lloh1:
	ldr	x0, [x0, _eseqiv_tmpl@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_skcipher_geniv_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh2:
	adrp	x9, _eseqiv_givencrypt_first@GOTPAGE
Lloh3:
	ldr	x9, [x9, _eseqiv_givencrypt_first@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh5:
	adrp	x9, _eseqiv_init@GOTPAGE
Lloh6:
	ldr	x9, [x9, _eseqiv_init@GOTPAGEOFF]
Lloh7:
	adrp	x10, _skcipher_geniv_exit@GOTPAGE
Lloh8:
	ldr	x10, [x10, _skcipher_geniv_exit@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #32]
	add	w8, w8, #4
	str	w8, [x19, #8]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
	mov	x0, x19
	bl	_skcipher_geniv_free
	mov	x0, x20
	bl	_ERR_PTR
	mov	x19, x0
LBB0_6:
	bl	_crypto_put_default_rng
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_eseqiv_tmpl,4,2                ; @eseqiv_tmpl
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_eseqiv_givencrypt_first,4,2    ; @eseqiv_givencrypt_first
	.comm	_eseqiv_init,4,2                ; @eseqiv_init
	.comm	_skcipher_geniv_exit,4,2        ; @skcipher_geniv_exit
	.no_dead_strip	_eseqiv_alloc
.subsections_via_symbols
