	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_num                    ## -- Begin function convert_num
	.p2align	4, 0x90
_convert_num:                           ## @convert_num
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movb	(%rsi), %r14b
	xorl	%ebx, %ebx
	cmpb	$45, %r14b
	sete	%bl
	addq	%rsi, %rbx
	testl	%edx, %edx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	%edx, %r12d
	jmp	LBB0_8
LBB0_2:
	movl	$10, %r12d
	cmpb	$48, (%rbx)
	jne	LBB0_8
## %bb.3:
	movb	1(%rbx), %al
	cmpb	$120, %al
	jne	LBB0_5
## %bb.4:
	addq	$2, %rbx
	movl	$16, %r12d
	jmp	LBB0_8
LBB0_5:
	movsbl	%al, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	1(%rbx), %r15
	movsbl	(%r15), %edi
	callq	_isdigit
	movl	$8, %r12d
	testq	%rax, %rax
	jne	LBB0_9
LBB0_7:
	movl	$10, %r12d
LBB0_8:
	movq	%rbx, %r15
LBB0_9:
	movb	(%r15), %al
	incq	%r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	$-87, %ecx
	cmpb	$96, %al
	ja	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$-55, %ecx
	cmpb	$64, %al
	ja	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$-48, %ecx
	cmpb	$47, %al
	jbe	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movsbl	%al, %edx
	addl	%ecx, %edx
	cmpl	%r12d, %edx
	jae	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	imull	%r12d, %ebx
	addl	%edx, %ebx
	movzbl	(%r15), %eax
	incq	%r15
	testb	%al, %al
	jne	LBB0_10
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_warning
LBB0_17:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leal	-1(%r15), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	movl	$2, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	decl	%eax
	cmpb	$45, %r14b
	cmovel	%edx, %eax
	cmpl	%eax, %ebx
	jbe	LBB0_19
## %bb.18:
	cmpl	$16, %r12d
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rcx, %rdx
	cmpl	$8, %r12d
	leaq	L_.str.2(%rip), %rdi
	cmovneq	%rdx, %rdi
	cmpb	$45, %r14b
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rcx, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_warning
LBB0_19:
	cmpb	$45, %r14b
	jne	LBB0_26
## %bb.20:
	cmpl	$32, %r15d
	je	LBB0_25
## %bb.21:
	cmpl	$16, %r15d
	je	LBB0_24
## %bb.22:
	cmpl	$8, %r15d
	jne	LBB0_32
## %bb.23:
	negb	%bl
	jmp	LBB0_29
LBB0_26:
	cmpl	$32, %r15d
	je	LBB0_31
## %bb.27:
	cmpl	$16, %r15d
	je	LBB0_30
## %bb.28:
	cmpl	$8, %r15d
	jne	LBB0_32
