	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMAC_CTX_copy                  ## -- Begin function CMAC_CTX_copy
	.p2align	4, 0x90
_CMAC_CTX_copy:                         ## @CMAC_CTX_copy
	.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
	xorl	%r15d, %r15d
	cmpl	$-1, (%rsi)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	20(%rdi), %edi
	movl	20(%rsi), %esi
	callq	_EVP_CIPHER_CTX_copy
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	20(%rbx), %edi
	callq	_EVP_CIPHER_CTX_block_size
	movl	%eax, %r15d
	movl	16(%r14), %edi
	movl	16(%rbx), %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	12(%r14), %edi
	movl	12(%rbx), %esi
	movl	%r15d, %edx
	callq	_memcpy
	movl	8(%r14), %edi
	movl	8(%rbx), %esi
	movl	%r15d, %edx
	callq	_memcpy
	movl	4(%r14), %edi
	movl	4(%rbx), %esi
	movl	%r15d, %edx
	callq	_memcpy
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movl	$1, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMAC_CTX_copy                  ; -- Begin function CMAC_CTX_copy
	.p2align	2
_CMAC_CTX_copy:                         ; @CMAC_CTX_copy
	.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
	ldr	w8, [x1]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #20]
	ldr	w1, [x1, #20]
	bl	_EVP_CIPHER_CTX_copy
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x20, #20]
	bl	_EVP_CIPHER_CTX_block_size
	mov	x21, x0
	ldr	w0, [x19, #16]
	ldr	w1, [x20, #16]
	mov	x2, x21
	bl	_memcpy
	ldr	w0, [x19, #12]
	ldr	w1, [x20, #12]
	mov	x2, x21
	bl	_memcpy
	ldr	w0, [x19, #8]
	ldr	w1, [x20, #8]
	mov	x2, x21
	bl	_memcpy
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	mov	x2, x21
	bl	_memcpy
	ldr	w8, [x20]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
