	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blake2_mac_set_ctx_params
_blake2_mac_set_ctx_params:             ## @blake2_mac_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_OSSL_MAC_PARAM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_get_size_t
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	-32(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	_BLAKE2_OUTBYTES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	ja	LBB0_4
## %bb.6:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_BLAKE2_PARAM_SET_DIGEST_LENGTH
LBB0_7:
	movq	_OSSL_MAC_PARAM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	8(%r14), %rcx
	movq	%rcx, -40(%rbp)
	movq	_BLAKE2_KEYBYTES@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rcx
	movq	%rax, %rdi
	callq	_OSSL_PARAM_get_octet_string
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	-32(%rbp), %rax
	movq	8(%r14), %rdi
	addq	%rax, %rdi
	movq	(%r15), %rdx
	subq	%rax, %rdx
	xorl	%esi, %esi
	callq	_memset
	movl	-32(%rbp), %esi
	movq	%r14, %rdi
	callq	_BLAKE2_PARAM_SET_KEY_LENGTH
LBB0_11:
	movq	_OSSL_MAC_PARAM_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	(%rax), %rdx
	movq	_BLAKE2_PERSONALBYTES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jle	LBB0_14
## %bb.13:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_CUSTOM_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_NOT_XOF_OR_INVALID_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_KEY_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_14:
	movl	8(%rax), %esi
	movq	%r14, %rdi
	callq	_BLAKE2_PARAM_SET_PERSONAL
LBB0_15:
	movq	_OSSL_MAC_PARAM_SALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movq	(%rax), %rdx
	movq	_BLAKE2_SALTBYTES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jle	LBB0_18
## %bb.17:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_SALT_LENGTH@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%ebx, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	8(%rax), %esi
	movq	%r14, %rdi
	callq	_BLAKE2_PARAM_SET_SALT
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_MAC_PARAM_SIZE,4,2        ## @OSSL_MAC_PARAM_SIZE
	.comm	_BLAKE2_OUTBYTES,8,3            ## @BLAKE2_OUTBYTES
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_NOT_XOF_OR_INVALID_LENGTH,4,2 ## @PROV_R_NOT_XOF_OR_INVALID_LENGTH
	.comm	_OSSL_MAC_PARAM_KEY,4,2         ## @OSSL_MAC_PARAM_KEY
	.comm	_BLAKE2_KEYBYTES,8,3            ## @BLAKE2_KEYBYTES
	.comm	_PROV_R_INVALID_KEY_LENGTH,4,2  ## @PROV_R_INVALID_KEY_LENGTH
	.comm	_OSSL_MAC_PARAM_CUSTOM,4,2      ## @OSSL_MAC_PARAM_CUSTOM
	.comm	_BLAKE2_PERSONALBYTES,8,3       ## @BLAKE2_PERSONALBYTES
	.comm	_PROV_R_INVALID_CUSTOM_LENGTH,4,2 ## @PROV_R_INVALID_CUSTOM_LENGTH
	.comm	_OSSL_MAC_PARAM_SALT,4,2        ## @OSSL_MAC_PARAM_SALT
	.comm	_BLAKE2_SALTBYTES,8,3           ## @BLAKE2_SALTBYTES
	.comm	_PROV_R_INVALID_SALT_LENGTH,4,2 ## @PROV_R_INVALID_SALT_LENGTH
	.no_dead_strip	_blake2_mac_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 blake2_mac_set_ctx_params
_blake2_mac_set_ctx_params:             ; @blake2_mac_set_ctx_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_MAC_PARAM_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_MAC_PARAM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_4
; %bb.1:
	add	x1, sp, #8
	bl	_OSSL_PARAM_get_size_t
	ldr	x1, [sp, #8]
Lloh3:
	adrp	x8, _BLAKE2_OUTBYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLAKE2_OUTBYTES@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w0, #0
	ccmp	x1, #0, #4, ne
	ccmp	x1, x8, #2, ne
	b.ls	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _PROV_R_NOT_XOF_OR_INVALID_LENGTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PROV_R_NOT_XOF_OR_INVALID_LENGTH@GOTPAGEOFF]
	b	LBB0_15
LBB0_3:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_BLAKE2_PARAM_SET_DIGEST_LENGTH
LBB0_4:
Lloh11:
	adrp	x8, _OSSL_MAC_PARAM_KEY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OSSL_MAC_PARAM_KEY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh14:
	adrp	x21, _BLAKE2_KEYBYTES@GOTPAGE
Lloh15:
	ldr	x21, [x21, _BLAKE2_KEYBYTES@GOTPAGEOFF]
	ldr	x2, [x21]
	mov	x1, sp
	add	x3, sp, #8
	bl	_OSSL_PARAM_get_octet_string
	cbz	w0, LBB0_10
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #8]
	add	x0, x8, x9
	ldr	x8, [x21]
	sub	x2, x8, x9
	mov	w1, #0
	bl	_memset
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_BLAKE2_PARAM_SET_KEY_LENGTH
LBB0_7:
Lloh16:
	adrp	x8, _OSSL_MAC_PARAM_CUSTOM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OSSL_MAC_PARAM_CUSTOM@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x2, [x0]
Lloh19:
	adrp	x8, _BLAKE2_PERSONALBYTES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BLAKE2_PERSONALBYTES@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x2, x8
	b.le	LBB0_11
; %bb.9:
Lloh22:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _PROV_R_INVALID_CUSTOM_LENGTH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PROV_R_INVALID_CUSTOM_LENGTH@GOTPAGEOFF]
	b	LBB0_15
