	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rip6_ctloutput                 ## -- Begin function rip6_ctloutput
	.p2align	4, 0x90
_rip6_ctloutput:                        ## @rip6_ctloutput
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	_IPPROTO_ICMPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.15:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_icmp6_ctloutput                ## TAILCALL
LBB0_1:
	movq	_IPPROTO_IPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.5:
	movl	16(%rsi), %ecx
	cmpl	$128, %ecx
	je	LBB0_10
## %bb.6:
	xorl	%eax, %eax
	cmpl	$129, %ecx
	jne	LBB0_14
## %bb.7:
	movq	8(%rsi), %rax
	leaq	-130(%rax), %rcx
	cmpq	$7, %rcx
	jae	LBB0_8
## %bb.16:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ip6_mrouter_get                ## TAILCALL
LBB0_2:
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.3:
	movq	8(%rsi), %rax
	movq	_SO_SETFIB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.4:
	movq	%rbx, %rdi
	callq	_sotoinpcb
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_INP_WLOCK
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_INP_WUNLOCK
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	8(%rsi), %rax
	leaq	-130(%rax), %rcx
	cmpq	$7, %rcx
	jae	LBB0_8
## %bb.11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ip6_mrouter_set                ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	cmpq	$137, %rax
	jne	LBB0_9
## %bb.12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ip6_raw_ctloutput              ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ip6_ctloutput                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_ICMPV6,8,3             ## @IPPROTO_ICMPV6
	.comm	_IPPROTO_IPV6,8,3               ## @IPPROTO_IPV6
	.comm	_SOL_SOCKET,8,3                 ## @SOL_SOCKET
	.comm	_SO_SETFIB,8,3                  ## @SO_SETFIB
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rip6_ctloutput                 ; -- Begin function rip6_ctloutput
	.p2align	2
_rip6_ctloutput:                        ; @rip6_ctloutput
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IPPROTO_ICMPV6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_ICMPV6@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_icmp6_ctloutput
LBB0_2:
Lloh3:
	adrp	x9, _IPPROTO_IPV6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x1, #16]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.5:
	ldr	x8, [x1, #8]
	sub	x9, x8, #130
	cmp	x9, #7
	b.hs	LBB0_15
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ip6_mrouter_get
LBB0_7:
Lloh6:
	adrp	x9, _SOL_SOCKET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOL_SOCKET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x1, #8]
Lloh9:
	adrp	x9, _SO_SETFIB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SO_SETFIB@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_sotoinpcb
	mov	x20, x0
	bl	_INP_WLOCK
	ldr	w8, [x19]
	str	w8, [x20]
	mov	x0, x20
	bl	_INP_WUNLOCK
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	x8, [x1, #8]
	sub	x9, x8, #130
	cmp	x9, #7
	b.hs	LBB0_15
; %bb.14:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ip6_mrouter_set
LBB0_15:
	mov	x0, x19
	cmp	x8, #137
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ip6_raw_ctloutput
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ip6_ctloutput
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_ICMPV6,8,3             ; @IPPROTO_ICMPV6
	.comm	_IPPROTO_IPV6,8,3               ; @IPPROTO_IPV6
	.comm	_SOL_SOCKET,8,3                 ; @SOL_SOCKET
	.comm	_SO_SETFIB,8,3                  ; @SO_SETFIB
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
.subsections_via_symbols
