	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ospf_print_grace_lsa           ## -- Begin function ospf_print_grace_lsa
	.p2align	4, 0x90
_ospf_print_grace_lsa:                  ## @ospf_print_grace_lsa
	.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, -48(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_19
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%eax, %rdi
	callq	_ND_PRINT
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	3(%r13), %eax
	testl	%r13d, %r13d
	cmovnsl	%r13d, %eax
	andl	$-4, %eax
	movl	%r13d, %ecx
	subl	%eax, %ecx
	movl	$4, %eax
	subl	%ecx, %eax
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	addl	%r13d, %eax
	movslq	%eax, %rcx
	leaq	(%r14,%rcx,4), %r14
	subl	%eax, %ebx
	jle	LBB0_19
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	$4, %esi
	callq	_ND_TCHECK2
	cmpl	$3, %ebx
	jbe	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, %r12d
	leaq	8(%r14), %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, %r13d
	addl	$-4, %ebx
	movq	_lsa_opaque_grace_tlv_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	callq	_tok2str
	movslq	%r13d, %r15
	movq	%r15, %rdi
	callq	_ND_PRINT
	cmpl	%ebx, %r15d
	jg	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	je	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	je	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %r14
	movl	(%r14), %edi
	movl	%r13d, %esi
	callq	_ND_TCHECK2
	cmpl	$128, %r12d
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$130, %r12d
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %r12d
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$4, %r13d
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_EXTRACT_32BITS
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %r13d
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_lsa_opaque_grace_tlv_reason_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str.8(%rip), %rsi
	callq	_tok2str
	movl	(%r14), %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$4, %r13d
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ipaddr_string
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$1, (%rax)
	movl	$-1, %r15d
	jg	LBB0_3
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	leaq	L_.str.10(%rip), %rdx
	movl	%r13d, %ecx
	callq	_print_unknown_data
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_24
LBB0_19:
	xorl	%r15d, %r15d
	jmp	LBB0_24
LBB0_20:
	movl	%ebx, %edi
	jmp	LBB0_22
LBB0_21:
	movq	%r15, %rdi
LBB0_22:
	callq	_ND_PRINT
LBB0_23:
	movl	$-1, %r15d
LBB0_24:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lsa_opaque_grace_tlv_values,4,2 ## @lsa_opaque_grace_tlv_values
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"unknown"

	.comm	_lsa_opaque_grace_tlv_reason_values,4,2 ## @lsa_opaque_grace_tlv_reason_values
L_.str.8:                               ## @.str.8
	.asciz	"Unknown"

L_.str.10:                              ## @.str.10
	.asciz	"\n\t      "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ospf_print_grace_lsa           ; -- Begin function ospf_print_grace_lsa
	.p2align	2
_ospf_print_grace_lsa:                  ; @ospf_print_grace_lsa
	.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
	cmp	w2, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
	mov	w28, #4
Lloh0:
	adrp	x22, _lsa_opaque_grace_tlv_values@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lsa_opaque_grace_tlv_values@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str.2@PAGE
Lloh3:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh4:
	adrp	x21, l_.str.8@PAGE
Lloh5:
	add	x21, x21, l_.str.8@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x0, w0
	bl	_ND_PRINT
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	negs	w8, w24
	and	w8, w8, #0x3
	and	w9, w24, #0x3
	csneg	w8, w9, w8, mi
	sub	w9, w28, w8
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	add	w8, w8, w24
	sub	w23, w23, w8
	add	x25, x25, w8, sxtw #2
	cmp	w23, #1
	b.lt	LBB0_20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	mov	w1, #4
	bl	_ND_TCHECK2
	cmp	w23, #3
	b.ls	LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_EXTRACT_16BITS
	mov	x26, x0
	add	x0, x25, #8
	bl	_EXTRACT_16BITS
	mov	x27, x0
	sub	w23, w23, #4
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x26
	bl	_tok2str
	sxtw	x24, w27
	mov	x0, x24
	bl	_ND_PRINT
	cmp	w27, w23
	b.gt	LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #-1
	cbz	w26, LBB0_26
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w24, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25, #16]!
	mov	x1, x24
	bl	_ND_TCHECK2
	cmp	w26, #128
	b.eq	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w26, #130
	b.eq	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w26, #129
	b.ne	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w24, #4
	b.ne	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_EXTRACT_32BITS
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w24, #1
	b.ne	LBB0_23
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh6:
	adrp	x8, _lsa_opaque_grace_tlv_reason_values@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lsa_opaque_grace_tlv_reason_values@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w2, [x25]
	mov	x1, x21
	bl	_tok2str
	ldr	w0, [x25]
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w24, #4
	b.ne	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_ipaddr_string
	b	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_4
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x25
Lloh9:
	adrp	x2, l_.str.10@PAGE
Lloh10:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x3, x24
	bl	_print_unknown_data
	cbnz	w0, LBB0_4
	b	LBB0_25
LBB0_20:
	mov	w0, #0
	b	LBB0_26
LBB0_21:
	mov	w0, w23
	b	LBB0_24
LBB0_22:
	mov	x0, x23
	b	LBB0_24
LBB0_23:
	mov	x0, x24
LBB0_24:
	bl	_ND_PRINT
LBB0_25:
	mov	w0, #-1
LBB0_26:
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_lsa_opaque_grace_tlv_values,4,2 ; @lsa_opaque_grace_tlv_values
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"unknown"

	.comm	_lsa_opaque_grace_tlv_reason_values,4,2 ; @lsa_opaque_grace_tlv_reason_values
l_.str.8:                               ; @.str.8
	.asciz	"Unknown"

l_.str.10:                              ; @.str.10
	.asciz	"\n\t      "

.subsections_via_symbols
