	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmp_import_top
_snmp_import_top:                       ## @snmp_import_top
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movb	(%rsi), %al
	cmpb	$40, %al
	jne	LBB0_1
## %bb.16:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snmp_import_tree               ## TAILCALL
LBB0_1:
	movq	_TOK_TYPEDEF@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_gettoken
	movb	%al, (%rbx)
	movq	_TOK_STR@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_3
## %bb.4:
	movq	_nexttok@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_snmp_enumtc_init
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_gettoken
	movb	%al, (%rbx)
	movq	_TOK_ENUM@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpb	(%rcx), %al
	sete	%dl
	movl	%edx, (%r15)
	movb	(%rbx), %al
	movq	_TOK_BITS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpb	(%rcx), %al
	sete	%dl
	movl	%edx, 4(%r15)
	leaq	8(%r15), %rcx
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_parse_type
	movl	%eax, 12(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_snmp_enumtc_insert
	movb	$1, %al
	jmp	LBB0_15
LBB0_5:
	movq	_TOK_INCLUDE@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_12
## %bb.6:
	movq	%r14, %rdi
	callq	_gettoken
	movb	%al, (%rbx)
	movq	_TOK_FILENAME@GOTPCREL(%rip), %rcx
	movq	_nexttok@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	cmpb	(%rcx), %al
	jne	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_add_filename
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.9:
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	(%r15), %edi
	callq	_input_fopen
LBB0_10:
	movq	%r14, %rdi
	callq	_gettoken
	movb	%al, (%rbx)
	movb	$1, %al
	jmp	LBB0_15
LBB0_3:
	movq	_input@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_13
LBB0_12:
	movq	_nexttok@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_13
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
LBB0_13:
	callq	_warnx
LBB0_14:
	movb	$-1, %al
LBB0_15:
	movsbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOK_TYPEDEF,1,0                ## @TOK_TYPEDEF
	.comm	_TOK_STR,1,0                    ## @TOK_STR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type name expected after typedef - %s"

	.comm	_input,8,3                      ## @input
	.comm	_nexttok,4,2                    ## @nexttok
	.comm	_TOK_ENUM,1,0                   ## @TOK_ENUM
	.comm	_TOK_BITS,1,0                   ## @TOK_BITS
	.comm	_TOK_INCLUDE,1,0                ## @TOK_INCLUDE
	.comm	_TOK_FILENAME,1,0               ## @TOK_FILENAME
L_.str.1:                               ## @.str.1
	.asciz	"filename expected in include directive - %s"

L_.str.2:                               ## @.str.2
	.asciz	"'(' or 'typedef' expected - %s"

	.no_dead_strip	_snmp_import_top
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmp_import_top
_snmp_import_top:                       ; @snmp_import_top
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldrb	w8, [x1]
	cmp	w8, #40
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	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
	add	sp, sp, #64
	b	_snmp_import_tree
LBB0_2:
Lloh0:
	adrp	x9, _TOK_TYPEDEF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TOK_TYPEDEF@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_gettoken
	strb	w0, [x19]
Lloh2:
	adrp	x8, _TOK_STR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TOK_STR@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.ne	LBB0_11
; %bb.4:
Lloh4:
	adrp	x8, _nexttok@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nexttok@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_snmp_enumtc_init
	mov	x21, x0
	mov	x0, x20
	bl	_gettoken
	strb	w0, [x19]
Lloh7:
	adrp	x8, _TOK_ENUM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TOK_ENUM@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	cset	w8, eq
	str	w8, [x21]
Lloh9:
	adrp	x8, _TOK_BITS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TOK_BITS@GOTPAGEOFF]
	ldrb	w9, [x19]
	ldrb	w8, [x8]
	cmp	w9, w8
	cset	w8, eq
	str	w8, [x21, #4]
	add	x3, x21, #8
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_parse_type
	str	w0, [x21, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_snmp_enumtc_insert
	mov	w8, #1
	b	LBB0_16
LBB0_5:
Lloh11:
	adrp	x9, _TOK_INCLUDE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TOK_INCLUDE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.6:
	mov	x0, x20
	bl	_gettoken
Lloh13:
	adrp	x8, _TOK_FILENAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TOK_FILENAME@GOTPAGEOFF]
	strb	w0, [x19]
	ldrb	w8, [x8]
Lloh15:
	adrp	x21, _nexttok@GOTPAGE
Lloh16:
	ldr	x21, [x21, _nexttok@GOTPAGEOFF]
	ldr	w1, [x21]
	cmp	w8, w0, uxtb
	b.ne	LBB0_13
; %bb.7:
	mov	x0, x20
	mov	x2, #0
	mov	w3, #1
	bl	_add_filename
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.8:
	cbz	w0, LBB0_10
; %bb.9:
	ldr	w0, [x21]
	bl	_input_fopen
LBB0_10:
	mov	x0, x20
	bl	_gettoken
	strb	w0, [x19]
	mov	w8, #1
	b	LBB0_16
LBB0_11:
Lloh17:
	adrp	x8, _input@GOTPAGE
Lloh18:
	ldr	x8, [x8, _input@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh22:
	adrp	x8, _nexttok@GOTPAGE
Lloh23:
	ldr	x8, [x8, _nexttok@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	_warnx
LBB0_15:
	mov	w8, #255
LBB0_16:
	sxtb	w0, w8
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_TOK_TYPEDEF,1,0                ; @TOK_TYPEDEF
	.comm	_TOK_STR,1,0                    ; @TOK_STR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type name expected after typedef - %s"

	.comm	_input,8,3                      ; @input
	.comm	_nexttok,4,2                    ; @nexttok
	.comm	_TOK_ENUM,1,0                   ; @TOK_ENUM
	.comm	_TOK_BITS,1,0                   ; @TOK_BITS
	.comm	_TOK_INCLUDE,1,0                ; @TOK_INCLUDE
	.comm	_TOK_FILENAME,1,0               ; @TOK_FILENAME
l_.str.1:                               ; @.str.1
	.asciz	"filename expected in include directive - %s"

l_.str.2:                               ; @.str.2
	.asciz	"'(' or 'typedef' expected - %s"

	.no_dead_strip	_snmp_import_top
.subsections_via_symbols
