	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gcm_get_ctx_params             ## -- Begin function gcm_get_ctx_params
	.p2align	4, 0x90
_gcm_get_ctx_params:                    ## @gcm_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -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:
	movq	(%r14), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_size_t
	testl	%eax, %eax
	je	LBB0_22
LBB0_2:
	movq	_OSSL_CIPHER_PARAM_KEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_size_t
	testl	%eax, %eax
	je	LBB0_22
LBB0_4:
	movq	_OSSL_CIPHER_PARAM_AEAD_TAGLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	16(%r14), %rsi
	movq	_UNINITIALISED_SIZET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_7
## %bb.6:
	movq	_GCM_TAG_MAX_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
LBB0_7:
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_size_t
	testl	%eax, %eax
	je	LBB0_22
LBB0_8:
	movq	_OSSL_CIPHER_PARAM_IV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	cmpl	$1, 24(%r14)
	je	LBB0_11
## %bb.10:
	xorl	%ebx, %ebx
	cmpl	$1, 28(%r14)
	jne	LBB0_24
LBB0_11:
	movq	(%r14), %rdx
	cmpq	(%rax), %rdx
	jne	LBB0_12
## %bb.13:
	movl	48(%r14), %esi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_octet_string
	testl	%eax, %eax
	je	LBB0_22
LBB0_14:
	movq	_OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	32(%r14), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_size_t
	testl	%eax, %eax
	je	LBB0_22
LBB0_16:
	movq	_OSSL_CIPHER_PARAM_AEAD_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:
	movq	(%rax), %rdx
	movq	_PROV_R_INVALID_TAG@GOTPCREL(%rip), %rcx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.18:
	movq	_EVP_GCM_TLS_TAG_LEN@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	ja	LBB0_23
## %bb.19:
	cmpl	$0, 44(%r14)
	je	LBB0_23
## %bb.20:
	movq	16(%r14), %rsi
	movq	_UNINITIALISED_SIZET@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	je	LBB0_23
## %bb.21:
	movl	40(%r14), %esi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_set_octet_string
	testl	%eax, %eax
	jne	LBB0_24
LBB0_22:
	movq	_PROV_R_FAILED_TO_SET_PARAMETER@GOTPCREL(%rip), %rcx
LBB0_23:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rcx), %esi
	callq	_ERR_raise
	xorl	%ebx, %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_PROV_R_INVALID_IV_LENGTH@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
	.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_KEYLEN,4,2   ## @OSSL_CIPHER_PARAM_KEYLEN
	.comm	_OSSL_CIPHER_PARAM_AEAD_TAGLEN,4,2 ## @OSSL_CIPHER_PARAM_AEAD_TAGLEN
	.comm	_UNINITIALISED_SIZET,8,3        ## @UNINITIALISED_SIZET
	.comm	_GCM_TAG_MAX_SIZE,8,3           ## @GCM_TAG_MAX_SIZE
	.comm	_OSSL_CIPHER_PARAM_IV,4,2       ## @OSSL_CIPHER_PARAM_IV
	.comm	_PROV_R_INVALID_IV_LENGTH,4,2   ## @PROV_R_INVALID_IV_LENGTH
	.comm	_OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD,4,2 ## @OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD
	.comm	_OSSL_CIPHER_PARAM_AEAD_TAG,4,2 ## @OSSL_CIPHER_PARAM_AEAD_TAG
	.comm	_EVP_GCM_TLS_TAG_LEN,8,3        ## @EVP_GCM_TLS_TAG_LEN
	.comm	_PROV_R_INVALID_TAG,4,2         ## @PROV_R_INVALID_TAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gcm_get_ctx_params             ; -- Begin function gcm_get_ctx_params
	.p2align	2
_gcm_get_ctx_params:                    ; @gcm_get_ctx_params
	.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	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	x1, [x19]
	bl	_OSSL_PARAM_set_size_t
	cbz	w0, LBB0_21
