	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltNumberFormat               ## -- Begin function xsltNumberFormat
	.p2align	4, 0x90
_xsltNumberFormat:                      ## @xsltNumberFormat
	.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
	pushq	%rax
	movl	$8232, %eax                     ## imm = 0x2028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	40(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	-8272(%rbp), %rsi
	callq	_xsltNumberFormatTokenize
LBB0_5:
	xorl	%eax, %eax
	callq	_xmlBufferCreate
	testq	%rax, %rax
	je	LBB0_20
## %bb.6:
	movq	%rax, %r15
	movq	24(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.7:
	movl	4(%r14), %edi
	leaq	-8240(%rbp), %rcx
	movl	%r12d, %esi
	callq	_xsltNumberFormatGetValue
LBB0_8:
	cmpl	$1, %eax
	jne	LBB0_19
LBB0_17:
	leaq	-8240(%rbp), %rsi
	leaq	-8272(%rbp), %rcx
	movq	%r13, %rdi
	movl	$1, %edx
LBB0_18:
	movq	%r15, %r8
	callq	_xsltNumberFormatInsertNumbers
	jmp	LBB0_19
LBB0_2:
	cmpq	$0, (%r13)
	je	LBB0_29
## %bb.3:
	movl	32(%r13), %esi
	movq	_XSLT_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_xsltEvalAttrValueTemplate
	testq	%rax, %rax
	je	LBB0_29
## %bb.4:
	movq	%rax, %rbx
	leaq	-8272(%rbp), %rsi
	movq	%rax, %rdi
	callq	_xsltNumberFormatTokenize
	movq	%rbx, %rdi
	callq	_xmlFree
	jmp	LBB0_5
LBB0_9:
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	callq	_xmlStrEqual
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	8(%r13), %ecx
	movl	12(%r13), %edx
	leaq	-8240(%rbp), %r8
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$1, %r9d
	callq	_xsltNumberFormatGetMultipleLevel
	jmp	LBB0_8
LBB0_12:
	movq	16(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_xmlStrEqual
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movl	8(%r13), %ecx
	movl	12(%r13), %edx
	leaq	-8240(%rbp), %r8
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$1024, %r9d                     ## imm = 0x400
	callq	_xsltNumberFormatGetMultipleLevel
	testl	%eax, %eax
	jle	LBB0_19
## %bb.14:
	leaq	-8240(%rbp), %rsi
	leaq	-8272(%rbp), %rcx
	movq	%r13, %rdi
	movl	%eax, %edx
	jmp	LBB0_18
LBB0_15:
	movq	16(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_xmlStrEqual
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movl	8(%r13), %ecx
	movl	12(%r13), %edx
	leaq	-8240(%rbp), %r8
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_xsltNumberFormatGetAnyLevel
	testl	%eax, %eax
	jg	LBB0_17
LBB0_19:
	movl	(%r14), %ebx
	movq	%r15, %rdi
	callq	_xmlBufferContent
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_xsltCopyTextString
	movq	%r15, %rdi
	callq	_xmlBufferFree
LBB0_20:
	movq	-8248(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_xmlFree
LBB0_22:
	movq	-8256(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	callq	_xmlFree
LBB0_24:
	movl	-8272(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_29
## %bb.25:
	xorl	%ebx, %ebx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_29
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	-8264(%rbp), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	callq	_xmlFree
	movl	-8272(%rbp), %eax
	jmp	LBB0_28
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	addq	$8232, %rsp                     ## imm = 0x2028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"format"

	.comm	_XSLT_NAMESPACE,4,2             ## @XSLT_NAMESPACE
L_.str.1:                               ## @.str.1
	.asciz	"single"

L_.str.2:                               ## @.str.2
	.asciz	"multiple"

L_.str.3:                               ## @.str.3
	.asciz	"any"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltNumberFormat               ; -- Begin function xsltNumberFormat
	.p2align	2
_xsltNumberFormat:                      ; @xsltNumberFormat
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	mov	w9, #8240
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #48
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x0, [x1, #40]
	cbz	x0, LBB0_7
; %bb.1:
	add	x1, sp, #8
	bl	_xsltNumberFormatTokenize
	bl	_xmlBufferCreate
	cbz	x0, LBB0_19
LBB0_2:
	mov	x21, x0
	ldr	x2, [x20, #24]
	cbz	x2, LBB0_10
; %bb.3:
	ldr	w0, [x19, #4]
	add	x3, sp, #40
	mov	x1, x22
	bl	_xsltNumberFormatGetValue
LBB0_4:
	cmp	w0, #1
	b.ne	LBB0_18
LBB0_5:
	add	x1, sp, #40
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #1
LBB0_6:
	mov	x4, x21
	bl	_xsltNumberFormatInsertNumbers
	b	LBB0_18
LBB0_7:
	ldr	x8, [x20]
	cbz	x8, LBB0_28
; %bb.8:
	ldr	w1, [x20, #32]
Lloh5:
	adrp	x8, _XSLT_NAMESPACE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XSLT_NAMESPACE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_xsltEvalAttrValueTemplate
	cbz	x0, LBB0_28
; %bb.9:
	mov	x21, x0
	add	x1, sp, #8
	bl	_xsltNumberFormatTokenize
	mov	x0, x21
	bl	_xmlFree
	bl	_xmlBufferCreate
	cbnz	x0, LBB0_2
	b	LBB0_19
LBB0_10:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_18
; %bb.11:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_xmlStrEqual
	cbz	x0, LBB0_13
; %bb.12:
	ldp	w3, w2, [x20, #8]
	add	x4, sp, #40
	mov	x0, x19
	mov	x1, x22
	mov	w5, #1
	bl	_xsltNumberFormatGetMultipleLevel
	b	LBB0_4
LBB0_13:
	ldr	x0, [x20, #16]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_xmlStrEqual
	cbz	x0, LBB0_16
; %bb.14:
	ldp	w3, w2, [x20, #8]
	add	x4, sp, #40
	mov	x0, x19
	mov	x1, x22
	mov	w5, #1024
	bl	_xsltNumberFormatGetMultipleLevel
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.15:
	mov	x2, x0
	add	x1, sp, #40
	add	x3, sp, #8
	mov	x0, x20
	b	LBB0_6
LBB0_16:
	ldr	x0, [x20, #16]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_xmlStrEqual
	cbz	x0, LBB0_18
; %bb.17:
	ldp	w3, w2, [x20, #8]
	add	x4, sp, #40
	mov	x0, x19
	mov	x1, x22
	bl	_xsltNumberFormatGetAnyLevel
	cmp	w0, #1
	b.ge	LBB0_5
LBB0_18:
	ldr	w20, [x19]
	mov	x0, x21
	bl	_xmlBufferContent
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_xsltCopyTextString
	mov	x0, x21
	bl	_xmlBufferFree
LBB0_19:
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_xmlFree
LBB0_21:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_23
; %bb.22:
	bl	_xmlFree
LBB0_23:
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.24:
	mov	x19, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_28
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [sp, #16]
	ldr	x0, [x9, x19, lsl #3]
	cbz	x0, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	bl	_xmlFree
	ldr	w8, [sp, #8]
	b	LBB0_25
LBB0_28:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"format"

	.comm	_XSLT_NAMESPACE,4,2             ; @XSLT_NAMESPACE
l_.str.1:                               ; @.str.1
	.asciz	"single"

l_.str.2:                               ; @.str.2
	.asciz	"multiple"

l_.str.3:                               ; @.str.3
	.asciz	"any"

.subsections_via_symbols
