	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ospf_decode_lls
_ospf_decode_lls:                       ## @ospf_decode_lls
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movl	(%rsi), %ecx
	xorl	%eax, %eax
	cmpl	$129, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %ecx
	jne	LBB0_21
## %bb.2:
	movq	_OSPF_OPTION_L@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 28(%r15)
	jne	LBB0_4
	jmp	LBB0_21
LBB0_3:
	movq	_OSPF_OPTION_L@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 24(%r15)
	je	LBB0_21
LBB0_4:
	leaq	20(%r15), %rdi
	callq	_EXTRACT_16BITS
	movq	%rax, %r13
	movslq	%r13d, %rax
	leaq	(%r15,%rax,4), %rbx
	leaq	16(%r15), %rdi
	callq	_EXTRACT_16BITS
	movq	_OSPF_AUTH_MD5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	8(%r15), %rax
	movslq	12(%rax), %rax
	leaq	(%rbx,%rax,4), %rbx
	addl	%eax, %r13d
LBB0_6:
	cmpl	%r12d, %r13d
	jge	LBB0_7
## %bb.8:
	movslq	%r12d, %rax
	leaq	(%r15,%rax,4), %r15
	movl	(%rbx), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	movq	%rbx, %rdi
	callq	_EXTRACT_16BITS
	movslq	%eax, %rdi
	callq	_ND_PRINT
	leaq	8(%rbx), %r14
	movl	8(%rbx), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	movq	%r14, %rdi
	callq	_EXTRACT_16BITS
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movl	16(%rbx), %edi
	addq	$16, %rbx
	callq	_ND_TCHECK
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_ND_TCHECK2
	movq	%rbx, %rdi
	callq	_EXTRACT_32BITS
	movl	$20, %r12d
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	%eax, %rdi
	callq	_ND_PRINT
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	%r12d, %rax
	leaq	(%rbx,%rax,4), %rbx
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, %rbx
	jae	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rbx), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	movq	%rbx, %rdi
	callq	_EXTRACT_16BITS
	movq	%rax, %r13
	movq	_ospf_lls_tlv_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edx
	callq	_tok2str
	movslq	%r13d, %r14
	movq	%r14, %rdi
	callq	_ND_PRINT
	leaq	8(%rbx), %r12
	movl	8(%rbx), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	movq	%r12, %rdi
	callq	_EXTRACT_16BITS
	movq	%rax, %r12
	movslq	%r12d, %rdi
	callq	_ND_PRINT
	addq	$16, %rbx
	cmpl	$130, %r14d
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$131, %r13d
	jne	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$4, %r12d
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.5(%rip), %rdi
	callq	_ND_PRINT
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_ND_TCHECK2
	movq	%rbx, %rdi
	callq	_EXTRACT_32BITS
	movq	_ospf_lls_eo_options@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%eax, %edx
	callq	_bittok2str
	movl	$4, %r12d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$20, %r12d
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.8(%rip), %rdi
	callq	_ND_PRINT
	jmp	LBB0_17
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
	movl	$1, %eax
	jmp	LBB0_21
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSPF_OPTION_L,4,2              ## @OSPF_OPTION_L
	.comm	_OSPF_AUTH_MD5,8,3              ## @OSPF_AUTH_MD5
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\t[LLS truncated]"

	.comm	_ospf_lls_tlv_values,4,2        ## @ospf_lls_tlv_values
L_.str.4:                               ## @.str.4
	.asciz	"Unknown TLV"

L_.str.5:                               ## @.str.5
	.asciz	" [should be 4]"

	.comm	_ospf_lls_eo_options,4,2        ## @ospf_lls_eo_options
L_.str.7:                               ## @.str.7
	.asciz	"?"

L_.str.8:                               ## @.str.8
	.asciz	" [should be 20]"

	.no_dead_strip	_ospf_decode_lls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ospf_decode_lls