LBB0_10:
Lloh27:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _PROV_R_INVALID_KEY_LENGTH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PROV_R_INVALID_KEY_LENGTH@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
	ldr	w1, [x0, #8]
	mov	x0, x19
	bl	_BLAKE2_PARAM_SET_PERSONAL
LBB0_12:
Lloh32:
	adrp	x8, _OSSL_MAC_PARAM_SALT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OSSL_MAC_PARAM_SALT@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_17
; %bb.13:
	ldr	x2, [x0]
Lloh35:
	adrp	x8, _BLAKE2_SALTBYTES@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BLAKE2_SALTBYTES@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x2, x8
	b.le	LBB0_16
; %bb.14:
Lloh38:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x8, _PROV_R_INVALID_SALT_LENGTH@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PROV_R_INVALID_SALT_LENGTH@GOTPAGEOFF]
LBB0_15:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
	b	LBB0_18
LBB0_16:
	ldr	w1, [x0, #8]
	mov	x0, x19
	bl	_BLAKE2_PARAM_SET_SALT
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_MAC_PARAM_SIZE,4,2        ; @OSSL_MAC_PARAM_SIZE
	.comm	_BLAKE2_OUTBYTES,8,3            ; @BLAKE2_OUTBYTES
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_NOT_XOF_OR_INVALID_LENGTH,4,2 ; @PROV_R_NOT_XOF_OR_INVALID_LENGTH
	.comm	_OSSL_MAC_PARAM_KEY,4,2         ; @OSSL_MAC_PARAM_KEY
	.comm	_BLAKE2_KEYBYTES,8,3            ; @BLAKE2_KEYBYTES
	.comm	_PROV_R_INVALID_KEY_LENGTH,4,2  ; @PROV_R_INVALID_KEY_LENGTH
	.comm	_OSSL_MAC_PARAM_CUSTOM,4,2      ; @OSSL_MAC_PARAM_CUSTOM
	.comm	_BLAKE2_PERSONALBYTES,8,3       ; @BLAKE2_PERSONALBYTES
	.comm	_PROV_R_INVALID_CUSTOM_LENGTH,4,2 ; @PROV_R_INVALID_CUSTOM_LENGTH
	.comm	_OSSL_MAC_PARAM_SALT,4,2        ; @OSSL_MAC_PARAM_SALT
	.comm	_BLAKE2_SALTBYTES,8,3           ; @BLAKE2_SALTBYTES
	.comm	_PROV_R_INVALID_SALT_LENGTH,4,2 ; @PROV_R_INVALID_SALT_LENGTH
	.no_dead_strip	_blake2_mac_set_ctx_params
.subsections_via_symbols
