	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_ocb128_copy_ctx         ## -- Begin function CRYPTO_ocb128_copy_ctx
	.p2align	4, 0x90
_CRYPTO_ocb128_copy_ctx:                ## @CRYPTO_ocb128_copy_ctx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$32, %edx
	callq	_memcpy
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movq	%r12, 24(%rbx)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	%r14, 16(%rbx)
LBB0_4:
	movl	$1, %r14d
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.5:
	movl	(%r15), %edi
	shll	$4, %edi
	callq	_OPENSSL_malloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	8(%r15), %rsi
	movl	4(%r15), %edx
	shll	$4, %edx
	addl	$16, %edx
	movq	%rax, %rdi
	callq	_memcpy
	jmp	LBB0_8
LBB0_6:
	movq	_CRYPTO_F_CRYPTO_OCB128_COPY_CTX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CRYPTOerr
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_F_CRYPTO_OCB128_COPY_CTX,4,2 ## @CRYPTO_F_CRYPTO_OCB128_COPY_CTX
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_ocb128_copy_ctx         ; -- Begin function CRYPTO_ocb128_copy_ctx
	.p2align	2
_CRYPTO_ocb128_copy_ctx:                ; @CRYPTO_ocb128_copy_ctx
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	w2, #32
	bl	_memcpy
	cbz	x22, LBB0_2
; %bb.1:
	str	x22, [x20, #24]
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	str	x21, [x20, #16]
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w8, [x19]
	lsl	w0, w8, #4
	bl	_OPENSSL_malloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x1, [x19, #8]
	ldr	w8, [x19, #4]
	lsl	w8, w8, #4
	add	w2, w8, #16
	bl	_memcpy
LBB0_7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _CRYPTO_F_CRYPTO_OCB128_COPY_CTX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_F_CRYPTO_OCB128_COPY_CTX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_CRYPTOerr
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_F_CRYPTO_OCB128_COPY_CTX,4,2 ; @CRYPTO_F_CRYPTO_OCB128_COPY_CTX
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
