	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function base32_encode
LCPI0_0:
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
LCPI0_1:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_3:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_4:
	.quad	0x4020000000000000              ## double 8
LCPI0_5:
	.quad	0x4014000000000000              ## double 5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_base32_encode
	.p2align	4, 0x90
_base32_encode:                         ## @base32_encode
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.1:
	movl	$2, %r13d
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%rsi,%r13,4), %edx
	movl	%edx, %edi
	shrl	$3, %edi
	andl	$31, %edi
	andl	$7, %edx
	movl	%eax, %ebx
	shrl	$6, %ebx
	andl	$3, %ebx
	leal	(%rbx,%rdx,4), %edx
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movl	%eax, %r15d
	shrl	%r15d
	andl	$31, %r15d
	shll	$4, %eax
	andl	$16, %eax
	movl	%r8d, %r12d
	shrl	$4, %r12d
	andl	$15, %r12d
	orl	%eax, %r12d
	andl	$15, %r8d
	movl	%ecx, %edx
	shrl	$7, %edx
	andl	$1, %edx
	leal	(%rdx,%r8,2), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	shrl	$2, %r14d
	andl	$31, %r14d
	andl	$3, %ecx
	movl	%r9d, %eax
	shrl	$5, %eax
	andl	$7, %eax
	leal	(%rax,%rcx,8), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	andl	$31, %r9d
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	callq	*%rbx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	callq	*%rbx
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	*%rbx
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	*%rbx
	movd	-44(%rbp), %xmm1                ## 4-byte Folded Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, -80(%rbp), %xmm1            ## 4-byte Folded Reload
	pinsrd	$2, %r15d, %xmm1
	pinsrd	$3, %eax, %xmm1
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [127,127,127,127]
	pand	%xmm0, %xmm1
	movdqa	%xmm1, -80(%rbp)                ## 16-byte Spill
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	*%rbx
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	*%rbx
	movl	%eax, %r14d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	*%rbx
	movl	%eax, %r12d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	*%rbx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	movups	%xmm0, (%rcx)
	movd	%r15d, %xmm0
	pinsrd	$1, %r14d, %xmm0
	pinsrd	$2, %r12d, %xmm0
	pinsrd	$3, %eax, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 16(%rcx)
	leaq	5(%r13), %rax
	addq	$3, %r13
	addq	$32, %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	cmpq	%rdx, %r13
	movq	%rax, %r13
	jae	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	-1(%r13), %rcx
	xorl	%r8d, %r8d
	movl	$0, %eax
	cmpq	%rdx, %rcx
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rsi,%r13,4), %eax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, %r13
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rsi,%r13,4), %r8d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r13), %rdi
	xorl	%r9d, %r9d
	movl	$0, %ecx
	cmpq	%rdx, %rdi
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rsi,%r13,4), %ecx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	2(%r13), %rdi
	cmpq	%rdx, %rdi
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rsi,%r13,4), %r9d
	jmp	LBB0_10
LBB0_11:
	movq	%rdx, %xmm0
	punpckldq	LCPI0_1(%rip), %xmm0    ## xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
	subpd	LCPI0_2(%rip), %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	addsd	%xmm0, %xmm1
	addsd	LCPI0_3(%rip), %xmm1
	mulsd	LCPI0_4(%rip), %xmm1
	divsd	LCPI0_5(%rip), %xmm1
	cvttsd2si	%xmm1, %edx
	testb	$7, %dl
	je	LBB0_19
## %bb.12:
	movslq	%edx, %rbx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rdi
	shll	$2, %edx
	notl	%edx
	andl	$28, %edx
	addl	$4, %edx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
	leaq	1(%rbx), %rdx
	testb	$7, %dl
	je	LBB0_19
## %bb.13:
	leaq	2(%rbx), %rdx
	testb	$7, %dl
	je	LBB0_19
## %bb.14:
	leaq	3(%rbx), %rdx
	testb	$7, %dl
	je	LBB0_19
## %bb.15:
	leaq	4(%rbx), %rdx
	testb	$7, %dl
	je	LBB0_19
## %bb.16:
	leaq	5(%rbx), %rdx
	testb	$7, %dl
	je	LBB0_19
## %bb.17:
	leaq	6(%rbx), %rdx
	testb	$7, %dl
	je	LBB0_19
## %bb.18:
	leaq	7(%rbx), %rax
	addq	$8, %rbx
	testb	$7, %al
	cmoveq	%rax, %rbx
	movq	%rbx, %rdx
LBB0_19:
	movslq	%edx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	61                              ## 0x3d
	.long	61                              ## 0x3d
	.long	61                              ## 0x3d
	.long	61                              ## 0x3d

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_base32_encode                  ; -- Begin function base32_encode
	.p2align	2
_base32_encode:                         ; @base32_encode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x2, LBB0_15
; %bb.1:
	mov	x21, x0
	mov	x19, #0
	add	x22, x1, #8
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w23, [x22, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w24, [x22, #-8]
	ubfx	w0, w24, #3, #5
	blr	x21
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	ubfiz	w0, w24, #2, #3
	bfxil	w0, w25, #6, #2
	blr	x21
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	ubfx	w0, w25, #1, #5
	blr	x21
	mov	x24, x0
	ubfiz	w0, w25, #4, #1
	bfxil	w0, w26, #4, #4
	blr	x21
	mov	x25, x0
	ubfiz	w0, w26, #1, #4
	bfxil	w0, w28, #7, #1
	blr	x21
	mov	x26, x0
	ubfx	w0, w28, #2, #5
	blr	x21
	mov	x27, x0
	ubfiz	w0, w28, #3, #2
	bfxil	w0, w23, #5, #3
	blr	x21
	mov	x28, x0
	and	w0, w23, #0x1f
	blr	x21
	ldp	w9, w8, [sp, #24]               ; 8-byte Folded Reload
	and	w8, w8, #0x7f
	and	w9, w9, #0x7f
	stp	w8, w9, [x20]
	and	w8, w24, #0x7f
	and	w9, w25, #0x7f
	stp	w8, w9, [x20, #8]
	and	w8, w26, #0x7f
	and	w9, w27, #0x7f
	and	w10, w28, #0x7f
	stp	w8, w9, [x20, #16]
	and	w8, w0, #0x7f
	add	x19, x19, #5
	add	x22, x22, #20
	stp	w10, w8, [x20, #24]
	add	x20, x20, #32
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x19, x2
	b.hs	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x19, #1
	cmp	x8, x2
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w25, [x22, #-4]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x19, #2
	cmp	x8, x2
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w26, [x22]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x19, #3
	cmp	x8, x2
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w28, [x22, #4]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x19, #4
	cmp	x8, x2
	b.lo	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	b	LBB0_3
LBB0_15:
	ucvtf	d0, x2
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fmov	d1, #8.00000000
	fmul	d0, d0, d1
	fmov	d1, #5.00000000
	fdiv	d0, d0, d1
	fcvtzs	w19, d0
	ands	w8, w19, #0x7
	b.eq	LBB0_17
; %bb.16:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x0, x9, w19, sxtw #2
	eor	w20, w8, #0x7
	lsl	w8, w20, #2
	add	w2, w8, #4
Lloh0:
	adrp	x1, l_.memset_pattern@PAGE
Lloh1:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
	add	w8, w20, w19
	add	w19, w8, #1
LBB0_17:
	sxtw	x0, w19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	61                              ; 0x3d
	.long	61                              ; 0x3d
	.long	61                              ; 0x3d
	.long	61                              ; 0x3d

.subsections_via_symbols
