	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_base32_decode                  ## -- Begin function base32_decode
	.p2align	4, 0x90
_base32_decode:                         ## @base32_decode
	.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	%rdi, -96(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	(%rsi,%r12,4), %edi
	andl	$127, %edi
	callq	*%r14
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	andl	$127, %r13d
	movl	%r13d, %edi
	callq	*%r14
	movl	%eax, %r13d
	andl	$127, %r15d
	movl	%r15d, %edi
	callq	*%r14
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	andl	$127, %edi
	callq	*%r14
	movl	%eax, %r15d
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	andl	$127, %edi
	callq	*%r14
	movl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	andl	$127, %edi
	callq	*%r14
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	andl	$127, %edi
	callq	*%r14
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	andl	$127, %edi
	callq	*%r14
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	andl	$31, %edx
	movl	%r13d, %ecx
	shrl	$2, %ecx
	andl	$7, %ecx
	leal	(%rcx,%rdx,8), %edx
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%edx, (%rcx)
	shll	$6, %r13d
	movzbl	%r13b, %edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	andl	$31, %edi
	leal	(%rdx,%rdi,2), %edi
	movl	%r15d, %edx
	shrl	$4, %edx
	andl	$1, %edx
	orl	%edi, %edx
	movl	%edx, 4(%rcx)
	shll	$4, %r15d
	movzbl	%r15b, %edi
	movl	%ebx, %edx
	shrl	%edx
	andl	$15, %edx
	orl	%edi, %edx
	movl	%edx, 8(%rcx)
	shll	$7, %ebx
	movzbl	%bl, %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	andl	$31, %edi
	leal	(%rdx,%rdi,4), %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	shrl	$3, %edx
	andl	$3, %edx
	orl	%edi, %edx
	movl	%edx, 12(%rcx)
	shll	$5, %ebx
	movzbl	%bl, %edx
	andl	$31, %eax
	orl	%edx, %eax
	movl	%eax, 16(%rcx)
	addq	$8, %r12
	addq	$20, %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %r12
	jae	LBB0_18
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r12), %rax
	movl	$0, %r13d
	cmpq	%rdx, %rax
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rsi,%r12,4), %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	2(%r12), %rax
	xorl	%r8d, %r8d
	movl	$0, %r15d
	cmpq	%rdx, %rax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rsi,%r12,4), %r15d
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	3(%r12), %rax
	cmpq	%rdx, %rax
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%rsi,%r12,4), %r8d
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	4(%r12), %rax
	xorl	%r9d, %r9d
	movl	$0, %r10d
	cmpq	%rdx, %rax
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%rsi,%r12,4), %r10d
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	5(%r12), %rax
	cmpq	%rdx, %rax
	jae	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	20(%rsi,%r12,4), %r9d
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	6(%r12), %rax
	xorl	%ebx, %ebx
	movl	$0, %edi
	cmpq	%rdx, %rax
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%rsi,%r12,4), %edi
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%edi, -64(%rbp)                 ## 4-byte Spill
	movl	%r10d, -68(%rbp)                ## 4-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	7(%r12), %rax
	cmpq	%rdx, %rax
	jae	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	28(%rsi,%r12,4), %ebx
	jmp	LBB0_17
LBB0_18:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$61, (%rsi,%rax,4)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_19
## %bb.21:
	movq	%rdx, %rax
	jmp	LBB0_22
LBB0_1:
	xorl	%eax, %eax
LBB0_22:
	leaq	(%rax,%rax,4), %rax
	shrq	$3, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_base32_decode                  ; -- Begin function base32_decode
	.p2align	2
_base32_decode:                         ; @base32_decode
	.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
	cbz	x2, LBB0_27
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x22, x0
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	add	x23, x1, #16
	mov	w28, #7
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #12]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x23, #-16]
	and	w0, w8, #0x7f
	blr	x22
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	and	w0, w24, #0x7f
	blr	x22
	mov	x24, x0
	and	w0, w25, #0x7f
	blr	x22
	mov	x25, x0
	and	w0, w26, #0x7f
	blr	x22
	mov	x26, x0
	and	w0, w27, #0x7f
	blr	x22
	mov	x27, x0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	and	w0, w8, #0x7f
	blr	x22
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	and	w0, w20, #0x7f
	blr	x22
	mov	x20, x0
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	and	w0, w8, #0x7f
	blr	x22
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	ubfiz	w8, w8, #3, #5
	bfxil	w8, w24, #2, #3
	ubfiz	w9, w24, #6, #2
	bfi	w9, w25, #1, #5
	bfxil	w9, w26, #4, #1
	stp	w8, w9, [x21]
	ubfiz	w8, w26, #4, #4
	bfxil	w8, w27, #1, #4
	ubfiz	w9, w27, #7, #1
	and	w10, w0, #0x1f
	add	x11, x28, #1
	add	x28, x28, #8
	ldr	w12, [sp, #28]                  ; 4-byte Folded Reload
	bfi	w9, w12, #2, #5
	bfxil	w9, w20, #3, #2
	bfi	w10, w20, #5, #3
	stp	w8, w9, [x21, #8]
	str	w10, [x21, #16]
	add	x23, x23, #32
	add	x21, x21, #20
	cmp	x11, x19
	b.hs	LBB0_23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x28, #6
	cmp	x8, x19
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w24, [x23, #-12]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x28, #5
	cmp	x8, x19
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w25, [x23, #-8]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x28, #4
	cmp	x8, x19
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w26, [x23, #-4]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x28, #3
	cmp	x8, x19
	b.hs	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w27, [x23]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x28, #2
	cmp	x8, x19
	b.hs	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #4]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x28, #1
	cmp	x8, x19
	b.hs	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x23, #8]
	cmp	x28, x19
	b.lo	LBB0_2
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	cmp	x28, x19
	b.lo	LBB0_2
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [sp, #24]                  ; 4-byte Folded Spill
	b	LBB0_3
LBB0_23:
	mov	x8, #0
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10, x8, lsl #2]
	cmp	w9, #61
	b.eq	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x8, x8, #1
	cmp	x19, x8
	b.ne	LBB0_24
; %bb.26:
	mov	x8, x19
	b	LBB0_28
LBB0_27:
	mov	x8, #0
LBB0_28:
	add	x8, x8, x8, lsl #2
	lsr	x0, x8, #3
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
