	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_base64_encode_xmlrpc           ## -- Begin function base64_encode_xmlrpc
	.p2align	4, 0x90
_base64_encode_xmlrpc:                  ## @base64_encode_xmlrpc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_buffer_new
	xorl	%eax, %eax
	movq	_dtable@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rcx
	leal	65(%rax), %edx
	movb	%dl, (%rcx,%rax)
	movq	(%rsi), %rcx
	leal	97(%rax), %edx
	movb	%dl, 26(%rcx,%rax)
	movq	(%rsi), %rcx
	leal	66(%rax), %edx
	movb	%dl, 1(%rcx,%rax)
	movq	(%rsi), %rcx
	leal	98(%rax), %edx
	movb	%dl, 27(%rcx,%rax)
	addq	$2, %rax
	cmpq	$26, %rax
	jne	LBB0_1
## %bb.2:
	movq	(%rsi), %rax
	movabsq	$3978425819141910832, %rcx      ## imm = 0x3736353433323130
	movq	%rcx, 52(%rax)
	movl	$791361848, 60(%rax)            ## imm = 0x2F2B3938
	xorl	%r13d, %r13d
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	movq	_dtable@GOTPCREL(%rip), %rsi
	je	LBB0_20
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, %r13d
	jge	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	js	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%r13), %eax
	leaq	2(%rbx), %rdi
	leal	2(%r13), %ecx
	cmpl	%r14d, %eax
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	$3, %r13d
	movzbl	1(%rbx), %eax
	leaq	3(%rbx), %rdx
	cmpl	%r14d, %ecx
	jge	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rdi), %edi
	movb	$1, %cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%r8d, %r8d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r9d, %r9d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movb	$1, %r9b
	xorl	%eax, %eax
	xorl	%edi, %edi
	movl	%ecx, %r13d
	xorl	%r8d, %r8d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movb	$1, %r8b
	xorl	%edi, %edi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movb	$1, %r9b
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rbx), %ecx
	movq	(%rsi), %rbx
	movq	%rcx, %rsi
	shrq	$2, %rsi
	movsbl	(%rbx,%rsi), %esi
	movl	%eax, %edx
	shrb	$4, %dl
	shlb	$4, %cl
	orb	%dl, %cl
	andb	$63, %cl
	movzbl	%cl, %ecx
	movzbl	(%rbx,%rcx), %r12d
	movzbl	%dil, %ecx
	shrb	$6, %dil
	shlb	$2, %al
	orb	%dil, %al
	andb	$63, %al
	movzbl	%al, %eax
	andl	$63, %ecx
	testb	%r8b, %r8b
	movzbl	(%rbx,%rax), %eax
	movl	$61, %r14d
	cmovnel	%eax, %r14d
	movzbl	(%rbx,%rcx), %ebx
	testb	%r9b, %r9b
	movl	$61, %ecx
	cmovnel	%ecx, %ebx
	cmovel	%eax, %r14d
	movq	%r15, %rdi
	callq	_buffer_add
	imull	$954437177, (%r15), %eax        ## imm = 0x38E38E39
	addl	$238609288, %eax                ## imm = 0xE38E388
	rorl	$3, %eax
	cmpl	$59652322, %eax                 ## imm = 0x38E38E2
	ja	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_buffer_add
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%r12b, %esi
	movq	%r15, %rdi
	callq	_buffer_add
	imull	$954437177, (%r15), %eax        ## imm = 0x38E38E39
	addl	$238609288, %eax                ## imm = 0xE38E388
	rorl	$3, %eax
	cmpl	$59652322, %eax                 ## imm = 0x38E38E2
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_buffer_add
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%r14b, %esi
	movq	%r15, %rdi
	callq	_buffer_add
	imull	$954437177, (%r15), %eax        ## imm = 0x38E38E39
	addl	$238609288, %eax                ## imm = 0xE38E388
	rorl	$3, %eax
	cmpl	$59652322, %eax                 ## imm = 0x38E38E2
	ja	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_buffer_add
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%bl, %esi
	movq	%r15, %rdi
	callq	_buffer_add
	imull	$954437177, (%r15), %eax        ## imm = 0x38E38E39
	addl	$238609288, %eax                ## imm = 0xE38E388
	rorl	$3, %eax
	cmpl	$59652322, %eax                 ## imm = 0x38E38E2
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	ja	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_buffer_add
	jmp	LBB0_3
