	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pr_rthdr
_pr_rthdr:                              ## @pr_rthdr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r15), %esi
	movl	4(%r15), %edx
	leal	8(,%rdx,8), %ecx
	movl	8(%r15), %r8d
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_printf
	movq	%r15, %rdi
	callq	_inet6_rth_segments
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	12(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	4(%r15), %eax
	leal	8(,%rax,8), %eax
	movslq	%eax, %r13
	xorl	%edi, %edi
	callq	_CMSG_SPACE
	addq	%r13, %rax
	cmpq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	jbe	LBB0_8
## %bb.2:
	movq	_IPV6_RTHDR_TYPE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_inet6_rth_space
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_IPV6_RTHDR_TYPE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_inet6_rth_space
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	callq	_CMSG_SPACE
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	subq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	addq	%rax, %r13
	subl	-56(%rbp), %esi                 ## 4-byte Folded Reload
	movslq	%esi, %rcx
	movq	%r13, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.6:
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	12(%r15), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_3:
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	notl	%eax
	movl	%r12d, %r13d
	addl	%eax, %r13d
	leaq	L_.str.4(%rip), %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_warnx
	movl	%r13d, %r12d
LBB0_8:
	testl	%r12d, %r12d
	jle	LBB0_16
## %bb.9:
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	L_.str.7(%rip), %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_printf
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%r13d
	cmpl	%r13d, %r12d
	je	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_inet6_rth_getaddr
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_inet_ntop
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edx
	callq	_strlcpy
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nxt %u, len %u (%d bytes), type %u, "

L_.str.1:                               ## @.str.1
	.asciz	"%d segments, "

L_.str.2:                               ## @.str.2
	.asciz	"%d left\n"

L_.str.3:                               ## @.str.3
	.asciz	"segments unknown, "

	.comm	_IPV6_RTHDR_TYPE_0,4,2          ## @IPV6_RTHDR_TYPE_0
L_.str.4:                               ## @.str.4
	.asciz	"segments truncated, showing only %d (total=%d)"

L_.str.5:                               ## @.str.5
	.asciz	"   [%d]<NULL>\n"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
L_.str.6:                               ## @.str.6
	.asciz	"?"

L_.str.7:                               ## @.str.7
	.asciz	"   [%d]%s\n"

	.no_dead_strip	_pr_rthdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pr_rthdr
_pr_rthdr:                              ; @pr_rthdr
	.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
	sub	sp, sp, #16
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldp	w9, w8, [x0]
	lsl	w10, w8, #3
	add	w10, w10, #8
	ldr	w11, [x0, #8]
	stp	x9, x8, [sp, #-32]!
	stp	x10, x11, [sp, #16]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	add	sp, sp, #32
	mov	x0, x19
	bl	_inet6_rth_segments
	tbnz	w0, #31, LBB0_11
; %bb.1:
	mov	x22, x0
	str	x22, [sp, #-16]!
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	ldr	w8, [x19, #12]
	str	x8, [sp, #-16]!
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	ldr	w8, [x19, #4]
	lsl	w8, w8, #3
	add	w8, w8, #8
	sxtw	x26, w8
	mov	w0, #0
	bl	_CMSG_SPACE
	add	x8, x0, x26
	cmp	x8, x23
	b.ls	LBB0_3
; %bb.2:
Lloh14:
	adrp	x25, _IPV6_RTHDR_TYPE_0@GOTPAGE
Lloh15:
	ldr	x25, [x25, _IPV6_RTHDR_TYPE_0@GOTPAGEOFF]
	ldr	w0, [x25]
	mov	w1, #0
	bl	_inet6_rth_space
	mov	x24, x0
	ldr	w0, [x25]
	mov	w1, #1
	bl	_inet6_rth_space
	mov	x25, x0
	mov	w0, #0
	bl	_CMSG_SPACE
	sub	x8, x26, x23
	add	x8, x8, x0
	sub	w9, w25, w24
	sxtw	x9, w9
	udiv	x8, x8, x9
	mvn	w8, w8
	add	w23, w22, w8
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x23
	mov	x2, x22
	bl	_warnx
	mov	x22, x23
LBB0_3:
	cmp	w22, #1
	b.lt	LBB0_12
; %bb.4:
	mov	w23, #0
Lloh18:
	adrp	x24, l_.str.5@PAGE
Lloh19:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh20:
	adrp	x27, _AF_INET6@GOTPAGE
Lloh21:
	ldr	x27, [x27, _AF_INET6@GOTPAGEOFF]
Lloh22:
	adrp	x25, l_.str.6@PAGE
Lloh23:
	add	x25, x25, l_.str.6@PAGEOFF
Lloh24:
	adrp	x26, l_.str.7@PAGE
Lloh25:
	add	x26, x26, l_.str.7@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	stp	x23, x21, [sp, #-16]!
	mov	x0, x26
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_printf
	add	sp, sp, #16
	add	w23, w23, #1
	cmp	w22, w23
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_inet6_rth_getaddr
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	ldr	w0, [x27]
	mov	x2, x21
	mov	x3, x20
	bl	_inet_ntop
	cbnz	w0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	bl	_strlcpy
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, x23
	str	x8, [sp, #-16]!
	mov	x0, x24
	b	LBB0_6
LBB0_11:
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #12]
	str	x8, [sp, #-16]!
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	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_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nxt %u, len %u (%d bytes), type %u, "

l_.str.1:                               ; @.str.1
	.asciz	"%d segments, "

l_.str.2:                               ; @.str.2
	.asciz	"%d left\n"

l_.str.3:                               ; @.str.3
	.asciz	"segments unknown, "

	.comm	_IPV6_RTHDR_TYPE_0,4,2          ; @IPV6_RTHDR_TYPE_0
l_.str.4:                               ; @.str.4
	.asciz	"segments truncated, showing only %d (total=%d)"

l_.str.5:                               ; @.str.5
	.asciz	"   [%d]<NULL>\n"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
l_.str.6:                               ; @.str.6
	.asciz	"?"

l_.str.7:                               ; @.str.7
	.asciz	"   [%d]%s\n"

	.no_dead_strip	_pr_rthdr
.subsections_via_symbols
