	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltLocalVariablePush          ## -- Begin function xsltLocalVariablePush
	.p2align	4, 0x90
_xsltLocalVariablePush:                 ## @xsltLocalVariablePush
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	testl	%esi, %esi
	jne	LBB0_3
## %bb.1:
	movl	$10, (%rbx)
	movl	$80, %edi
	callq	_xmlMalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %esi
LBB0_3:
	movl	4(%rbx), %ecx
	cmpl	%esi, %ecx
	jge	LBB0_7
## %bb.4:
	movq	16(%rbx), %rax
	jmp	LBB0_9
LBB0_7:
	leal	(%rsi,%rsi), %eax
	movl	%eax, (%rbx)
	movq	16(%rbx), %rdi
	shll	$4, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xmlRealloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movl	4(%rbx), %ecx
LBB0_9:
	leal	1(%rcx), %edx
	movl	%edx, 4(%rbx)
	movslq	%ecx, %rcx
	movq	%r15, (%rax,%rcx,8)
	movq	%r15, 8(%rbx)
	movl	%r14d, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_11:
	movq	_xmlGenericErrorContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	movq	_xmlGenericErrorContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_6:
	callq	_xmlGenericError
	movl	$-1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xmlGenericErrorContext,4,2     ## @xmlGenericErrorContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed !\n"

L_.str.1:                               ## @.str.1
	.asciz	"realloc failed !\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltLocalVariablePush          ; -- Begin function xsltLocalVariablePush
	.p2align	2
_xsltLocalVariablePush:                 ; @xsltLocalVariablePush
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_3
; %bb.1:
	mov	w8, #10
	str	w8, [x21]
	mov	w0, #80
	bl	_xmlMalloc
	str	x0, [x21, #16]
	cbz	x0, LBB0_9
; %bb.2:
	ldr	w8, [x21]
LBB0_3:
	ldr	w9, [x21, #4]
	cmp	w9, w8
	b.ge	LBB0_5
; %bb.4:
	ldr	x0, [x21, #16]
	b	LBB0_7
LBB0_5:
	lsl	w9, w8, #1
	str	w9, [x21]
	ldr	x0, [x21, #16]
	lsl	w1, w8, #4
	bl	_xmlRealloc
	str	x0, [x21, #16]
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w9, [x21, #4]
LBB0_7:
	mov	w8, #0
	add	w10, w9, #1
	str	w10, [x21, #4]
	str	x20, [x0, w9, sxtw #3]
	str	x20, [x21, #8]
	str	w19, [x20]
	b	LBB0_11
LBB0_8:
Lloh0:
	adrp	x8, _xmlGenericErrorContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xmlGenericErrorContext@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh5:
	adrp	x8, _xmlGenericErrorContext@GOTPAGE
Lloh6:
	ldr	x8, [x8, _xmlGenericErrorContext@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_10:
	bl	_xmlGenericError
	mov	w8, #-1
LBB0_11:
	mov	x0, x8
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_xmlGenericErrorContext,4,2     ; @xmlGenericErrorContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed !\n"

l_.str.1:                               ; @.str.1
	.asciz	"realloc failed !\n"

.subsections_via_symbols