LBB0_20:
	movq	%r15, %rdi
	movl	$10, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_buffer_add                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dtable,8,3                     ## @dtable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function base64_encode_xmlrpc
lCPI0_0:
	.byte	48                              ; 0x30
	.byte	49                              ; 0x31
	.byte	50                              ; 0x32
	.byte	51                              ; 0x33
	.byte	52                              ; 0x34
	.byte	53                              ; 0x35
	.byte	54                              ; 0x36
	.byte	55                              ; 0x37
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_base64_encode_xmlrpc
	.p2align	2
_base64_encode_xmlrpc:                  ; @base64_encode_xmlrpc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_buffer_new
	mov	x8, #0
Lloh0:
	adrp	x15, _dtable@GOTPAGE
Lloh1:
	ldr	x15, [x15, _dtable@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w8, #65
	ldr	x10, [x15]
	strb	w9, [x10, x8]
	add	w9, w8, #97
	ldr	x10, [x15]
	add	x10, x10, x8
	strb	w9, [x10, #26]
	add	x8, x8, #1
	cmp	x8, #26
	b.ne	LBB0_1
; %bb.2:
	mov	w24, #0
	ldr	x8, [x15]
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	mov	w9, #14648
	movk	w9, #12075, lsl #16
	stur	d0, [x8, #52]
	str	w9, [x8, #60]
	str	w20, [sp, #8]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x15, x28
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	tbz	w8, #0, LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w24, w20
	b.ge	LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w24, #31, LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w24, #1
	mov	x13, x21
	ldrb	w8, [x13], #2
	add	w14, w24, #2
	cmp	w9, w20
	b.ge	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #3
	ldrb	w9, [x21, #1]
	add	x21, x21, #3
	cmp	w14, w20
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #0
	mov	w12, #0
	ldrb	w10, [x13]
	mov	w13, #1
	str	w13, [sp, #12]                  ; 4-byte Folded Spill
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	mov	w10, #0
	mov	w11, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	mov	w12, #1
	mov	x21, x13
	mov	x24, x14
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	mov	w11, #1
	mov	w12, #1
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x15
	ldr	x13, [x15]
	lsr	x14, x8, #2
	ldrsb	w1, [x13, x14]
	lsr	w14, w9, #4
	bfi	w14, w8, #4, #2
	ldrb	w26, [x13, w14, uxtw]
	lsr	w8, w10, #6
	bfi	w8, w9, #2, #4
	ldrb	w8, [x13, w8, uxtw]
	and	x9, x10, #0x3f
	ldrb	w9, [x13, x9]
	cmp	w11, #0
	mov	w11, #61
	csel	w10, w8, w11, ne
	cmp	w12, #0
	csel	w23, w11, w9, ne
	csel	w25, w10, w8, ne
	mov	x0, x19
	bl	_buffer_add
	ldr	w8, [x19]
	mov	w27, #36409
	movk	w27, #14563, lsl #16
	mov	w20, #58248
	movk	w20, #3640, lsl #16
	madd	w8, w8, w27, w20
	ror	w8, w8, #3
	mov	w22, #14562
	movk	w22, #910, lsl #16
	cmp	w8, w22
	b.hi	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #10
	bl	_buffer_add
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w1, w26
	mov	x0, x19
	bl	_buffer_add
	ldr	w8, [x19]
	madd	w8, w8, w27, w20
	ror	w8, w8, #3
	cmp	w8, w22
	mov	w26, #36409
	movk	w26, #14563, lsl #16
	mov	w27, #58248
	movk	w27, #3640, lsl #16
	b.hi	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #10
	bl	_buffer_add
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w1, w25
	mov	x0, x19
	bl	_buffer_add
	ldr	w8, [x19]
	madd	w8, w8, w26, w27
	ror	w8, w8, #3
	cmp	w8, w22
	ldr	w20, [sp, #8]                   ; 4-byte Folded Reload
	mov	w22, #14562
	movk	w22, #910, lsl #16
	b.hi	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #10
	bl	_buffer_add
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w1, w23
	mov	x0, x19
	bl	_buffer_add
	ldr	w8, [x19]
	madd	w8, w8, w26, w27
	ror	w8, w8, #3
	cmp	w8, w22
	b.hi	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #10
	bl	_buffer_add
	b	LBB0_3
LBB0_19:
	mov	x0, x19
	mov	w1, #10
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_buffer_add
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_dtable,8,3                     ; @dtable
.subsections_via_symbols