_ospf_decode_lls:                       ; @ospf_decode_lls
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	w8, [x1]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_20
; %bb.2:
	ldr	w8, [x20, #28]
	b	LBB0_4
LBB0_3:
	ldr	w8, [x20, #24]
LBB0_4:
Lloh0:
	adrp	x9, _OSPF_OPTION_L@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OSPF_OPTION_L@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.5:
	add	x0, x20, #20
	bl	_EXTRACT_16BITS
	mov	x22, x0
	lsl	x8, x0, #32
	add	x21, x20, x8, asr #30
	add	x0, x20, #16
	bl	_EXTRACT_16BITS
Lloh3:
	adrp	x8, _OSPF_AUTH_MD5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSPF_AUTH_MD5@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x20, #8]
	ldrsw	x8, [x8, #12]
	add	x21, x21, x8, lsl #2
	add	w22, w8, w22
LBB0_7:
	cmp	w22, w19
	b.ge	LBB0_22
; %bb.8:
	add	x26, x20, w19, sxtw #2
	ldr	w0, [x21]
	mov	w1, #2
	bl	_ND_TCHECK2
	mov	x0, x21
	bl	_EXTRACT_16BITS
	sxtw	x0, w0
	bl	_ND_PRINT
	mov	x19, x21
	ldr	w0, [x19, #8]!
	mov	w1, #2
	bl	_ND_TCHECK2
	mov	x0, x19
	bl	_EXTRACT_16BITS
	sxtw	x0, w0
	bl	_ND_PRINT
	ldr	w0, [x21, #16]!
	bl	_ND_TCHECK
	cmp	x21, x26
	b.hs	LBB0_20
; %bb.9:
Lloh6:
	adrp	x27, _ospf_lls_tlv_values@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ospf_lls_tlv_values@GOTPAGEOFF]
Lloh8:
	adrp	x19, l_.str.4@PAGE
Lloh9:
	add	x19, x19, l_.str.4@PAGEOFF
Lloh10:
	adrp	x20, l_.str.8@PAGE
Lloh11:
	add	x20, x20, l_.str.8@PAGEOFF
Lloh12:
	adrp	x28, _ospf_lls_eo_options@GOTPAGE
Lloh13:
	ldr	x28, [x28, _ospf_lls_eo_options@GOTPAGEOFF]
Lloh14:
	adrp	x22, l_.str.7@PAGE
Lloh15:
	add	x22, x22, l_.str.7@PAGEOFF
Lloh16:
	adrp	x23, l_.str.5@PAGE
Lloh17:
	add	x23, x23, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x21]
	mov	w1, #4
	bl	_ND_TCHECK2
	mov	x0, x21
	bl	_EXTRACT_32BITS
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w25, #20
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	sxtw	x0, w0
	bl	_ND_PRINT
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	lsl	x8, x25, #32
	add	x21, x21, x8, asr #30
	cmp	x21, x26
	b.hs	LBB0_20
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	w1, #2
	bl	_ND_TCHECK2
	mov	x0, x21
	bl	_EXTRACT_16BITS
	mov	x24, x0
	ldr	w0, [x27]
	mov	x1, x19
	mov	x2, x24
	bl	_tok2str
	sxtw	x0, w24
	bl	_ND_PRINT
	ldr	w0, [x21, #8]!
	mov	w1, #2
	bl	_ND_TCHECK2
	mov	x0, x21
	bl	_EXTRACT_16BITS
	mov	x25, x0
	sxtw	x0, w0
	bl	_ND_PRINT
	add	x21, x21, #8
	cmp	w24, #130
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w24, #131
	b.ne	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w25, #4
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	bl	_ND_PRINT
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x21]
	mov	w1, #4
	bl	_ND_TCHECK2
	mov	x0, x21
	bl	_EXTRACT_32BITS
	mov	x2, x0
	ldr	w0, [x28]
	mov	x1, x22
	bl	_bittok2str
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w25, #4
	b	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w25, #20
	b.eq	LBB0_10
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_ND_PRINT
	b	LBB0_10
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
	mov	w0, #1
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_OSPF_OPTION_L,4,2              ; @OSPF_OPTION_L
	.comm	_OSPF_AUTH_MD5,8,3              ; @OSPF_AUTH_MD5
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\t[LLS truncated]"

	.comm	_ospf_lls_tlv_values,4,2        ; @ospf_lls_tlv_values
l_.str.4:                               ; @.str.4
	.asciz	"Unknown TLV"

l_.str.5:                               ; @.str.5
	.asciz	" [should be 4]"

	.comm	_ospf_lls_eo_options,4,2        ; @ospf_lls_eo_options
l_.str.7:                               ; @.str.7
	.asciz	"?"

l_.str.8:                               ; @.str.8
	.asciz	" [should be 20]"

	.no_dead_strip	_ospf_decode_lls
.subsections_via_symbols
