	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_new_CMAC_key          ## -- Begin function EVP_PKEY_new_CMAC_key
	.p2align	4, 0x90
_EVP_PKEY_new_CMAC_key:                 ## @EVP_PKEY_new_CMAC_key
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_CMAC_CTX_new
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	testq	%r14, %r14
	je	LBB0_5
## %bb.2:
	movq	_EVP_PKEY_CMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$-1, %r8d
	callq	_pkey_set_type
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	callq	_CMAC_Init
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movq	%r14, (%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	_EVP_F_EVP_PKEY_NEW_CMAC_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_KEY_SETUP_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
LBB0_5:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_free
	movq	%r14, %rdi
	callq	_CMAC_CTX_free
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_PKEY_CMAC,4,2              ## @EVP_PKEY_CMAC
	.comm	_EVP_F_EVP_PKEY_NEW_CMAC_KEY,4,2 ## @EVP_F_EVP_PKEY_NEW_CMAC_KEY
	.comm	_EVP_R_KEY_SETUP_FAILED,4,2     ## @EVP_R_KEY_SETUP_FAILED
	.comm	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,2 ## @EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_new_CMAC_key          ; -- Begin function EVP_PKEY_new_CMAC_key
	.p2align	2
_EVP_PKEY_new_CMAC_key:                 ; @EVP_PKEY_new_CMAC_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
	bl	_EVP_PKEY_new
	mov	x19, x0
	bl	_CMAC_CTX_new
	mov	x20, x0
	cbz	x19, LBB0_6
; %bb.1:
	cbz	x20, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _EVP_PKEY_CMAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_PKEY_CMAC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x3, #0
	mov	w4, #-1
	bl	_pkey_set_type
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_CMAC_Init
	cbz	w0, LBB0_5
; %bb.4:
	str	x20, [x19]
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _EVP_F_EVP_PKEY_NEW_CMAC_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_NEW_CMAC_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EVP_R_KEY_SETUP_FAILED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVP_R_KEY_SETUP_FAILED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_EVPerr
LBB0_6:
	mov	x0, x19
	bl	_EVP_PKEY_free
	mov	x0, x20
	bl	_CMAC_CTX_free
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_PKEY_CMAC,4,2              ; @EVP_PKEY_CMAC
	.comm	_EVP_F_EVP_PKEY_NEW_CMAC_KEY,4,2 ; @EVP_F_EVP_PKEY_NEW_CMAC_KEY
	.comm	_EVP_R_KEY_SETUP_FAILED,4,2     ; @EVP_R_KEY_SETUP_FAILED
	.comm	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,2 ; @EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
.subsections_via_symbols
