	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ber_unlink_elements            ## -- Begin function ber_unlink_elements
	.p2align	4, 0x90
_ber_unlink_elements:                   ## @ber_unlink_elements
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_BER_TYPE_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_BER_TYPE_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	addq	$16, %rdi
	jmp	LBB0_5
LBB0_4:
	movq	8(%rdi), %rax
	addq	$8, %rdi
LBB0_5:
	movq	$0, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BER_TYPE_SEQUENCE,8,3          ## @BER_TYPE_SEQUENCE
	.comm	_BER_TYPE_SET,8,3               ## @BER_TYPE_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ber_unlink_elements            ; -- Begin function ber_unlink_elements
	.p2align	2
_ber_unlink_elements:                   ; @ber_unlink_elements
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BER_TYPE_SEQUENCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BER_TYPE_SEQUENCE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _BER_TYPE_SET@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BER_TYPE_SET@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x9, x0
	ldr	x8, [x9, #16]!
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x9
	b	LBB0_4
LBB0_3:
	ldr	x8, [x0, #8]!
LBB0_4:
	str	xzr, [x0]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BER_TYPE_SEQUENCE,8,3          ; @BER_TYPE_SEQUENCE
	.comm	_BER_TYPE_SET,8,3               ; @BER_TYPE_SET
.subsections_via_symbols
