	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function hid_init
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	10                              ## 0xa
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hid_init
	.p2align	4, 0x90
_hid_init:                              ## @hid_init
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	__PATH_HIDTABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	leaq	-160(%rbp), %rdi
	movl	$100, %esi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_43
## %bb.5:
	movl	$1, %r12d
	leaq	-159(%rbp), %r13
	leaq	-160(%rbp), %rbx
	xorl	%eax, %eax
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	movq	%r14, -304(%rbp)                ## 8-byte Spill
	movq	%r15, -296(%rbp)                ## 8-byte Spill
	jmp	LBB0_6
LBB0_38:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_pages@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_npages@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	leaq	(%rax,%rax,4), %r14
	leaq	(%rbx,%r14,8), %rax
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	movq	%r13, 16(%rbx,%r14,8)
	movl	-276(%rbp), %eax
	movl	%eax, 24(%rbx,%r14,8)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0]
	movups	%xmm0, (%rbx,%r14,8)
	movl	$40, %edi
	callq	_malloc
	movq	%rax, 32(%rbx,%r14,8)
	testq	%rax, %rax
	je	LBB0_39
LBB0_40:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-304(%rbp), %r14                ## 8-byte Reload
	leaq	-159(%rbp), %r13
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rbx
	movq	-296(%rbp), %r15                ## 8-byte Reload
LBB0_42:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r12d
	movq	%rbx, %rdi
	movl	$100, %esi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_43
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movb	-160(%rbp), %al
	testb	%al, %al
	je	LBB0_42
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$35, %al
	je	LBB0_42
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r15
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_9
	jmp	LBB0_41
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, -1(%rbx)
	je	LBB0_41
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rbx
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-272(%rbp), %r13
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$-1, -276(%rbp)
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-276(%rbp), %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$2, %eax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-276(%rbp), %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$2, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	callq	_errx
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	-272(%rbp), %al
	testb	%al, %al
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rbx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	movb	$95, (%rbx)
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_23
LBB0_19:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	cmpb	$46, (%rbx)
	je	LBB0_21
	jmp	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movsbl	-160(%rbp), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_32
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-288(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	movq	%r15, %rbx
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	callq	_errx
	movq	-288(%rbp), %rdi                ## 8-byte Reload
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rdi), %rsi
	cmpq	%rsi, (%rdi)
	movq	-296(%rbp), %r15                ## 8-byte Reload
	jb	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	$10, %rsi
	movq	%rsi, 8(%rdi)
	movq	-288(%rbp), %rax                ## 8-byte Reload
	movq	32(%rax), %rdi
	shll	$2, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	movq	-288(%rbp), %rdi                ## 8-byte Reload
	movq	%rax, 32(%rdi)
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	movq	-288(%rbp), %rdi                ## 8-byte Reload
LBB0_31:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rdi), %rax
	movq	32(%rdi), %rcx
	leaq	(%rax,%rax,4), %rdx
	movq	%r13, 16(%rcx,%rdx,8)
	movl	-276(%rbp), %esi
	movl	%esi, 24(%rcx,%rdx,8)
	incq	%rax
	movq	%rax, (%rdi)
	leaq	-159(%rbp), %r13
	jmp	LBB0_42
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_npagesmax@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_npages@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jl	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_pages@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	leal	5(%rax), %ecx
	movq	_npagesmax@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	leal	40(,%rax,8), %eax
	leal	(%rax,%rax,4), %esi
	callq	_realloc
	jmp	LBB0_36
LBB0_39:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_40
LBB0_34:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_npagesmax@GOTPCREL(%rip), %rax
	movl	$5, (%rax)
	movl	$200, %edi
	callq	_malloc
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_pages@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_38
LBB0_43:
	movq	%r15, %rdi
	callq	_fclose
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.44:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_HIDTABLE,8,3             ## @_PATH_HIDTABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	" * %[^\n]"

L_.str.3:                               ## @.str.3
	.asciz	" 0x%x %[^\n]"

L_.str.4:                               ## @.str.4
	.asciz	" %d %[^\n]"

L_.str.5:                               ## @.str.5
	.asciz	"file %s, line %d, syntax error"

L_.str.6:                               ## @.str.6
	.asciz	"strdup"

L_.str.7:                               ## @.str.7
	.asciz	"realloc"

	.comm	_npages,4,2                     ## @npages
	.comm	_npagesmax,4,2                  ## @npagesmax
	.comm	_pages,8,3                      ## @pages
L_.str.8:                               ## @.str.8
	.asciz	"alloc"

L_.str.9:                               ## @.str.9
	.asciz	"malloc"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function hid_init
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hid_init
	.p2align	2
_hid_init:                              ; @hid_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, __PATH_HIDTABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, __PATH_HIDTABLE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x19, x8, x0, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fopen
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	str	x19, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	add	x21, sp, #140
	add	x0, sp, #140
	mov	w1, #100
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_39
; %bb.3:
	mov	x22, #0
	add	x24, x21, #1
	mov	w21, #1
	add	x25, sp, #40
Lloh10:
	adrp	x26, _npages@GOTPAGE
