	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getn                           ## -- Begin function getn
	.p2align	4, 0x90
_getn:                                  ## @getn
	.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
	movq	%rdi, %r14
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_BADNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
LBB0_2:
	movb	(%r14), %bl
	cmpb	$43, %bl
	jne	LBB0_4
## %bb.3:
	leaq	1(%r14), %rax
	xorl	%ecx, %ecx
	cmpb	$0, 1(%r14)
	setne	%cl
	cmoveq	%r14, %rax
	movb	(%r14,%rcx), %bl
	movq	%rax, %r14
LBB0_4:
	cmpb	$45, %bl
	jne	LBB0_7
## %bb.5:
	movsbl	1(%r14), %edi
	incq	%r14
	callq	_Isdigit
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	cmpb	$48, (%r14)
	jne	LBB0_11
LBB0_8:
	cmpb	$0, 1(%r14)
	je	LBB0_11
## %bb.9:
	movq	_STRparseoctal@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_is_set
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	$8, %r12d
	movb	$1, %r13b
	jmp	LBB0_12
LBB0_6:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_BADNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
	cmpb	$48, (%r14)
	je	LBB0_8
LBB0_11:
	movl	$10, %r12d
	xorl	%r13d, %r13d
LBB0_12:
	movsbl	(%r14), %edi
	callq	_Isdigit
	testq	%rax, %rax
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	je	LBB0_13
## %bb.14:
	xorl	%ebx, %ebx
	movq	%r14, %r15
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	imull	%r12d, %ebx
	leaq	1(%r15), %r14
	movsbl	(%r15), %eax
	addl	%eax, %ebx
	addl	$-48, %ebx
	movsbl	1(%r15), %edi
	callq	_Isdigit
	movq	%r14, %r15
	testq	%rax, %rax
	je	LBB0_19
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	testb	%r13b, %r13b
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpb	$56, (%r15)
	jl	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_ERR_BADNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_stderror
	jmp	LBB0_18
LBB0_13:
	xorl	%ebx, %ebx
LBB0_19:
	cmpb	$0, (%r14)
	je	LBB0_21
## %bb.20:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_BADNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
LBB0_21:
	movl	%ebx, %eax
	negl	%eax
	cmpb	$45, -41(%rbp)                  ## 1-byte Folded Reload
	cmovnel	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_BADNUM,4,2                 ## @ERR_BADNUM
	.comm	_STRparseoctal,4,2              ## @STRparseoctal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getn                           ; -- Begin function getn
	.p2align	2
_getn:                                  ; @getn
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x20, _ERR_NAME@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ERR_NAME@GOTPAGEOFF]
Lloh2:
	adrp	x21, _ERR_BADNUM@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ERR_BADNUM@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_stderror
LBB0_2:
	ldrb	w22, [x19]
	cmp	w22, #43
	b.ne	LBB0_4
; %bb.3:
	mov	x8, x19
	ldrb	w9, [x8, #1]!
	cmp	w9, #0
	csel	x19, x19, x8, eq
	ldrb	w22, [x19]
LBB0_4:
	cmp	w22, #45
	b.ne	LBB0_7
; %bb.5:
	ldrsb	w0, [x19, #1]!
	bl	_Isdigit
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_stderror
LBB0_7:
	ldrb	w8, [x19]
	cmp	w8, #48
	b.ne	LBB0_11
; %bb.8:
	ldrb	w8, [x19, #1]
	cbz	w8, LBB0_11
; %bb.9:
Lloh4:
	adrp	x8, _STRparseoctal@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STRparseoctal@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_is_set
	cbz	x0, LBB0_11
; %bb.10:
	mov	w23, #8
	mov	w24, #1
	b	LBB0_12
LBB0_11:
	mov	w24, #0
	mov	w23, #10
LBB0_12:
	ldrsb	w0, [x19]
	bl	_Isdigit
	mov	w25, #0
	cbz	x0, LBB0_18
; %bb.13:
	mov	x26, x19
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x19, x26
	ldrsb	w0, [x19, #1]!
	ldrsb	w8, [x26]
	madd	w8, w25, w23, w8
	sub	w25, w8, #48
	bl	_Isdigit
	mov	x26, x19
	cbz	x0, LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cbz	w24, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrsb	w8, [x26]
	cmp	w8, #56
	b.lt	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_stderror
	b	LBB0_14
LBB0_18:
	ldrb	w8, [x19]
	cbz	w8, LBB0_20
; %bb.19:
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_stderror
LBB0_20:
	cmp	w22, #45
	cneg	w0, w25, eq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_BADNUM,4,2                 ; @ERR_BADNUM
	.comm	_STRparseoctal,4,2              ; @STRparseoctal
.subsections_via_symbols
