	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HMAC_CTX_copy                  ## -- Begin function HMAC_CTX_copy
	.p2align	4, 0x90
_HMAC_CTX_copy:                         ## @HMAC_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_hmac_ctx_alloc_mds
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	20(%rbx), %edi
	movl	20(%r14), %esi
	callq	_EVP_MD_CTX_copy_ex
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movl	16(%rbx), %edi
	movl	16(%r14), %esi
	callq	_EVP_MD_CTX_copy_ex
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	12(%rbx), %edi
	movl	12(%r14), %esi
	callq	_EVP_MD_CTX_copy_ex
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	8(%rbx), %edi
	movl	8(%r14), %esi
	movq	_HMAC_MAX_MD_CBLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_hmac_ctx_cleanup
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HMAC_MAX_MD_CBLOCK_SIZE,4,2    ## @HMAC_MAX_MD_CBLOCK_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HMAC_CTX_copy                  ; -- Begin function HMAC_CTX_copy
	.p2align	2
_HMAC_CTX_copy:                         ; @HMAC_CTX_copy
	.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
	bl	_hmac_ctx_alloc_mds
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w0, [x19, #20]
	ldr	w1, [x20, #20]
	bl	_EVP_MD_CTX_copy_ex
	cbz	w0, LBB0_5
; %bb.2:
	ldr	w0, [x19, #16]
	ldr	w1, [x20, #16]
	bl	_EVP_MD_CTX_copy_ex
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w0, [x19, #12]
	ldr	w1, [x20, #12]
	bl	_EVP_MD_CTX_copy_ex
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
	ldr	w1, [x20, #8]
Lloh0:
	adrp	x8, _HMAC_MAX_MD_CBLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HMAC_MAX_MD_CBLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	d0, [x20]
	str	d0, [x19]
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_hmac_ctx_cleanup
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HMAC_MAX_MD_CBLOCK_SIZE,4,2    ; @HMAC_MAX_MD_CBLOCK_SIZE
.subsections_via_symbols
