	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pr_ip6opt
_pr_ip6opt:                             ## @pr_ip6opt
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	leal	8(,%rdx,8), %eax
	movslq	%eax, %r15
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_printf
	xorl	%edi, %edi
	callq	_CMSG_SPACE
	addq	%r15, %rax
	cmpq	%rbx, %rax
	jbe	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_CMSG_SPACE
	subq	%rax, %rbx
	movq	%rbx, %rsi
	shrq	$3, %rsi
	decl	%esi
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_warnx
	movq	%rbx, %r15
LBB0_2:
	leaq	-44(%rbp), %rcx
	leaq	-72(%rbp), %r8
	leaq	-56(%rbp), %r9
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_inet6_opt_next
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.3:
	movl	%eax, %ebx
	leaq	-72(%rbp), %r13
	leaq	-56(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	leaq	-60(%rbp), %rdx
	movl	$4, %ecx
	callq	_inet6_opt_get_val
	movl	-60(%rbp), %edi
	callq	_ntohl
	leaq	L_.str.2(%rip), %rdi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	leaq	-44(%rbp), %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_inet6_opt_next
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %esi
	cmpl	$128, %esi
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %esi
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	leaq	-64(%rbp), %rdx
	movl	$4, %ecx
	callq	_inet6_opt_get_val
	movl	-64(%rbp), %edi
	callq	_ntohs
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_7
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nxt %u, len %u (%lu bytes)\n"

L_.str.1:                               ## @.str.1
	.asciz	"options truncated, showing only %u (total=%u)"

L_.str.2:                               ## @.str.2
	.asciz	"    Jumbo Payload Opt: Length %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"    Router Alert Opt: Type %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"    Received Opt %u len %lu\n"

	.no_dead_strip	_pr_ip6opt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pr_ip6opt
_pr_ip6opt:                             ; @pr_ip6opt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x1
	mov	x19, x0
	ldp	w8, w1, [x0]
	lsl	w9, w8, #3
	add	w9, w9, #8
	sxtw	x20, w9
	stp	x8, x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #0
	bl	_CMSG_SPACE
	add	x8, x0, x20
	cmp	x8, x21
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_CMSG_SPACE
	sub	x20, x21, x0
	lsr	x8, x20, #3
	sub	w1, w8, #1
	ldr	w2, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
LBB0_2:
	add	x3, sp, #44
	add	x4, sp, #32
	add	x5, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_inet6_opt_next
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.3:
	mov	x21, x0
Lloh4:
	adrp	x22, l_.str.3@PAGE
Lloh5:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh6:
	adrp	x23, l_.str.2@PAGE
Lloh7:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh8:
	adrp	x24, l_.str.4@PAGE
Lloh9:
	add	x24, x24, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
	str	x8, [sp]
	mov	x0, x24
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_printf
	add	x3, sp, #44
	add	x4, sp, #32
	add	x5, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_inet6_opt_next
	mov	x21, x0
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [sp, #44]
	cmp	w1, #128
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
	add	x2, sp, #16
	mov	x1, #0
	mov	w3, #4
	bl	_inet6_opt_get_val
	ldr	w0, [sp, #16]
	bl	_ntohl
	mov	x1, x0
	mov	x0, x23
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
	add	x2, sp, #20
	mov	x1, #0
	mov	w3, #4
	bl	_inet6_opt_get_val
	ldr	w0, [sp, #20]
	bl	_ntohs
	mov	x1, x0
	mov	x0, x22
	b	LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nxt %u, len %u (%lu bytes)\n"

l_.str.1:                               ; @.str.1
	.asciz	"options truncated, showing only %u (total=%u)"

l_.str.2:                               ; @.str.2
	.asciz	"    Jumbo Payload Opt: Length %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"    Router Alert Opt: Type %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"    Received Opt %u len %lu\n"

	.no_dead_strip	_pr_ip6opt
.subsections_via_symbols
