	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_adv
_send_adv:                              ## @send_adv
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	-64(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_ICMP_ROUTERADVERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movabsq	$8589934593, %rax               ## imm = 0x200000001
	movq	%rax, -64(%rbp)
	movq	_stopint@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	leal	(%rax,%rax,2), %edi
	callq	_htons
	movl	%eax, %r12d
LBB0_2:
	movl	%r12d, -40(%rbp)
	movl	8(%rbx), %edi
	callq	_UNSIGN_PREF
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_PREF
	movl	%eax, %edi
	callq	_SIGN_PREF
	movl	%eax, %edi
	callq	_htonl
	movq	-48(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movl	4(%rbx), %eax
	movq	-48(%rbp), %rcx
	movl	%eax, (%rcx)
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_in_cksum
	movl	%eax, -56(%rbp)
	movq	%r12, %rdi
	movl	$32, %esi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_send_rdisc
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICMP_ROUTERADVERT,4,2          ## @ICMP_ROUTERADVERT
	.comm	_stopint,8,3                    ## @stopint
	.no_dead_strip	_send_adv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function send_adv
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_send_adv:                              ; @send_adv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	w0, #0
Lloh0:
	adrp	x8, _ICMP_ROUTERADVERT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICMP_ROUTERADVERT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
Lloh5:
	adrp	x8, _stopint@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stopint@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	add	w0, w8, w8, lsl #1
	bl	_htons
LBB0_2:
	str	w0, [sp, #24]
	ldr	w0, [x21, #8]
	bl	_UNSIGN_PREF
	mov	x1, x21
	bl	_PREF
	bl	_SIGN_PREF
	bl	_htonl
	ldr	x8, [sp, #16]
	str	w0, [x8, #4]
	ldr	w8, [x21, #4]
	ldr	x9, [sp, #16]
	str	w8, [x9]
	mov	x0, sp
	mov	w1, #32
	bl	_in_cksum
	str	w0, [sp, #8]
	mov	x0, sp
	mov	w1, #32
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_send_rdisc
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ICMP_ROUTERADVERT,4,2          ; @ICMP_ROUTERADVERT
	.comm	_stopint,8,3                    ; @stopint
	.no_dead_strip	_send_adv
.subsections_via_symbols
