	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_otherbasenumber
_rd_otherbasenumber:                    ## @rd_otherbasenumber
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$6, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_stack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_sp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movb	1(%rax), %al
	cmpb	$48, %al
	je	LBB0_11
## %bb.3:
	testb	%al, %al
	jne	LBB0_10
## %bb.4:
	testq	%r15, %r15
	jne	LBB0_5
## %bb.7:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_10:
	movzbl	%al, %edi
	callq	_isalnum
	testl	%eax, %eax
	je	LBB0_11
## %bb.14:
	movq	(%rbx), %rax
	movb	(%rax), %r14b
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movzbl	1(%rax), %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movzbl	%r14b, %edi
	callq	_tolower
	addb	$-96, %al
	movsbl	%al, %edx
	jmp	LBB0_17
LBB0_11:
	testq	%r15, %r15
	je	LBB0_12
LBB0_5:
	movl	$0, (%r15)
	jmp	LBB0_6
LBB0_12:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movl	$1, %edi
	callq	_printerr
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	addb	$-47, %r14b
	movsbl	%r14b, %edx
LBB0_17:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rd_number                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%5d (0x%04x): Starting to read basenumber (string=%s).\n"

	.comm	_stack,8,3                      ## @stack
	.comm	_sp,8,3                         ## @sp
	.comm	_addr,4,2                       ## @addr
L_.str.1:                               ## @.str.1
	.asciz	"unexpected end of line after `@'\n"

L_.str.2:                               ## @.str.2
	.asciz	"base must be between 1 and z\n"

	.no_dead_strip	_rd_otherbasenumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_otherbasenumber
_rd_otherbasenumber:                    ; @rd_otherbasenumber
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _verbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #6
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _stack@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stack@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _sp@GOTPAGE
Lloh10:
	ldr	x9, [x9, _sp@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
Lloh12:
	adrp	x8, _addr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _addr@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	ldr	x4, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
	ldrb	w0, [x8, #1]
	cmp	w0, #48
	b.eq	LBB0_10
; %bb.3:
	cbnz	w0, LBB0_7
; %bb.4:
	cbnz	x20, LBB0_11
; %bb.5:
	cbz	w21, LBB0_15
; %bb.6:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_7:
	bl	_isalnum
	cbz	w0, LBB0_10
; %bb.8:
	ldr	x8, [x19]
	ldrb	w20, [x8]
	add	x9, x8, #1
	str	x9, [x19]
	ldrb	w0, [x8, #1]
	bl	_isalpha
	cbz	x0, LBB0_16
; %bb.9:
	mov	x0, x20
	bl	_tolower
	sub	w8, w0, #96
	b	LBB0_17
LBB0_10:
	cbz	x20, LBB0_12
LBB0_11:
	str	wzr, [x20]
	b	LBB0_15
LBB0_12:
	cbz	w21, LBB0_15
; %bb.13:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
	mov	w0, #1
	bl	_printerr
LBB0_15:
	mov	w0, #0
	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
LBB0_16:
	sub	w8, w20, #47
LBB0_17:
	sxtb	w2, w8
	mov	x0, x19
	mov	x1, #0
	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
	b	_rd_number
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%5d (0x%04x): Starting to read basenumber (string=%s).\n"

	.comm	_stack,8,3                      ; @stack
	.comm	_sp,8,3                         ; @sp
	.comm	_addr,4,2                       ; @addr
l_.str.1:                               ; @.str.1
	.asciz	"unexpected end of line after `@'\n"

l_.str.2:                               ; @.str.2
	.asciz	"base must be between 1 and z\n"

	.no_dead_strip	_rd_otherbasenumber
.subsections_via_symbols
