	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DeleteIPv6DefaultRouterInRA    ## -- Begin function DeleteIPv6DefaultRouterInRA
	.p2align	4, 0x90
_DeleteIPv6DefaultRouterInRA:           ## @DeleteIPv6DefaultRouterInRA
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_L3_IPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_L4_ICMPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	40(%rbx), %rax
	movq	_ICMPV6_TYPE_ROUTER_ADVERTISEMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	48(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	$0, (%rax)
	movq	24(%rbx), %rcx
	movq	$0, (%rcx)
	movq	32(%rbx), %rsi
	leaq	4(%rsi), %rdi
	movq	_IP_PROTO_ICMPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %r8d
	xorl	%r9d, %r9d
	callq	_CalcChecksumForIPv6
	movq	24(%rbx), %rcx
	movq	%rax, (%rcx)
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L3_IPV6,8,3                    ## @L3_IPV6
	.comm	_L4_ICMPV6,8,3                  ## @L4_ICMPV6
	.comm	_ICMPV6_TYPE_ROUTER_ADVERTISEMENT,8,3 ## @ICMPV6_TYPE_ROUTER_ADVERTISEMENT
	.comm	_IP_PROTO_ICMPV6,4,2            ## @IP_PROTO_ICMPV6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DeleteIPv6DefaultRouterInRA    ; -- Begin function DeleteIPv6DefaultRouterInRA
	.p2align	2
_DeleteIPv6DefaultRouterInRA:           ; @DeleteIPv6DefaultRouterInRA
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _L3_IPV6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L3_IPV6@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _L4_ICMPV6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _L4_ICMPV6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #40]
Lloh6:
	adrp	x9, _ICMPV6_TYPE_ROUTER_ADVERTISEMENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICMPV6_TYPE_ROUTER_ADVERTISEMENT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #48]
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.4:
	str	xzr, [x8]
	ldp	x3, x1, [x19, #24]
	str	xzr, [x3]
	add	x0, x1, #4
Lloh9:
	adrp	x8, _IP_PROTO_ICMPV6@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IP_PROTO_ICMPV6@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldr	w4, [x19, #16]
	mov	w5, #0
	bl	_CalcChecksumForIPv6
	ldr	x8, [x19, #24]
	str	x0, [x8]
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_L3_IPV6,8,3                    ; @L3_IPV6
	.comm	_L4_ICMPV6,8,3                  ; @L4_ICMPV6
	.comm	_ICMPV6_TYPE_ROUTER_ADVERTISEMENT,8,3 ; @ICMPV6_TYPE_ROUTER_ADVERTISEMENT
	.comm	_IP_PROTO_ICMPV6,4,2            ; @IP_PROTO_ICMPV6
.subsections_via_symbols
