	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_cmac_ctrl
_pkey_cmac_ctrl:                        ## @pkey_cmac_ctrl
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %r14
	cmpl	$130, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_7
## %bb.2:
	movl	$-2, %ebx
	cmpl	$128, %esi
	jne	LBB0_14
## %bb.3:
	xorl	%ebx, %ebx
	testl	%edx, %edx
	js	LBB0_14
## %bb.4:
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.5:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%rcx, %rsi
	jmp	LBB0_11
LBB0_6:
	movq	16(%rdi), %r8
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_7:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_CMAC_CTX_copy
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_11:
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_12:
	callq	_CMAC_Init
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	$1, %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pkey_cmac_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_cmac_ctrl
_pkey_cmac_ctrl:                        ; @pkey_cmac_ctrl
	.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
	ldr	x19, [x0, #8]
	cmp	w1, #130
	b.eq	LBB0_6
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_12
; %bb.3:
	mov	w0, #0
	tbnz	w2, #31, LBB0_13
; %bb.4:
	cbz	x3, LBB0_13
; %bb.5:
	mov	x0, x19
	mov	x1, x3
	b	LBB0_10
LBB0_6:
	ldr	x4, [x0, #16]
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_CMAC_Init
	cbnz	w0, LBB0_11
	b	LBB0_13
LBB0_7:
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_CMAC_CTX_copy
	cbz	w0, LBB0_13
LBB0_9:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
LBB0_10:
	mov	x3, #0
	mov	x4, #0
	bl	_CMAC_Init
	cbz	w0, LBB0_13
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #-2
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pkey_cmac_ctrl
.subsections_via_symbols
