	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_ra_control                 ## -- Begin function ip6_ra_control
	.p2align	4, 0x90
_ip6_ra_control:                        ## @ip6_ra_control
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_SOCK_RAW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_inet_sk
	movq	(%rax), %rax
	movq	_IPPROTO_RAW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	testl	%r14d, %r14d
	js	LBB0_5
## %bb.6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kmalloc
	movq	%rax, %r15
	jmp	LBB0_7
LBB0_2:
	movq	_ENOPROTOOPT@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%r15d, %r15d
LBB0_7:
	movq	_ip6_ra_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	movq	_ip6_ra_chain@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.8:
	cmpq	%r12, 16(%rbx)
	je	LBB0_9
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%r12, 16(%rbx)
	jne	LBB0_15
## %bb.11:
	addq	$8, %rax
	testl	%r14d, %r14d
	jns	LBB0_13
LBB0_14:
	movq	8(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	_ip6_ra_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
	movq	%r12, %rdi
	callq	_sock_put
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_20
LBB0_9:
	movq	_ip6_ra_chain@GOTPCREL(%rip), %rax
	testl	%r14d, %r14d
	js	LBB0_14
LBB0_13:
	movq	_ip6_ra_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
	movq	%r15, %rdi
	callq	_kfree
	movq	_EADDRINUSE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_16:
	addq	$8, %rax
LBB0_17:
	testq	%r15, %r15
	je	LBB0_18
## %bb.19:
	movq	%r12, 16(%r15)
	movl	%r14d, (%r15)
	movq	$0, 8(%r15)
	movq	%r15, (%rax)
	movq	%r12, %rdi
	callq	_sock_hold
	movq	_ip6_ra_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
LBB0_20:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_18:
	movq	_ip6_ra_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_RAW,8,3                   ## @SOCK_RAW
	.comm	_IPPROTO_RAW,8,3                ## @IPPROTO_RAW
	.comm	_ENOPROTOOPT,4,2                ## @ENOPROTOOPT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ip6_ra_lock,4,2                ## @ip6_ra_lock
	.comm	_ip6_ra_chain,8,3               ## @ip6_ra_chain
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_ra_control                 ; -- Begin function ip6_ra_control
	.p2align	2
_ip6_ra_control:                        ; @ip6_ra_control
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SOCK_RAW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_RAW@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_inet_sk
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _IPPROTO_RAW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_RAW@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	tbnz	w20, #31, LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kmalloc
	mov	x21, x0
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, _ENOPROTOOPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOPROTOOPT@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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_7:
	mov	x21, #0
LBB0_8:
Lloh11:
	adrp	x0, _ip6_ra_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _ip6_ra_lock@GOTPAGEOFF]
	bl	_write_lock_bh
Lloh13:
	adrp	x8, _ip6_ra_chain@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ip6_ra_chain@GOTPAGEOFF]
	ldr	x22, [x8]
	cbz	x22, LBB0_17
; %bb.9:
	ldr	x8, [x22, #16]
	cmp	x8, x19
	b.eq	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x8, x22
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x22, #16]
	cmp	x9, x19
	b.ne	LBB0_10
; %bb.12:
	add	x8, x8, #8
	tbz	w20, #31, LBB0_15
LBB0_13:
	ldr	x9, [x22, #8]
	str	x9, [x8]
Lloh15:
	adrp	x0, _ip6_ra_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _ip6_ra_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
	mov	x0, x19
	bl	_sock_put
	mov	x0, x22
	bl	_kfree
	b	LBB0_19
LBB0_14:
Lloh17:
	adrp	x8, _ip6_ra_chain@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ip6_ra_chain@GOTPAGEOFF]
	tbnz	w20, #31, LBB0_13
LBB0_15:
Lloh19:
	adrp	x0, _ip6_ra_lock@GOTPAGE
Lloh20:
	ldr	x0, [x0, _ip6_ra_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
	mov	x0, x21
	bl	_kfree
Lloh21:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
	b	LBB0_5
LBB0_16:
	add	x8, x8, #8
LBB0_17:
	cbz	x21, LBB0_20
; %bb.18:
	str	w20, [x21]
	stp	xzr, x19, [x21, #8]
	str	x21, [x8]
	mov	x0, x19
	bl	_sock_hold
Lloh23:
	adrp	x0, _ip6_ra_lock@GOTPAGE
Lloh24:
	ldr	x0, [x0, _ip6_ra_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
LBB0_19:
	mov	w0, #0
	b	LBB0_6
LBB0_20:
Lloh25:
	adrp	x0, _ip6_ra_lock@GOTPAGE
Lloh26:
	ldr	x0, [x0, _ip6_ra_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
Lloh27:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_RAW,8,3                   ; @SOCK_RAW
	.comm	_IPPROTO_RAW,8,3                ; @IPPROTO_RAW
	.comm	_ENOPROTOOPT,4,2                ; @ENOPROTOOPT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ip6_ra_lock,4,2                ; @ip6_ra_lock
	.comm	_ip6_ra_chain,8,3               ; @ip6_ra_chain
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
.subsections_via_symbols
