	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function base32_decode_char
_base32_decode_char:                    ## @base32_decode_char
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 40(%rdi)
	je	LBB0_3
LBB0_1:
	movq	_ISC_R_BADBASE32@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	subl	%ebx, %eax
	leal	-33(%rax), %ecx
	cmpl	$33, %eax
	cmovbl	%eax, %ecx
	movq	8(%r15), %r14
	cmpl	$32, %ecx
	jne	LBB0_10
## %bb.5:
	xorl	%ecx, %ecx
	testq	%r14, %r14
	jne	LBB0_12
## %bb.6:
	movl	16(%r15), %eax
	xorl	%ecx, %ecx
	cmpq	$7, %rax
	ja	LBB0_11
## %bb.7:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_8:
	movq	24(%r15), %rax
	testb	$3, 4(%rax)
	jne	LBB0_1
## %bb.9:
	movl	$1, %r14d
	jmp	LBB0_27
LBB0_10:
	testq	%r14, %r14
	jne	LBB0_1
LBB0_11:
	xorl	%r14d, %r14d
LBB0_12:
	movq	24(%r15), %rax
	movslq	16(%r15), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 16(%r15)
	movl	%ecx, (%rax,%rdx,4)
	cmpl	$8, 16(%r15)
	jne	LBB0_20
## %bb.13:
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movq	_ISC_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 40(%r15)
	jmp	LBB0_16
LBB0_15:
	movl	$5, %r14d
LBB0_16:
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	shll	$3, %ecx
	movl	%edx, %esi
	shrl	$2, %esi
	orl	%ecx, %esi
	movb	%sil, -29(%rbp)
	shll	$6, %edx
	movl	8(%rax), %ecx
	movl	12(%rax), %esi
	addl	%ecx, %ecx
	orl	%edx, %ecx
	movl	%esi, %edx
	shrl	$4, %edx
	orl	%ecx, %edx
	movb	%dl, -28(%rbp)
	shll	$4, %esi
	movl	16(%rax), %ecx
	movl	%ecx, %edx
	shrl	%edx
	orl	%esi, %edx
	movb	%dl, -27(%rbp)
	shll	$7, %ecx
	movl	20(%rax), %edx
	movl	24(%rax), %esi
	shll	$2, %edx
	orl	%ecx, %edx
	movl	%esi, %ecx
	shrl	$3, %ecx
	orl	%edx, %ecx
	movb	%cl, -26(%rbp)
	shll	$5, %esi
	orl	28(%rax), %esi
	movb	%sil, -25(%rbp)
	movl	36(%r15), %edi
	leaq	-29(%rbp), %rsi
	movl	%r14d, %edx
	callq	_mem_tobuffer
	movl	%eax, %edi
	callq	_RETERR
	movl	32(%r15), %eax
	testl	%eax, %eax
	js	LBB0_19
## %bb.17:
	subl	%r14d, %eax
	jl	LBB0_1
## %bb.18:
	movl	%eax, 32(%r15)
LBB0_19:
	movl	$0, 16(%r15)
LBB0_20:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_22:
	movq	24(%r15), %rax
	testb	$15, 12(%rax)
	jne	LBB0_1
## %bb.23:
	movl	$3, %r14d
	jmp	LBB0_27
LBB0_24:
	movq	24(%r15), %rax
	movl	$3, %r14d
	testb	$1, 16(%rax)
	jne	LBB0_1
	jmp	LBB0_27
LBB0_25:
	movq	24(%r15), %rax
	testb	$7, 24(%rax)
	jne	LBB0_1
## %bb.26:
	movl	$4, %r14d
LBB0_27:
	movq	%r14, 8(%r15)
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_8
	.long	L0_0_set_1
	.long	L0_0_set_22
	.long	L0_0_set_24
	.long	L0_0_set_1
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_ISC_R_BADBASE32,4,2            ## @ISC_R_BADBASE32
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
	.no_dead_strip	_base32_decode_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function base32_decode_char
