	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pbnumbase                      ## -- Begin function pbnumbase
	.p2align	4, 0x90
_pbnumbase:                             ## @pbnumbase
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movl	%edi, %ebx
	cmpl	$36, %esi
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	cmpl	$1, %r15d
	jg	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movl	$1, %edi
	movl	%r15d, %edx
	callq	_m4errx
LBB0_5:
	movl	%ebx, %r13d
	negl	%r13d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	cmovsl	%ebx, %r13d
	movl	$1, %ebx
	leaq	_pbnumbase.digits(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	cltd
	idivl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	movsbl	(%rdx,%r14), %edi
	movl	%eax, %r13d
	callq	_pushback
	incl	%ebx
	testl	%r13d, %r13d
	jg	LBB0_6
## %bb.7:
	leal	-1(%rbx), %eax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	cmovsl	%ebx, %eax
	cmpl	%r12d, %eax
	jge	LBB0_10
## %bb.8:
	subl	%eax, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	$48, %edi
	callq	_pushback
	decl	%r12d
	jne	LBB0_9
LBB0_10:
	testl	%r14d, %r14d
	js	LBB0_12
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$45, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pushback                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @pbnumbase.digits
_pbnumbase.digits:
	.ascii	"0123456789abcdefghijklmnopqrstuvwxyz"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"base %d > 36: not supported."

L_.str.1:                               ## @.str.1
	.asciz	"bad base %d for conversion."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pbnumbase                      ; -- Begin function pbnumbase
	.p2align	2
_pbnumbase:                             ; @pbnumbase
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	w1, #36
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	cmp	w21, #1
	b.gt	LBB0_5
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	w0, #1
	mov	x2, x21
	bl	_m4errx
LBB0_5:
	cmp	w19, #0
	cneg	w8, w19, mi
	mov	w22, #1
Lloh4:
	adrp	x23, _pbnumbase.digits@PAGE
Lloh5:
	add	x23, x23, _pbnumbase.digits@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w24, w8, w21
	msub	w8, w24, w21, w8
	ldrsb	w0, [x23, w8, uxtw]
	bl	_pushback
	add	w22, w22, #1
	mov	x8, x24
	cmp	w24, #0
	b.gt	LBB0_6
; %bb.7:
	sub	w8, w22, #1
	cmp	w19, #0
	csel	w8, w22, w8, lt
	cmp	w8, w20
	b.ge	LBB0_10
; %bb.8:
	sub	w20, w20, w8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #48
	bl	_pushback
	subs	w20, w20, #1
	b.ne	LBB0_9
LBB0_10:
	tbnz	w19, #31, LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #45
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pushback
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_pbnumbase.digits:                      ; @pbnumbase.digits
	.ascii	"0123456789abcdefghijklmnopqrstuvwxyz"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"base %d > 36: not supported."

l_.str.1:                               ; @.str.1
	.asciz	"bad base %d for conversion."

.subsections_via_symbols
