	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_item_dup                  ## -- Begin function ASN1_item_dup
	.p2align	4, 0x90
_ASN1_item_dup:                         ## @ASN1_item_dup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -16(%rbp)
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_ASN1_item_i2d
	movq	-16(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	movq	%rcx, -24(%rbp)
	leaq	-24(%rbp), %rsi
	xorl	%edi, %edi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_ASN1_item_d2i
	movq	%rax, %rbx
	movq	-16(%rbp), %rdi
	callq	_OPENSSL_free
	jmp	LBB0_6
LBB0_4:
	movq	_ASN1_F_ASN1_ITEM_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_F_ASN1_ITEM_DUP,4,2       ## @ASN1_F_ASN1_ITEM_DUP
	.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	_ASN1_item_dup                  ; -- Begin function ASN1_item_dup
	.p2align	2
_ASN1_item_dup:                         ; @ASN1_item_dup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	xzr, [sp, #8]
	cbz	x1, LBB0_4
; %bb.1:
	mov	x8, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x8
	mov	x2, x19
	bl	_ASN1_item_i2d
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x2, x0
	str	x8, [sp]
	mov	x1, sp
	mov	x0, #0
	mov	x3, x19
	bl	_ASN1_item_d2i
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_OPENSSL_free
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _ASN1_F_ASN1_ITEM_DUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_F_ASN1_ITEM_DUP@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	_ASN1err
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_F_ASN1_ITEM_DUP,4,2       ; @ASN1_F_ASN1_ITEM_DUP
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