_base32_decode_char:                    ; @base32_decode_char
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _ISC_R_BADBASE32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_R_BADBASE32@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_strchr
	cbz	x0, LBB0_1
; %bb.4:
	sub	w8, w0, w20
	sub	w9, w8, #33
	cmp	w8, #32
	csel	w9, w9, w8, hi
	ldr	x20, [x19, #8]
	cmp	w9, #32
	b.ne	LBB0_7
; %bb.5:
	cbz	x20, LBB0_11
; %bb.6:
	mov	w9, #0
	b	LBB0_8
LBB0_7:
	cbnz	x20, LBB0_1
LBB0_8:
	ldr	x8, [x19, #24]
	ldrsw	x10, [x19, #16]
	add	w11, w10, #1
	str	w11, [x19, #16]
	str	w9, [x8, x10, lsl #2]
	ldr	w9, [x19, #16]
	cmp	w9, #8
	b.ne	LBB0_20
; %bb.9:
	cbz	x20, LBB0_15
; %bb.10:
Lloh2:
	adrp	x9, _ISC_TRUE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ISC_TRUE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	x9, [x19, #40]
	b	LBB0_16
LBB0_11:
	ldr	w8, [x19, #16]
	cmp	w8, #7
	b.hi	LBB0_21
; %bb.12:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_1
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
	ldr	x8, [x19, #24]
	ldrb	w8, [x8, #4]
	tst	w8, #0x3
	b.ne	LBB0_1
; %bb.14:
	mov	w20, #1
	b	LBB0_27
LBB0_15:
	mov	w20, #5
LBB0_16:
	ldp	w9, w10, [x8]
	lsr	w11, w10, #2
	orr	w9, w11, w9, lsl #3
	strb	w9, [sp, #11]
	ldp	w9, w11, [x8, #8]
	lsl	w9, w9, #1
	orr	w9, w9, w10, lsl #6
	orr	w9, w9, w11, lsr #4
	strb	w9, [sp, #12]
	ldp	w9, w10, [x8, #16]
	lsr	w12, w9, #1
	orr	w11, w12, w11, lsl #4
	strb	w11, [sp, #13]
	lsl	w10, w10, #2
	orr	w9, w10, w9, lsl #7
	ldp	w10, w8, [x8, #24]
	orr	w9, w9, w10, lsr #3
	strb	w9, [sp, #14]
	orr	w8, w8, w10, lsl #5
	strb	w8, [sp, #15]
	ldr	w0, [x19, #36]
	add	x1, sp, #11
	mov	x2, x20
	bl	_mem_tobuffer
	bl	_RETERR
	ldr	w8, [x19, #32]
	tbnz	w8, #31, LBB0_19
; %bb.17:
	subs	w8, w8, w20
	b.lt	LBB0_1
; %bb.18:
	str	w8, [x19, #32]
LBB0_19:
	str	wzr, [x19, #16]
LBB0_20:
Lloh7:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
	b	LBB0_2
LBB0_21:
	mov	x20, #0
	mov	w9, #0
	b	LBB0_8
LBB0_22:
	ldr	x8, [x19, #24]
	ldrb	w8, [x8, #12]
	tst	w8, #0xf
	b.ne	LBB0_1
	b	LBB0_24
LBB0_23:
	ldr	x8, [x19, #24]
	ldrb	w8, [x8, #16]
	tbnz	w8, #0, LBB0_1
LBB0_24:
	mov	w20, #3
	b	LBB0_27
LBB0_25:
	ldr	x8, [x19, #24]
	ldrb	w8, [x8, #24]
	tst	w8, #0x7
	b.ne	LBB0_1
; %bb.26:
	mov	w20, #4
LBB0_27:
	mov	w9, #0
	str	x20, [x19, #8]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_22-LBB0_1)>>2
	.byte	(LBB0_23-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_25-LBB0_1)>>2
                                        ; -- End function
	.comm	_ISC_R_BADBASE32,4,2            ; @ISC_R_BADBASE32
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
	.no_dead_strip	_base32_decode_char
.subsections_via_symbols
