	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ber_free_elements              ## -- Begin function ber_free_elements
	.p2align	4, 0x90
_ber_free_elements:                     ## @ber_free_elements
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_BER_TYPE_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_BER_TYPE_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	callq	_ber_free_elements
LBB0_4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_ber_free_elements
LBB0_6:
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.7:
	movq	(%rbx), %rax
	movq	_BER_TYPE_OCTETSTRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.8:
	movq	_BER_TYPE_BITSTRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_BER_TYPE_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
LBB0_10:
	movq	8(%rbx), %rdi
	callq	_free
LBB0_11:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BER_TYPE_SEQUENCE,8,3          ## @BER_TYPE_SEQUENCE
	.comm	_BER_TYPE_SET,8,3               ## @BER_TYPE_SET
	.comm	_BER_TYPE_OCTETSTRING,8,3       ## @BER_TYPE_OCTETSTRING
	.comm	_BER_TYPE_BITSTRING,8,3         ## @BER_TYPE_BITSTRING
	.comm	_BER_TYPE_OBJECT,8,3            ## @BER_TYPE_OBJECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ber_free_elements              ; -- Begin function ber_free_elements
	.p2align	2
_ber_free_elements:                     ; @ber_free_elements
	.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	x19, x0
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
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.2:
	bl	_ber_free_elements
LBB0_3:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_ber_free_elements
LBB0_5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _BER_TYPE_OCTETSTRING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BER_TYPE_OCTETSTRING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _BER_TYPE_BITSTRING@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BER_TYPE_BITSTRING@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
Lloh12:
	adrp	x11, _BER_TYPE_OBJECT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _BER_TYPE_OBJECT@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
	bl	_free
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BER_TYPE_SEQUENCE,8,3          ; @BER_TYPE_SEQUENCE
	.comm	_BER_TYPE_SET,8,3               ; @BER_TYPE_SET
	.comm	_BER_TYPE_OCTETSTRING,8,3       ; @BER_TYPE_OCTETSTRING
	.comm	_BER_TYPE_BITSTRING,8,3         ; @BER_TYPE_BITSTRING
	.comm	_BER_TYPE_OBJECT,8,3            ; @BER_TYPE_OBJECT
.subsections_via_symbols
