	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_element
_get_element:                           ## @get_element
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_parse_namespace
	movl	(%rbx), %r14d
	movq	-56(%rbp), %rdi
	callq	_BAD_CAST
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_xmlSearchNs
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r13
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdi
	callq	_xmlStrlen
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	callq	_strlen
	movl	%eax, %r15d
	leal	(%r15,%r14), %eax
	cltq
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	incq	%rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	(%r15,%r14), %edi
	addl	$2, %edi
	callq	_emalloc
	movq	%rax, %rbx
	movq	(%r13), %rsi
	movq	%rax, %rdi
	movl	%r14d, %edx
	callq	_memcpy
	movslq	%r14d, %rax
	movb	$58, (%rbx,%rax)
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	movq	-48(%rbp), %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movb	$0, 1(%rbx,%rax)
	movq	(%r12), %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_zend_hash_str_find_ptr
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	(%r12), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_zend_hash_str_find_ptr
	movq	%rax, %r13
LBB0_5:
	movq	%rbx, %rdi
	callq	_efree
	jmp	LBB0_7
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_6:
	movq	(%r12), %rbx
	movq	%r15, %rdi
	callq	_xmlStrlen
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_zend_hash_str_find_ptr
	movq	%rax, %r13
LBB0_7:
	movq	-48(%rbp), %rdi
	callq	_efree
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_efree
LBB0_9:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_element
_get_element:                           ; @get_element
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x19
	bl	_parse_namespace
	ldr	w22, [x21]
	ldr	x0, [sp, #8]
	bl	_BAD_CAST
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_xmlSearchNs
	cbz	x0, LBB0_6
; %bb.2:
	mov	x23, x0
	ldr	x0, [x0]
	bl	_xmlStrlen
	mov	x24, x0
	ldr	x0, [sp]
	bl	_strlen
	mov	x21, x0
	sxtw	x26, w24
	add	x8, x26, w0, sxtw
	add	x25, x8, #1
	add	w0, w8, #2
	bl	_emalloc
	mov	x22, x0
	ldr	x1, [x23]
	mov	x2, x24
	bl	_memcpy
	add	x0, x22, x26
	mov	w8, #58
	strb	w8, [x0], #1
	ldr	x1, [sp]
	mov	x2, x21
	bl	_memcpy
	strb	wzr, [x22, x25]
	ldr	x0, [x20]
	mov	x1, x22
	mov	x2, x25
	bl	_zend_hash_str_find_ptr
	mov	x23, x0
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x20]
	mov	x1, x19
	mov	x2, x21
	bl	_zend_hash_str_find_ptr
	mov	x23, x0
LBB0_4:
	mov	x0, x22
	bl	_efree
	b	LBB0_7
LBB0_5:
	mov	x23, #0
	b	LBB0_9
LBB0_6:
	ldr	x20, [x20]
	mov	x0, x19
	bl	_xmlStrlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_zend_hash_str_find_ptr
	mov	x23, x0
LBB0_7:
	ldr	x0, [sp]
	bl	_efree
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_efree
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_element
.subsections_via_symbols
