	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function peer_refresh_interface
_peer_refresh_interface:                ## @peer_refresh_interface
	.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, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_select_peerinterface
	movq	%rax, %r15
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	addq	$12, %rdi
	callq	_stoa
LBB0_2:
	movq	%r14, %rdi
	callq	_stoa
	movslq	32(%rbx), %rsi
	movl	$4, %edi
	callq	_DPRINTF
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	leaq	12(%r15), %rdi
	callq	_stoa
	movl	$4, %edi
	movq	%rax, %rsi
	callq	_DPRINTF
	movq	_INT_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_6
## %bb.5:
	leaq	8(%r15), %rdi
	callq	_stoa
	movl	$4, %edi
	movq	%rax, %rsi
	callq	_DPRINTF
LBB0_6:
	movq	%r15, %rdi
	addq	$4, %rdi
	callq	_stoa
	movq	%rax, %rsi
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.5(%rip), %rsi
LBB0_7:
	movl	$4, %edi
	callq	_DPRINTF
	movq	24(%rbx), %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_set_peerdstadr
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	cmpq	%r12, %rax
	je	LBB0_12
## %bb.9:
	movq	_MDF_ACAST@GOTPCREL(%rip), %rax
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_12
## %bb.10:
	movq	_MODE_BROADCAST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_peer_clear
LBB0_12:
	movq	_MDF_BCAST@GOTPCREL(%rip), %rcx
	movl	(%rbx), %eax
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	24(%rbx), %rdi
	movq	%r14, %rsi
	callq	_enable_broadcast
	movl	(%rbx), %eax
LBB0_14:
	movq	_MDF_MCAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.16:
	movq	24(%rbx), %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enable_multicast_if            ## TAILCALL
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_BROADCAST,4,2              ## @INT_BROADCAST
	.section	__TEXT,__cstring,cstring_literals
L_.str.5:                               ## @.str.5
	.asciz	"<NONE>\n"

	.comm	_MDF_ACAST,4,2                  ## @MDF_ACAST
	.comm	_MODE_BROADCAST,8,3             ## @MODE_BROADCAST
L_.str.6:                               ## @.str.6
	.asciz	"XFAC"

	.comm	_MDF_BCAST,4,2                  ## @MDF_BCAST
	.comm	_MDF_MCAST,4,2                  ## @MDF_MCAST
	.no_dead_strip	_peer_refresh_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function peer_refresh_interface
_peer_refresh_interface:                ; @peer_refresh_interface
	.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
	mov	x20, x0
	add	x19, x0, #16
	mov	x1, x19
	mov	x2, #0
	bl	_select_peerinterface
	mov	x21, x0
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x8, #12
	bl	_stoa
LBB0_2:
	mov	x0, x19
	bl	_stoa
	ldrsw	x1, [x20, #32]
	mov	w0, #4
	bl	_DPRINTF
	cbz	x21, LBB0_6
; %bb.3:
	add	x0, x21, #12
	bl	_stoa
	mov	x1, x0
	mov	w0, #4
	bl	_DPRINTF
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _INT_BROADCAST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_BROADCAST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	add	x0, x21, #8
	bl	_stoa
	mov	x1, x0
	mov	w0, #4
	bl	_DPRINTF
LBB0_5:
	add	x0, x21, #4
	bl	_stoa
	mov	x1, x0
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x1, l_.str.5@PAGE
Lloh4:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_7:
	mov	w0, #4
	bl	_DPRINTF
	ldr	x22, [x20, #24]
	mov	x0, x20
	mov	x1, x21
	bl	_set_peerdstadr
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_16
; %bb.8:
	cmp	x8, x22
	b.eq	LBB0_12
; %bb.9:
Lloh5:
	adrp	x8, _MDF_ACAST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MDF_ACAST@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.10:
Lloh8:
	adrp	x8, _MODE_BROADCAST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MODE_BROADCAST@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
Lloh11:
	adrp	x1, l_.str.6@PAGE
Lloh12:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_peer_clear
LBB0_12:
Lloh13:
	adrp	x8, _MDF_BCAST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MDF_BCAST@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x8]
	ldr	w8, [x20]
	tst	w8, w9
	b.eq	LBB0_14
; %bb.13:
	ldr	x0, [x20, #24]
	mov	x1, x19
	bl	_enable_broadcast
	ldr	w8, [x20]
LBB0_14:
Lloh16:
	adrp	x9, _MDF_MCAST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MDF_MCAST@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_16
; %bb.15:
	ldr	x0, [x20, #24]
	mov	x1, x19
	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
	b	_enable_multicast_if
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_BROADCAST,4,2              ; @INT_BROADCAST
	.section	__TEXT,__cstring,cstring_literals
l_.str.5:                               ; @.str.5
	.asciz	"<NONE>\n"

	.comm	_MDF_ACAST,4,2                  ; @MDF_ACAST
	.comm	_MODE_BROADCAST,8,3             ; @MODE_BROADCAST
l_.str.6:                               ; @.str.6
	.asciz	"XFAC"

	.comm	_MDF_BCAST,4,2                  ; @MDF_BCAST
	.comm	_MDF_MCAST,4,2                  ; @MDF_MCAST
	.no_dead_strip	_peer_refresh_interface
.subsections_via_symbols
