	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_generic_get_ctx_params  ## -- Begin function cipher_generic_get_ctx_params
	.p2align	4, 0x90
_cipher_generic_get_ctx_params:         ## @cipher_generic_get_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_OSSL_CIPHER_PARAM_IVLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r14), %esi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_size_t
	testl	%eax, %eax
	je	LBB0_11
LBB0_2:
	movq	_OSSL_CIPHER_PARAM_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	16(%r14), %esi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_uint
	testl	%eax, %eax
	je	LBB0_11
LBB0_4:
	movq	_OSSL_CIPHER_PARAM_IV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %rbx
	leaq	12(%r14), %r12
	movl	8(%r14), %edx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_OSSL_PARAM_set_octet_ptr
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_OSSL_PARAM_set_octet_string
	testl	%eax, %eax
	je	LBB0_11
LBB0_7:
	movq	_OSSL_CIPHER_PARAM_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	4(%r14), %esi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_uint
	testl	%eax, %eax
	je	LBB0_11
LBB0_9:
	movq	_OSSL_CIPHER_PARAM_KEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_size_t
	testl	%eax, %eax
	jne	LBB0_12
LBB0_11:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_FAILED_TO_SET_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%ebx, %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_CIPHER_PARAM_IVLEN,4,2    ## @OSSL_CIPHER_PARAM_IVLEN
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_FAILED_TO_SET_PARAMETER,4,2 ## @PROV_R_FAILED_TO_SET_PARAMETER
	.comm	_OSSL_CIPHER_PARAM_PADDING,4,2  ## @OSSL_CIPHER_PARAM_PADDING
	.comm	_OSSL_CIPHER_PARAM_IV,4,2       ## @OSSL_CIPHER_PARAM_IV
	.comm	_OSSL_CIPHER_PARAM_NUM,4,2      ## @OSSL_CIPHER_PARAM_NUM
	.comm	_OSSL_CIPHER_PARAM_KEYLEN,4,2   ## @OSSL_CIPHER_PARAM_KEYLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_generic_get_ctx_params  ; -- Begin function cipher_generic_get_ctx_params
	.p2align	2
_cipher_generic_get_ctx_params:         ; @cipher_generic_get_ctx_params
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _OSSL_CIPHER_PARAM_IVLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_IVLEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #8]
	bl	_OSSL_PARAM_set_size_t
	cbz	w0, LBB0_12
LBB0_2:
Lloh3:
	adrp	x8, _OSSL_CIPHER_PARAM_PADDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_PADDING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x19, #16]
	bl	_OSSL_PARAM_set_uint
	cbz	w0, LBB0_12
LBB0_4:
Lloh6:
	adrp	x8, _OSSL_CIPHER_PARAM_IV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_IV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	add	x22, x19, #12
	ldr	w2, [x19, #8]
	mov	x1, x22
	bl	_OSSL_PARAM_set_octet_ptr
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w2, [x19, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_OSSL_PARAM_set_octet_string
	cbz	w0, LBB0_12
LBB0_7:
Lloh9:
	adrp	x8, _OSSL_CIPHER_PARAM_NUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_NUM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w1, [x19, #4]
	bl	_OSSL_PARAM_set_uint
	cbz	w0, LBB0_12
LBB0_9:
Lloh12:
	adrp	x8, _OSSL_CIPHER_PARAM_KEYLEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_KEYLEN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w1, [x19]
	bl	_OSSL_PARAM_set_size_t
	cbz	w0, LBB0_12
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
Lloh15:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _PROV_R_FAILED_TO_SET_PARAMETER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PROV_R_FAILED_TO_SET_PARAMETER@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
LBB0_13:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_CIPHER_PARAM_IVLEN,4,2    ; @OSSL_CIPHER_PARAM_IVLEN
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_FAILED_TO_SET_PARAMETER,4,2 ; @PROV_R_FAILED_TO_SET_PARAMETER
	.comm	_OSSL_CIPHER_PARAM_PADDING,4,2  ; @OSSL_CIPHER_PARAM_PADDING
	.comm	_OSSL_CIPHER_PARAM_IV,4,2       ; @OSSL_CIPHER_PARAM_IV
	.comm	_OSSL_CIPHER_PARAM_NUM,4,2      ; @OSSL_CIPHER_PARAM_NUM
	.comm	_OSSL_CIPHER_PARAM_KEYLEN,4,2   ; @OSSL_CIPHER_PARAM_KEYLEN
.subsections_via_symbols
