	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltSetAttrVTsegment
_xsltSetAttrVTsegment:                  ## @xsltSetAttrVTsegment
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_4
## %bb.1:
	leal	4(,%rcx,8), %esi
	movq	%rbx, %rdi
	callq	_xmlRealloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movslq	(%rax), %rdi
	shlq	$3, %rdi
	addq	8(%rax), %rdi
	movq	_MAX_AVT_SEG@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	(%r15), %eax
	addl	%eax, 4(%rbx)
	movl	(%rbx), %eax
LBB0_4:
	movq	8(%rbx), %rcx
	leal	1(%rax), %edx
	movl	%edx, (%rbx)
	cltq
	movq	%r14, (%rcx,%rax,8)
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_AVT_SEG,4,2                ## @MAX_AVT_SEG
	.no_dead_strip	_xsltSetAttrVTsegment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltSetAttrVTsegment
_xsltSetAttrVTsegment:                  ; @xsltSetAttrVTsegment
	.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	x20, x1
	mov	x19, x0
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.lt	LBB0_3
; %bb.1:
	mov	w1, #4
	bfi	w1, w9, #3, #29
	mov	x0, x19
	bl	_xmlRealloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x0, x8, x9, lsl #3
Lloh0:
	adrp	x21, _MAX_AVT_SEG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_AVT_SEG@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	ldr	w9, [x21]
	ldp	w8, w10, [x19]
	add	w9, w10, w9
	str	w9, [x19, #4]
LBB0_3:
	ldr	x9, [x19, #8]
	add	w10, w8, #1
	str	w10, [x19]
	str	x20, [x9, w8, sxtw #3]
LBB0_4:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_AVT_SEG,4,2                ; @MAX_AVT_SEG
	.no_dead_strip	_xsltSetAttrVTsegment
.subsections_via_symbols