LBB0_2:
Lloh3:
	adrp	x8, _OSSL_CIPHER_PARAM_KEYLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_KEYLEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x1, [x19, #8]
	bl	_OSSL_PARAM_set_size_t
	cbz	w0, LBB0_21
LBB0_4:
Lloh6:
	adrp	x8, _OSSL_CIPHER_PARAM_AEAD_TAGLEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_AEAD_TAGLEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
Lloh9:
	adrp	x9, _UNINITIALISED_SIZET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UNINITIALISED_SIZET@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _GCM_TAG_MAX_SIZE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _GCM_TAG_MAX_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x1, x10, x8, eq
	bl	_OSSL_PARAM_set_size_t
	cbz	w0, LBB0_21
LBB0_6:
Lloh15:
	adrp	x8, _OSSL_CIPHER_PARAM_IV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_IV@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x19, #28]
	cmp	w8, #1
	b.ne	LBB0_23
LBB0_9:
	ldr	x2, [x19]
	ldr	x8, [x0]
	cmp	x2, x8
	b.ne	LBB0_18
; %bb.10:
	ldr	w1, [x19, #48]
	bl	_OSSL_PARAM_set_octet_string
	cbz	w0, LBB0_21
LBB0_11:
Lloh18:
	adrp	x8, _OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x1, [x19, #32]
	bl	_OSSL_PARAM_set_size_t
	cbz	w0, LBB0_21
LBB0_13:
Lloh21:
	adrp	x8, _OSSL_CIPHER_PARAM_AEAD_TAG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_AEAD_TAG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate
	cbz	x0, LBB0_20
; %bb.14:
	ldr	x2, [x0]
Lloh24:
	adrp	x8, _EVP_GCM_TLS_TAG_LEN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EVP_GCM_TLS_TAG_LEN@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x2, #0
	ccmp	x2, x8, #2, ne
	b.hi	LBB0_17
; %bb.15:
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_17
; %bb.16:
	ldr	x8, [x19, #16]
Lloh27:
	adrp	x9, _UNINITIALISED_SIZET@GOTPAGE
Lloh28:
	ldr	x9, [x9, _UNINITIALISED_SIZET@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
LBB0_17:
Lloh30:
	adrp	x8, _PROV_R_INVALID_TAG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PROV_R_INVALID_TAG@GOTPAGEOFF]
	b	LBB0_22
LBB0_18:
Lloh32:
	adrp	x8, _PROV_R_INVALID_IV_LENGTH@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PROV_R_INVALID_IV_LENGTH@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:
	ldr	w1, [x19, #40]
	bl	_OSSL_PARAM_set_octet_string
	cbz	w0, LBB0_21
LBB0_20:
	mov	w0, #1
	b	LBB0_24
LBB0_21:
Lloh34:
	adrp	x8, _PROV_R_FAILED_TO_SET_PARAMETER@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PROV_R_FAILED_TO_SET_PARAMETER@GOTPAGEOFF]
LBB0_22:
Lloh36:
	adrp	x9, _ERR_LIB_PROV@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_ERR_raise
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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_KEYLEN,4,2   ; @OSSL_CIPHER_PARAM_KEYLEN
	.comm	_OSSL_CIPHER_PARAM_AEAD_TAGLEN,4,2 ; @OSSL_CIPHER_PARAM_AEAD_TAGLEN
	.comm	_UNINITIALISED_SIZET,8,3        ; @UNINITIALISED_SIZET
	.comm	_GCM_TAG_MAX_SIZE,8,3           ; @GCM_TAG_MAX_SIZE
	.comm	_OSSL_CIPHER_PARAM_IV,4,2       ; @OSSL_CIPHER_PARAM_IV
	.comm	_PROV_R_INVALID_IV_LENGTH,4,2   ; @PROV_R_INVALID_IV_LENGTH
	.comm	_OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD,4,2 ; @OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD
	.comm	_OSSL_CIPHER_PARAM_AEAD_TAG,4,2 ; @OSSL_CIPHER_PARAM_AEAD_TAG
	.comm	_EVP_GCM_TLS_TAG_LEN,8,3        ; @EVP_GCM_TLS_TAG_LEN
	.comm	_PROV_R_INVALID_TAG,4,2         ; @PROV_R_INVALID_TAG
.subsections_via_symbols
