	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpnet_connection_activity
_xpnet_connection_activity:             ## @xpnet_connection_activity
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	testw	%r12w, %r12w
	sets	%al
	movq	_xp_max_npartitions@GOTPCREL(%rip), %r13
	cmpw	%r12w, (%r13)
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%edi, %ebx
	setle	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_DBUG_ON
	movq	_XPC_NET_CHANNEL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r15d, (%rax)
	setne	%dil
	callq	_DBUG_ON
	cmpl	$129, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_4
## %bb.2:
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_DBUG_ON
	movswl	%r12w, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xpnet_receive                  ## TAILCALL
LBB0_3:
	movq	_xpnet_broadcast_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	_xpnet_broadcast_partitions@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movswl	%r12w, %ebx
	movl	%ebx, %edi
	callq	___set_bit
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	_xpnet_device@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_netif_carrier_on
	movq	_xpnet@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_4:
	movq	_xpnet_broadcast_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	_xpnet_broadcast_partitions@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movswl	%r12w, %ebx
	movl	%ebx, %edi
	callq	___clear_bit
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	(%r15), %rdi
	movswl	(%r13), %esi
	callq	_bitmap_empty
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_xpnet_device@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_netif_carrier_off
LBB0_6:
	movq	_xpnet@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_xpnet_device@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xp_max_npartitions,2,1         ## @xp_max_npartitions
	.comm	_XPC_NET_CHANNEL,4,2            ## @XPC_NET_CHANNEL
	.comm	_xpnet_broadcast_lock,4,2       ## @xpnet_broadcast_lock
	.comm	_xpnet_broadcast_partitions,8,3 ## @xpnet_broadcast_partitions
	.comm	_xpnet_device,8,3               ## @xpnet_device
	.comm	_xpnet,4,2                      ## @xpnet
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s connected to partition %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s disconnected from partition %d\n"

	.no_dead_strip	_xpnet_connection_activity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpnet_connection_activity
_xpnet_connection_activity:             ; @xpnet_connection_activity
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	cmp	w1, #0
Lloh0:
	adrp	x23, _xp_max_npartitions@GOTPAGE
Lloh1:
	ldr	x23, [x23, _xp_max_npartitions@GOTPAGEOFF]
	ldrsh	w8, [x23]
	ccmp	w8, w1, #4, ge
	cset	w0, le
	bl	_DBUG_ON
Lloh2:
	adrp	x8, _XPC_NET_CHANNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XPC_NET_CHANNEL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	cset	w0, ne
	bl	_DBUG_ON
	cmp	w22, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w22, #128
	b.ne	LBB0_4
; %bb.2:
	cmp	x20, #0
	cset	w0, eq
	bl	_DBUG_ON
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xpnet_receive
LBB0_3:
Lloh5:
	adrp	x20, _xpnet_broadcast_lock@GOTPAGE
Lloh6:
	ldr	x20, [x20, _xpnet_broadcast_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_bh
Lloh7:
	adrp	x8, _xpnet_broadcast_partitions@GOTPAGE
Lloh8:
	ldr	x8, [x8, _xpnet_broadcast_partitions@GOTPAGEOFF]
Lloh9:
	ldr	x1, [x8]
	mov	x0, x19
	bl	___set_bit
	mov	x0, x20
	bl	_spin_unlock_bh
Lloh10:
	adrp	x20, _xpnet_device@GOTPAGE
Lloh11:
	ldr	x20, [x20, _xpnet_device@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_netif_carrier_on
Lloh12:
	adrp	x8, _xpnet@GOTPAGE
Lloh13:
	ldr	x8, [x8, _xpnet@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh17:
	adrp	x20, _xpnet_broadcast_lock@GOTPAGE
Lloh18:
	ldr	x20, [x20, _xpnet_broadcast_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_bh
Lloh19:
	adrp	x21, _xpnet_broadcast_partitions@GOTPAGE
Lloh20:
	ldr	x21, [x21, _xpnet_broadcast_partitions@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	bl	___clear_bit
	mov	x0, x20
	bl	_spin_unlock_bh
	ldr	x0, [x21]
	ldrsh	w1, [x23]
	bl	_bitmap_empty
Lloh21:
	adrp	x20, _xpnet_device@GOTPAGE
Lloh22:
	ldr	x20, [x20, _xpnet_device@GOTPAGEOFF]
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x0, [x20]
	bl	_netif_carrier_off
LBB0_6:
Lloh23:
	adrp	x8, _xpnet@GOTPAGE
Lloh24:
	ldr	x8, [x8, _xpnet@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_xp_max_npartitions,2,1         ; @xp_max_npartitions
	.comm	_XPC_NET_CHANNEL,4,2            ; @XPC_NET_CHANNEL
	.comm	_xpnet_broadcast_lock,4,2       ; @xpnet_broadcast_lock
	.comm	_xpnet_broadcast_partitions,8,3 ; @xpnet_broadcast_partitions
	.comm	_xpnet_device,8,3               ; @xpnet_device
	.comm	_xpnet,4,2                      ; @xpnet
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s connected to partition %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s disconnected from partition %d\n"

	.no_dead_strip	_xpnet_connection_activity
.subsections_via_symbols
