	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aes_siv_set_ctx_params
_aes_siv_set_ctx_params:                ## @aes_siv_set_ctx_params
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$0, -20(%rbp)
	movq	_OSSL_CIPHER_PARAM_AEAD_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	$0, 16(%r14)
	jne	LBB0_12
## %bb.2:
	movq	(%rcx), %rax
	movq	_OSSL_PARAM_OCTET_STRING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	movl	8(%rcx), %edx
	movl	12(%rcx), %esi
	movq	%r14, %rdi
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	_OSSL_CIPHER_PARAM_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	-20(%rbp), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_get_uint
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movq	8(%r14), %rax
	movl	-20(%rbp), %esi
	movq	%r14, %rdi
	callq	*(%rax)
LBB0_8:
	movq	_OSSL_CIPHER_PARAM_KEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_get_size_t
	testl	%eax, %eax
	je	LBB0_4
## %bb.10:
	movq	-32(%rbp), %rcx
	xorl	%eax, %eax
	cmpq	(%r14), %rcx
	jne	LBB0_12
LBB0_11:
	movl	$1, %eax
	jmp	LBB0_12
LBB0_4:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_FAILED_TO_GET_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%eax, %eax
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_CIPHER_PARAM_AEAD_TAG,4,2 ## @OSSL_CIPHER_PARAM_AEAD_TAG
	.comm	_OSSL_PARAM_OCTET_STRING,8,3    ## @OSSL_PARAM_OCTET_STRING
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_FAILED_TO_GET_PARAMETER,4,2 ## @PROV_R_FAILED_TO_GET_PARAMETER
	.comm	_OSSL_CIPHER_PARAM_SPEED,4,2    ## @OSSL_CIPHER_PARAM_SPEED
	.comm	_OSSL_CIPHER_PARAM_KEYLEN,4,2   ## @OSSL_CIPHER_PARAM_KEYLEN
	.no_dead_strip	_aes_siv_set_ctx_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aes_siv_set_ctx_params
_aes_siv_set_ctx_params:                ; @aes_siv_set_ctx_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _OSSL_CIPHER_PARAM_AEAD_TAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_AEAD_TAG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_10
; %bb.2:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _OSSL_PARAM_OCTET_STRING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OSSL_PARAM_OCTET_STRING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldp	w2, w1, [x0, #8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_11
LBB0_4:
Lloh6:
	adrp	x8, _OSSL_CIPHER_PARAM_SPEED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_SPEED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_7
; %bb.5:
	add	x1, sp, #12
	bl	_OSSL_PARAM_get_uint
	cbz	w0, LBB0_11
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [sp, #12]
	mov	x0, x19
	blr	x8
LBB0_7:
Lloh9:
	adrp	x8, _OSSL_CIPHER_PARAM_KEYLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_KEYLEN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_10
; %bb.8:
	mov	x1, sp
	bl	_OSSL_PARAM_get_size_t
	cbz	w0, LBB0_11
; %bb.9:
	ldr	x8, [sp]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
	mov	w0, #1
	b	LBB0_13
LBB0_11:
Lloh12:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _PROV_R_FAILED_TO_GET_PARAMETER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PROV_R_FAILED_TO_GET_PARAMETER@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_ERR_raise
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_CIPHER_PARAM_AEAD_TAG,4,2 ; @OSSL_CIPHER_PARAM_AEAD_TAG
	.comm	_OSSL_PARAM_OCTET_STRING,8,3    ; @OSSL_PARAM_OCTET_STRING
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_FAILED_TO_GET_PARAMETER,4,2 ; @PROV_R_FAILED_TO_GET_PARAMETER
	.comm	_OSSL_CIPHER_PARAM_SPEED,4,2    ; @OSSL_CIPHER_PARAM_SPEED
	.comm	_OSSL_CIPHER_PARAM_KEYLEN,4,2   ; @OSSL_CIPHER_PARAM_KEYLEN
	.no_dead_strip	_aes_siv_set_ctx_params
.subsections_via_symbols