LBB0_29:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	%bl, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	leaq	L_.str.7(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
LBB0_25:
	movl	%ebx, %esi
	negq	%rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putLong                        ## TAILCALL
LBB0_24:
	movl	%ebx, %esi
	negq	%rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putShort                       ## TAILCALL
LBB0_31:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putULong                       ## TAILCALL
LBB0_30:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putUShort                      ## TAILCALL
LBB0_13:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bogus number: %s."

L_.str.1:                               ## @.str.1
	.asciz	"Bogus number: %s: digit %d not in base %d"

L_.str.2:                               ## @.str.2
	.asciz	"value %s%o exceeds max (%d) for precision."

L_.str.3:                               ## @.str.3
	.asciz	"-"

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"value %s%x exceeds max (%d) for precision."

L_.str.6:                               ## @.str.6
	.asciz	"value %s%u exceeds max (%d) for precision."

L_.str.7:                               ## @.str.7
	.asciz	"Unexpected integer size: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_num                    ; -- Begin function convert_num
	.p2align	2
_convert_num:                           ; @convert_num
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x3
	mov	x23, x1
	mov	x19, x0
	mov	x8, x1
	ldrb	w24, [x8], #1
	cmp	w24, #45
	csel	x25, x1, x8, ne
	cbz	w2, LBB0_2
; %bb.1:
	mov	x22, x2
	b	LBB0_9
LBB0_2:
	ldrb	w8, [x25]
	cmp	w8, #48
	b.ne	LBB0_8
; %bb.3:
	mov	x21, x25
	ldrb	w8, [x21, #1]!
	cmp	w8, #120
	b.ne	LBB0_5
; %bb.4:
	add	x25, x25, #2
	mov	w22, #16
	b	LBB0_9
LBB0_5:
	sxtb	w0, w8
	bl	_isascii
	cbz	x0, LBB0_8
; %bb.6:
	ldrsb	w0, [x21]
	bl	_isdigit
	cbz	x0, LBB0_8
; %bb.7:
	mov	w22, #8
	mov	x25, x21
	b	LBB0_9
LBB0_8:
	mov	w22, #10
LBB0_9:
	mov	w21, #0
	ldrb	w9, [x25], #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w8, w9
	and	w9, w9, #0xff
	cmp	w9, #96
	b.ls	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w9, #-87
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w8, #64
	b.ls	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w9, #-55
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w8, #47
	b.ls	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w9, #-48
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	add	w8, w9, w8
	cmp	w8, w22
	b.hs	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	madd	w21, w21, w22, w8
	ldrb	w9, [x25], #1
	cbnz	w9, LBB0_10
	b	LBB0_21
LBB0_18:
	stp	x8, x22, [sp, #8]
	str	x23, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_19:
	str	x23, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_20:
	bl	_warning
LBB0_21:
	sub	w8, w20, #1
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #2
	lsl	w8, w10, w8
	sub	w8, w8, #1
	cmp	w24, #45
	csel	w8, w9, w8, eq
	cmp	w21, w8
	b.ls	LBB0_23
; %bb.22:
Lloh4:
	adrp	x9, l_.str.6@PAGE
Lloh5:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh6:
	adrp	x10, l_.str.5@PAGE
Lloh7:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	w22, #16
	csel	x9, x10, x9, eq
Lloh8:
	adrp	x10, l_.str.2@PAGE
Lloh9:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w22, #8
	csel	x0, x10, x9, eq
Lloh10:
	adrp	x9, l_.str.4@PAGE
Lloh11:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh12:
	adrp	x10, l_.str.3@PAGE
Lloh13:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w24, #45
	csel	x9, x10, x9, eq
	stp	x21, x8, [sp, #8]
	str	x9, [sp]
	bl	_warning
LBB0_23:
	cmp	w24, #45
	b.ne	LBB0_28
; %bb.24:
	cmp	w20, #32
	b.eq	LBB0_32
; %bb.25:
	cmp	w20, #16
	b.eq	LBB0_33
; %bb.26:
	cmp	w20, #8
	b.ne	LBB0_37
; %bb.27:
	neg	w8, w21
	strb	w8, [x19]
	b	LBB0_38
LBB0_28:
	cmp	w20, #32
	b.eq	LBB0_34
; %bb.29:
	cmp	w20, #16
	b.eq	LBB0_35
; %bb.30:
	cmp	w20, #8
	b.ne	LBB0_36
; %bb.31:
	strb	w21, [x19]
	b	LBB0_38
LBB0_32:
	mov	x8, #0
	sub	x1, x8, w21, uxtw
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_putLong
LBB0_33:
	mov	x8, #0
	sub	x1, x8, w21, uxtw
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_putShort
LBB0_34:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_putULong
LBB0_35:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_putUShort
LBB0_36:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_37:
	str	x20, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warning
LBB0_38:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bogus number: %s."

l_.str.1:                               ; @.str.1
	.asciz	"Bogus number: %s: digit %d not in base %d"

l_.str.2:                               ; @.str.2
	.asciz	"value %s%o exceeds max (%d) for precision."

l_.str.3:                               ; @.str.3
	.asciz	"-"

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"value %s%x exceeds max (%d) for precision."

l_.str.6:                               ; @.str.6
	.asciz	"value %s%u exceeds max (%d) for precision."

l_.str.7:                               ; @.str.7
	.asciz	"Unexpected integer size: %d"

.subsections_via_symbols
