	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XMLRPC_SetValueID_Case         ## -- Begin function XMLRPC_SetValueID_Case
	.p2align	4, 0x90
_XMLRPC_SetValueID_Case:                ## @XMLRPC_SetValueID_Case
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rdi, %r13
	callq	_simplestring_clear
	movq	%r13, %rdi
	movq	%r15, %rsi
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.3:
	movl	%r12d, %edx
	callq	_simplestring_addn
	jmp	LBB0_5
LBB0_4:
	callq	_simplestring_add
LBB0_5:
	movq	_xmlrpc_case_lower@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%r14, %rax
	je	LBB0_7
## %bb.6:
	movq	_xmlrpc_case_upper@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_14
LBB0_7:
	cmpl	$0, (%r13)
	jle	LBB0_14
## %bb.8:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rcx
	movsbl	-1(%rcx,%rbx), %edi
	cmpq	%r14, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_tolower
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	callq	_toupper
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r13), %rcx
	movb	%al, -1(%rcx,%rbx)
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r15), %rax
	incq	%rbx
	jmp	LBB0_9
LBB0_14:
	movq	8(%r13), %rax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xmlrpc_case_lower,8,3          ## @xmlrpc_case_lower
	.comm	_xmlrpc_case_upper,8,3          ## @xmlrpc_case_upper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XMLRPC_SetValueID_Case         ; -- Begin function XMLRPC_SetValueID_Case
	.p2align	2
_XMLRPC_SetValueID_Case:                ; @XMLRPC_SetValueID_Case
	.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, x0
	mov	x0, #0
	cbz	x20, LBB0_14
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_14
; %bb.2:
	mov	x19, x3
	mov	x22, x2
	mov	x0, x20
	bl	_simplestring_clear
	mov	x0, x20
	mov	x1, x21
	cmp	w22, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x2, x22
	bl	_simplestring_addn
	b	LBB0_5
LBB0_4:
	bl	_simplestring_add
LBB0_5:
Lloh0:
	adrp	x21, _xmlrpc_case_lower@GOTPAGE
Lloh1:
	ldr	x21, [x21, _xmlrpc_case_lower@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _xmlrpc_case_upper@GOTPAGE
Lloh3:
	ldr	x9, [x9, _xmlrpc_case_upper@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x19
	ccmp	x9, x19, #4, ne
	b.ne	LBB0_13
; %bb.6:
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.7:
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldrb	w9, [x9, x22]
	sxtb	w0, w9
	cmp	x8, x19
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_tolower
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_toupper
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
	strb	w0, [x8, x22]
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21]
	b	LBB0_8
LBB0_13:
	ldr	x0, [x20, #8]
LBB0_14:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_xmlrpc_case_lower,8,3          ; @xmlrpc_case_lower
	.comm	_xmlrpc_case_upper,8,3          ; @xmlrpc_case_upper
.subsections_via_symbols
