	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup_proto
_lookup_proto:                          ## @lookup_proto
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leal	-130(%rdx), %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.5:
	movq	%r15, %rdi
	callq	_pcap_nametoproto
	movl	%eax, %ebx
	movq	_PROTO_UNDEF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_18
## %bb.6:
	leaq	L_.str(%rip), %rsi
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_bpf_error
	jmp	LBB0_18
LBB0_1:
	cmpl	$128, %edx
	je	LBB0_8
## %bb.2:
	cmpl	$129, %edx
	jne	LBB0_16
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_bpf_error
                                        ## implicit-def: $ebx
	jmp	LBB0_18
LBB0_8:
	movq	%r15, %rdi
	callq	_pcap_nametoeproto
	movl	%eax, %ebx
	movq	_PROTO_UNDEF@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_18
## %bb.9:
	movq	%r15, %rdi
	callq	_pcap_nametollc
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	jne	LBB0_18
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_16:
	movq	_PROTO_UNDEF@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_4:
	movq	_ISO9542_ESIS@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_ISO10589_ISIS@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_ISO8473_CLNP@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROTO_UNDEF,4,2                ## @PROTO_UNDEF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown ip proto '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"unknown ether proto '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"esis"

	.comm	_ISO9542_ESIS,4,2               ## @ISO9542_ESIS
L_.str.3:                               ## @.str.3
	.asciz	"isis"

	.comm	_ISO10589_ISIS,4,2              ## @ISO10589_ISIS
L_.str.4:                               ## @.str.4
	.asciz	"clnp"

	.comm	_ISO8473_CLNP,4,2               ## @ISO8473_CLNP
L_.str.5:                               ## @.str.5
	.asciz	"unknown osi proto '%s'"

	.no_dead_strip	_lookup_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup_proto
_lookup_proto:                          ; @lookup_proto
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	w8, w2, #130
	cmp	w8, #3
	b.hs	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_pcap_nametoproto
	mov	x21, x0
Lloh0:
	adrp	x8, _PROTO_UNDEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROTO_UNDEF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	mov	x0, x20
	mov	x2, x19
	bl	_bpf_error
	b	LBB0_18
LBB0_4:
	cmp	w2, #128
	b.eq	LBB0_10
; %bb.5:
	cmp	w2, #129
	b.ne	LBB0_13
; %bb.6:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.7:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.8:
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.9:
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_bpf_error
                                        ; implicit-def: $w21
	b	LBB0_18
LBB0_10:
	mov	x0, x19
	bl	_pcap_nametoeproto
	mov	x21, x0
Lloh13:
	adrp	x22, _PROTO_UNDEF@GOTPAGE
Lloh14:
	ldr	x22, [x22, _PROTO_UNDEF@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.11:
	mov	x0, x19
	bl	_pcap_nametollc
	mov	x21, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.12:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_13:
Lloh17:
	adrp	x8, _PROTO_UNDEF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PROTO_UNDEF@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
Lloh19:
	adrp	x8, _ISO9542_ESIS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ISO9542_ESIS@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
Lloh21:
	adrp	x8, _ISO10589_ISIS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ISO10589_ISIS@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh23:
	adrp	x8, _ISO8473_CLNP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ISO8473_CLNP@GOTPAGEOFF]
LBB0_17:
	ldr	w21, [x8]
LBB0_18:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PROTO_UNDEF,4,2                ; @PROTO_UNDEF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown ip proto '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"unknown ether proto '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"esis"

	.comm	_ISO9542_ESIS,4,2               ; @ISO9542_ESIS
l_.str.3:                               ; @.str.3
	.asciz	"isis"

	.comm	_ISO10589_ISIS,4,2              ; @ISO10589_ISIS
l_.str.4:                               ; @.str.4
	.asciz	"clnp"

	.comm	_ISO8473_CLNP,4,2               ; @ISO8473_CLNP
l_.str.5:                               ; @.str.5
	.asciz	"unknown osi proto '%s'"

	.no_dead_strip	_lookup_proto
.subsections_via_symbols
