	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_default_geniv           ## -- Begin function crypto_default_geniv
	.p2align	4, 0x90
_crypto_default_geniv:                  ## @crypto_default_geniv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_CRYPTO_ALG_TYPE_BLKCIPHER@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpl	(%rdx), %ecx
	sete	%sil
	movq	16(%rdi,%rsi,8), %rcx
	cmpq	8(%rdi), %rcx
	jne	LBB0_1
## %bb.2:
	movq	_CRYPTO_ALG_ASYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.4:
	movq	_skcipher_default_geniv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ## @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ## @CRYPTO_ALG_TYPE_BLKCIPHER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chainiv"

	.comm	_CRYPTO_ALG_ASYNC,4,2           ## @CRYPTO_ALG_ASYNC
L_.str.1:                               ## @.str.1
	.asciz	"eseqiv"

	.comm	_skcipher_default_geniv,8,3     ## @skcipher_default_geniv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_default_geniv           ; -- Begin function crypto_default_geniv
	.p2align	2
_crypto_default_geniv:                  ; @crypto_default_geniv
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CRYPTO_ALG_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRYPTO_ALG_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x10, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	mov	w9, #16
	mov	w10, #24
	csel	x9, x10, x9, eq
	ldr	x9, [x0, x9]
	ldr	x10, [x0, #8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _CRYPTO_ALG_ASYNC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CRYPTO_ALG_ASYNC@GOTPAGEOFF]
Lloh8:
	adrp	x10, _skcipher_default_geniv@GOTPAGE
Lloh9:
	ldr	x10, [x10, _skcipher_default_geniv@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	x10, [x10]
Lloh12:
	adrp	x11, l_.str.1@PAGE
Lloh13:
	add	x11, x11, l_.str.1@PAGEOFF
	tst	w9, w8
	csel	x0, x10, x11, eq
	ret
LBB0_2:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ; @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ; @CRYPTO_ALG_TYPE_BLKCIPHER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chainiv"

	.comm	_CRYPTO_ALG_ASYNC,4,2           ; @CRYPTO_ALG_ASYNC
l_.str.1:                               ; @.str.1
	.asciz	"eseqiv"

	.comm	_skcipher_default_geniv,8,3     ; @skcipher_default_geniv
.subsections_via_symbols