Lloh11:
	ldr	x26, [x26, _npages@GOTPAGEOFF]
	mov	w23, #40
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	mov	w28, #95
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #32]
	ldr	x9, [x22]
	madd	x8, x9, x23, x8
	str	x27, [x8, #16]
	ldr	w10, [sp, #36]
	str	w10, [x8, #24]
	add	x8, x9, #1
	str	x8, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w21, w21, #1
	add	x0, sp, #140
	mov	w1, #100
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_39
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	ldrb	w8, [sp, #140]
	cbz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #35
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x24
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_isspace
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w8, [x27], #1
	cbnz	w8, LBB0_9
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldurb	w8, [x27, #-1]
	cbz	w8, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x25, [sp]
	add	x0, sp, #140
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #-1
	str	w8, [sp, #36]
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, sp, #36
	stp	x8, x25, [sp]
	add	x0, sp, #140
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sscanf
	cmp	w0, #2
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, sp, #36
	stp	x8, x25, [sp]
	add	x0, sp, #140
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sscanf
	cmp	w0, #2
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	bl	_errx
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [sp, #40]
	cbz	w8, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x27, sp, #40
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=2
	strb	w28, [x27]
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	ldrb	w8, [x27, #1]!
	cbz	w8, LBB0_23
LBB0_21:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_isspace
	cbnz	x0, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	ldrb	w8, [x27]
	cmp	w8, #46
	b.eq	LBB0_19
	b	LBB0_20
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #40
	bl	_strdup
	mov	x27, x0
	cbnz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_err
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsb	w0, [sp, #140]
	bl	_isspace
	cbz	x0, LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x22, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	bl	_errx
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x9, x8, [x22]
	cmp	x9, x8
	b.lo	LBB0_4
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, #10
	str	x8, [x22, #8]
	ldr	x0, [x22, #32]
	lsl	w1, w8, #2
	bl	_realloc
	str	x0, [x22, #32]
	cbnz	x0, LBB0_4
; %bb.30:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
	b	LBB0_4
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x26]
Lloh28:
	adrp	x8, _npagesmax@GOTPAGE
Lloh29:
	ldr	x8, [x8, _npagesmax@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w9, w8
	b.lt	LBB0_37
; %bb.32:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh31:
	adrp	x9, _pages@GOTPAGE
Lloh32:
	ldr	x9, [x9, _pages@GOTPAGEOFF]
Lloh33:
	ldr	x0, [x9]
	cbz	x0, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w8, #5
Lloh34:
	adrp	x9, _npagesmax@GOTPAGE
Lloh35:
	ldr	x9, [x9, _npagesmax@GOTPAGEOFF]
Lloh36:
	str	w8, [x9]
	add	w8, w8, w8, lsl #2
	lsl	w1, w8, #3
	bl	_realloc
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh37:
	adrp	x8, _npagesmax@GOTPAGE
Lloh38:
	ldr	x8, [x8, _npagesmax@GOTPAGEOFF]
	mov	w9, #5
Lloh39:
	str	w9, [x8]
	mov	w0, #200
	bl	_malloc
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh40:
	adrp	x8, _pages@GOTPAGE
Lloh41:
	ldr	x8, [x8, _pages@GOTPAGEOFF]
Lloh42:
	str	x0, [x8]
	cbnz	x0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
Lloh43:
	adrp	x1, l_.str.8@PAGE
Lloh44:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_err
LBB0_37:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh45:
	adrp	x8, _pages@GOTPAGE
Lloh46:
	ldr	x8, [x8, _pages@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	ldrsw	x9, [x26]
	add	w10, w9, #1
	str	w10, [x26]
	madd	x22, x9, x23, x8
	str	x27, [x22, #16]
	ldr	w8, [sp, #36]
	str	w8, [x22, #24]
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	str	q0, [x22]
	mov	w0, #40
	bl	_malloc
	str	x0, [x22, #32]
	cbnz	x0, LBB0_5
; %bb.38:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
Lloh48:
	adrp	x1, l_.str.9@PAGE
Lloh49:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_err
	b	LBB0_5
LBB0_39:
	mov	x0, x20
	bl	_fclose
	ldur	x8, [x29, #-96]
Lloh50:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh51:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.40:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_41:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_HIDTABLE,8,3             ; @_PATH_HIDTABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	" * %[^\n]"

l_.str.3:                               ; @.str.3
	.asciz	" 0x%x %[^\n]"

l_.str.4:                               ; @.str.4
	.asciz	" %d %[^\n]"

l_.str.5:                               ; @.str.5
	.asciz	"file %s, line %d, syntax error"

l_.str.6:                               ; @.str.6
	.asciz	"strdup"

l_.str.7:                               ; @.str.7
	.asciz	"realloc"

	.comm	_npages,4,2                     ; @npages
	.comm	_npagesmax,4,2                  ; @npagesmax
	.comm	_pages,8,3                      ; @pages
l_.str.8:                               ; @.str.8
	.asciz	"alloc"

l_.str.9:                               ; @.str.9
	.asciz	"malloc"

.subsections_via_symbols
