	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ospf6_decode_v3_trailer
_ospf6_decode_v3_trailer:               ## @ospf6_decode_v3_trailer
	.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	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_OSPF_TYPE_HELLO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_OSPF6HDR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rsi,%rax,4), %r12
	movl	(%rsi,%rax,4), %edi
	callq	_ND_TCHECK
	movq	%r12, %rdi
	callq	_EXTRACT_32BITS
	movq	_OSPF6_OPTION_L@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%eax, (%rcx)
	setne	%bl
	jmp	LBB0_6
LBB0_2:
	movq	_OSPF_TYPE_DD@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	_OSPF6HDR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rsi,%rax,4), %r12
	movl	(%rsi,%rax,4), %edi
	callq	_ND_TCHECK
	movq	%r12, %rdi
	callq	_EXTRACT_32BITS
	movq	_OSPF6_OPTION_L@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	testl	%eax, (%rdx)
	setne	%cl
	orl	%ecx, %ebx
	jne	LBB0_4
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	xorl	%ecx, %ecx
	orl	%ecx, %ebx
	je	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_ospf6_print_lls
	testl	%eax, %eax
	js	LBB0_5
LBB0_8:
	movl	%eax, %ecx
	leaq	(%r15,%rcx,4), %rsi
	subl	%eax, %r13d
	movq	%r14, %rdi
	movl	%r13d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ospf6_decode_at                ## TAILCALL
LBB0_5:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSPF_TYPE_HELLO,8,3            ## @OSPF_TYPE_HELLO
	.comm	_OSPF6HDR_LEN,4,2               ## @OSPF6HDR_LEN
	.comm	_OSPF6_OPTION_L,4,2             ## @OSPF6_OPTION_L
	.comm	_OSPF_TYPE_DD,8,3               ## @OSPF_TYPE_DD
	.no_dead_strip	_ospf6_decode_v3_trailer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ospf6_decode_v3_trailer
_ospf6_decode_v3_trailer:               ; @ospf6_decode_v3_trailer
	.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, x3
	mov	x21, x2
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _OSPF_TYPE_HELLO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OSPF_TYPE_HELLO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _OSPF6HDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSPF6HDR_LEN@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x22, x1, x8, lsl #2
	ldr	w0, [x22]
	bl	_ND_TCHECK
	mov	x0, x22
	bl	_EXTRACT_32BITS
	mov	w9, #0
Lloh6:
	adrp	x8, _OSPF6_OPTION_L@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSPF6_OPTION_L@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	orr	w8, w9, w8
	cbnz	w8, LBB0_4
	b	LBB0_7
LBB0_2:
Lloh9:
	adrp	x9, _OSPF_TYPE_DD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _OSPF_TYPE_DD@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
Lloh12:
	adrp	x8, _OSPF6HDR_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OSPF6HDR_LEN@GOTPAGEOFF]
Lloh14:
	ldrsw	x8, [x8]
	add	x22, x1, x8, lsl #2
	ldr	w0, [x22]
	bl	_ND_TCHECK
	mov	x0, x22
	bl	_EXTRACT_32BITS
	mov	w8, #0
Lloh15:
	adrp	x9, _OSPF6_OPTION_L@GOTPAGE
Lloh16:
	ldr	x9, [x9, _OSPF6_OPTION_L@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w0
	cset	w9, ne
	orr	w8, w9, w8
	cbz	w8, LBB0_7
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_ospf6_print_lls
	tbz	w0, #31, LBB0_8
; %bb.5:
	mov	w0, #1
	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
LBB0_6:
	mov	w8, #0
	mov	w9, #0
	orr	w8, w9, w8
	cbnz	w8, LBB0_4
LBB0_7:
	mov	w0, #0
LBB0_8:
	add	x1, x21, w0, uxtw #2
	sub	w2, w19, w0
	mov	x0, x20
	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
	b	_ospf6_decode_at
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_OSPF_TYPE_HELLO,8,3            ; @OSPF_TYPE_HELLO
	.comm	_OSPF6HDR_LEN,4,2               ; @OSPF6HDR_LEN
	.comm	_OSPF6_OPTION_L,4,2             ; @OSPF6_OPTION_L
	.comm	_OSPF_TYPE_DD,8,3               ; @OSPF_TYPE_DD
	.no_dead_strip	_ospf6_decode_v3_trailer
.subsections_via_symbols
